naftiko: 1.0.0-alpha2 info: label: Cohere Embed Jobs API — Embed Jobs description: 'Cohere Embed Jobs API — Embed Jobs. 4 operations. Lead operation: Create an embed job. Self-contained Naftiko capability covering one Cohere business surface.' tags: - Cohere - Embed Jobs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COHERE_API_KEY: COHERE_API_KEY capability: consumes: - type: http namespace: embed-jobs-embed-jobs baseUri: https://api.cohere.com description: Cohere Embed Jobs API — Embed Jobs business capability. Self-contained, no shared references. resources: - name: v1-embed-jobs path: /v1/embed-jobs operations: - name: createembedjob method: POST description: Create an embed job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listembedjobs method: GET description: List embed jobs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-embed-jobs-id path: /v1/embed-jobs/{id} operations: - name: getembedjob method: GET description: Fetch an embed job outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-embed-jobs-id-cancel path: /v1/embed-jobs/{id}/cancel operations: - name: cancelembedjob method: POST description: Cancel an embed job outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.COHERE_API_KEY}}' exposes: - type: rest namespace: embed-jobs-embed-jobs-rest port: 8080 description: REST adapter for Cohere Embed Jobs API — Embed Jobs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/embed-jobs name: v1-embed-jobs description: REST surface for v1-embed-jobs. operations: - method: POST name: createembedjob description: Create an embed job call: embed-jobs-embed-jobs.createembedjob with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listembedjobs description: List embed jobs call: embed-jobs-embed-jobs.listembedjobs outputParameters: - type: object mapping: $. - path: /v1/v1/embed-jobs/{id} name: v1-embed-jobs-id description: REST surface for v1-embed-jobs-id. operations: - method: GET name: getembedjob description: Fetch an embed job call: embed-jobs-embed-jobs.getembedjob outputParameters: - type: object mapping: $. - path: /v1/v1/embed-jobs/{id}/cancel name: v1-embed-jobs-id-cancel description: REST surface for v1-embed-jobs-id-cancel. operations: - method: POST name: cancelembedjob description: Cancel an embed job call: embed-jobs-embed-jobs.cancelembedjob outputParameters: - type: object mapping: $. - type: mcp namespace: embed-jobs-embed-jobs-mcp port: 9090 transport: http description: MCP adapter for Cohere Embed Jobs API — Embed Jobs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-embed-job description: Create an embed job hints: readOnly: false destructive: false idempotent: false call: embed-jobs-embed-jobs.createembedjob with: body: tools.body outputParameters: - type: object mapping: $. - name: list-embed-jobs description: List embed jobs hints: readOnly: true destructive: false idempotent: true call: embed-jobs-embed-jobs.listembedjobs outputParameters: - type: object mapping: $. - name: fetch-embed-job description: Fetch an embed job hints: readOnly: true destructive: false idempotent: true call: embed-jobs-embed-jobs.getembedjob outputParameters: - type: object mapping: $. - name: cancel-embed-job description: Cancel an embed job hints: readOnly: false destructive: false idempotent: false call: embed-jobs-embed-jobs.cancelembedjob outputParameters: - type: object mapping: $.