naftiko: 1.0.0-alpha2 info: label: PostHog API — session_group_summaries description: 'PostHog API — session_group_summaries. 6 operations. Lead operation: session_group_summaries. Self-contained Naftiko capability covering one Posthog business surface.' tags: - Posthog - session_group_summaries created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POSTHOG_API_KEY: POSTHOG_API_KEY capability: consumes: - type: http namespace: posthog-session-group-summaries baseUri: '' description: PostHog API — session_group_summaries business capability. Self-contained, no shared references. resources: - name: api-projects-project_id-session_group_summaries path: /api/projects/{project_id}/session_group_summaries/ operations: - name: sessiongroupsummarieslist method: GET description: API for retrieving and managing stored group session summaries. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: sessiongroupsummariescreate method: POST description: API for retrieving and managing stored group session summaries. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-projects-project_id-session_group_summaries-id path: /api/projects/{project_id}/session_group_summaries/{id}/ operations: - name: sessiongroupsummariesretrieve method: GET description: API for retrieving and managing stored group session summaries. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this session group summary. required: true - name: sessiongroupsummariesupdate method: PUT description: API for retrieving and managing stored group session summaries. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this session group summary. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: sessiongroupsummariespartialupdate method: PATCH description: API for retrieving and managing stored group session summaries. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this session group summary. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: sessiongroupsummariesdestroy method: DELETE description: API for retrieving and managing stored group session summaries. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this session group summary. required: true authentication: type: bearer token: '{{env.POSTHOG_API_KEY}}' exposes: - type: rest namespace: posthog-session-group-summaries-rest port: 8080 description: REST adapter for PostHog API — session_group_summaries. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/projects/{project-id}/session-group-summaries name: api-projects-project-id-session-group-summaries description: REST surface for api-projects-project_id-session_group_summaries. operations: - method: GET name: sessiongroupsummarieslist description: API for retrieving and managing stored group session summaries. call: posthog-session-group-summaries.sessiongroupsummarieslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: sessiongroupsummariescreate description: API for retrieving and managing stored group session summaries. call: posthog-session-group-summaries.sessiongroupsummariescreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/session-group-summaries/{id} name: api-projects-project-id-session-group-summaries-id description: REST surface for api-projects-project_id-session_group_summaries-id. operations: - method: GET name: sessiongroupsummariesretrieve description: API for retrieving and managing stored group session summaries. call: posthog-session-group-summaries.sessiongroupsummariesretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: sessiongroupsummariesupdate description: API for retrieving and managing stored group session summaries. call: posthog-session-group-summaries.sessiongroupsummariesupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: sessiongroupsummariespartialupdate description: API for retrieving and managing stored group session summaries. call: posthog-session-group-summaries.sessiongroupsummariespartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: sessiongroupsummariesdestroy description: API for retrieving and managing stored group session summaries. call: posthog-session-group-summaries.sessiongroupsummariesdestroy with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: posthog-session-group-summaries-mcp port: 9090 transport: http description: MCP adapter for PostHog API — session_group_summaries. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: api-retrieving-and-managing-stored description: API for retrieving and managing stored group session summaries. hints: readOnly: true destructive: false idempotent: true call: posthog-session-group-summaries.sessiongroupsummarieslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: api-retrieving-and-managing-stored-2 description: API for retrieving and managing stored group session summaries. hints: readOnly: false destructive: false idempotent: false call: posthog-session-group-summaries.sessiongroupsummariescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: api-retrieving-and-managing-stored-3 description: API for retrieving and managing stored group session summaries. hints: readOnly: true destructive: false idempotent: true call: posthog-session-group-summaries.sessiongroupsummariesretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: api-retrieving-and-managing-stored-4 description: API for retrieving and managing stored group session summaries. hints: readOnly: false destructive: false idempotent: true call: posthog-session-group-summaries.sessiongroupsummariesupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: api-retrieving-and-managing-stored-5 description: API for retrieving and managing stored group session summaries. hints: readOnly: false destructive: false idempotent: true call: posthog-session-group-summaries.sessiongroupsummariespartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: api-retrieving-and-managing-stored-6 description: API for retrieving and managing stored group session summaries. hints: readOnly: false destructive: true idempotent: true call: posthog-session-group-summaries.sessiongroupsummariesdestroy with: id: tools.id outputParameters: - type: object mapping: $.