naftiko: 1.0.0-alpha2 info: label: ElevenLabs Studio API — Chapters description: 'ElevenLabs Studio API — Chapters. 3 operations. Lead operation: List chapters. Self-contained Naftiko capability covering one Elevenlabs business surface.' tags: - Elevenlabs - Chapters created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ELEVENLABS_API_KEY: ELEVENLABS_API_KEY capability: consumes: - type: http namespace: studio-chapters baseUri: https://api.elevenlabs.io description: ElevenLabs Studio API — Chapters business capability. Self-contained, no shared references. resources: - name: v1-studio-projects-project_id-chapters path: /v1/studio/projects/{project_id}/chapters operations: - name: listchapters method: GET description: List chapters outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-studio-projects-project_id-chapters-chapter_id path: /v1/studio/projects/{project_id}/chapters/{chapter_id} operations: - name: getchapter method: GET description: Get chapter outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletechapter method: DELETE description: Delete chapter outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: xi-api-key value: '{{env.ELEVENLABS_API_KEY}}' placement: header exposes: - type: rest namespace: studio-chapters-rest port: 8080 description: REST adapter for ElevenLabs Studio API — Chapters. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/studio/projects/{project-id}/chapters name: v1-studio-projects-project-id-chapters description: REST surface for v1-studio-projects-project_id-chapters. operations: - method: GET name: listchapters description: List chapters call: studio-chapters.listchapters outputParameters: - type: object mapping: $. - path: /v1/v1/studio/projects/{project-id}/chapters/{chapter-id} name: v1-studio-projects-project-id-chapters-chapter-id description: REST surface for v1-studio-projects-project_id-chapters-chapter_id. operations: - method: GET name: getchapter description: Get chapter call: studio-chapters.getchapter outputParameters: - type: object mapping: $. - method: DELETE name: deletechapter description: Delete chapter call: studio-chapters.deletechapter outputParameters: - type: object mapping: $. - type: mcp namespace: studio-chapters-mcp port: 9090 transport: http description: MCP adapter for ElevenLabs Studio API — Chapters. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-chapters description: List chapters hints: readOnly: true destructive: false idempotent: true call: studio-chapters.listchapters outputParameters: - type: object mapping: $. - name: get-chapter description: Get chapter hints: readOnly: true destructive: false idempotent: true call: studio-chapters.getchapter outputParameters: - type: object mapping: $. - name: delete-chapter description: Delete chapter hints: readOnly: false destructive: true idempotent: true call: studio-chapters.deletechapter outputParameters: - type: object mapping: $.