naftiko: 1.0.0-alpha2 info: label: Sentry Replays API — Recording Segments description: 'Sentry Replays API — Recording Segments. 2 operations. Lead operation: Sentry List recording segments. Self-contained Naftiko capability covering one Sentry System business surface.' tags: - Sentry System - Recording Segments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SENTRY_SYSTEM_API_KEY: SENTRY_SYSTEM_API_KEY capability: consumes: - type: http namespace: sentry-replays-recording-segments baseUri: https://sentry.io/api/0 description: Sentry Replays API — Recording Segments business capability. Self-contained, no shared references. resources: - name: projects-organization_id_or_slug-project_id_or_slug-replays-replay_id-recording- path: /projects/{organization_id_or_slug}/{project_id_or_slug}/replays/{replay_id}/recording-segments/ operations: - name: listrecordingsegments method: GET description: Sentry List recording segments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cursor in: query type: string description: Pagination cursor. - name: projects-organization_id_or_slug-project_id_or_slug-replays-replay_id-recording- path: /projects/{organization_id_or_slug}/{project_id_or_slug}/replays/{replay_id}/recording-segments/{segment_id}/ operations: - name: retrieverecordingsegment method: GET description: Sentry Retrieve a recording segment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: segment_id in: path type: integer description: The ID of the recording segment. required: true authentication: type: bearer token: '{{env.SENTRY_SYSTEM_API_KEY}}' exposes: - type: rest namespace: sentry-replays-recording-segments-rest port: 8080 description: REST adapter for Sentry Replays API — Recording Segments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{organization-id-or-slug}/{project-id-or-slug}/replays/{replay-id}/recording-segments name: projects-organization-id-or-slug-project-id-or-slug-replays-replay-id-recording description: REST surface for projects-organization_id_or_slug-project_id_or_slug-replays-replay_id-recording-. operations: - method: GET name: listrecordingsegments description: Sentry List recording segments call: sentry-replays-recording-segments.listrecordingsegments with: cursor: rest.cursor outputParameters: - type: object mapping: $. - path: /v1/projects/{organization-id-or-slug}/{project-id-or-slug}/replays/{replay-id}/recording-segments/{segment-id} name: projects-organization-id-or-slug-project-id-or-slug-replays-replay-id-recording description: REST surface for projects-organization_id_or_slug-project_id_or_slug-replays-replay_id-recording-. operations: - method: GET name: retrieverecordingsegment description: Sentry Retrieve a recording segment call: sentry-replays-recording-segments.retrieverecordingsegment with: segment_id: rest.segment_id outputParameters: - type: object mapping: $. - type: mcp namespace: sentry-replays-recording-segments-mcp port: 9090 transport: http description: MCP adapter for Sentry Replays API — Recording Segments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sentry-list-recording-segments description: Sentry List recording segments hints: readOnly: true destructive: false idempotent: true call: sentry-replays-recording-segments.listrecordingsegments with: cursor: tools.cursor outputParameters: - type: object mapping: $. - name: sentry-retrieve-recording-segment description: Sentry Retrieve a recording segment hints: readOnly: true destructive: false idempotent: true call: sentry-replays-recording-segments.retrieverecordingsegment with: segment_id: tools.segment_id outputParameters: - type: object mapping: $.