naftiko: 1.0.0-alpha2 info: label: Speech-to-speech (EVI) — subpackage_prompts description: 'Speech-to-speech (EVI) — subpackage_prompts. 9 operations. Lead operation: Create prompt. Self-contained Naftiko capability covering one Hume Ai business surface.' tags: - Hume Ai - subpackage_prompts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUME_AI_API_KEY: HUME_AI_API_KEY capability: consumes: - type: http namespace: evi-subpackage-prompts baseUri: https://api.hume.ai description: Speech-to-speech (EVI) — subpackage_prompts business capability. Self-contained, no shared references. resources: - name: v0-evi-prompts path: /v0/evi/prompts operations: - name: createprompt method: POST description: Create prompt outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Hume-Api-Key in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: listprompts method: GET description: List prompts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page_number in: query type: integer description: Specifies the page number to retrieve, enabling pagination. - name: page_size in: query type: integer description: Specifies the maximum number of results to include per page, enabling pagination. The value must be between 1 and 100, inclusive. - name: restrict_to_most_recent in: query type: boolean description: 'By default, `restrict_to_most_recent` is set to true, returning only the latest version of each prompt. To include all versions of each prompt in the list, set ' - name: name in: query type: string description: Filter to only include prompts with name. - name: X-Hume-Api-Key in: header type: string required: true - name: v0-evi-prompts-id path: /v0/evi/prompts/{id} operations: - name: listpromptversions method: GET description: List prompt versions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: page_number in: query type: integer description: Specifies the page number to retrieve, enabling pagination. - name: page_size in: query type: integer description: Specifies the maximum number of results to include per page, enabling pagination. The value must be between 1 and 100, inclusive. - name: restrict_to_most_recent in: query type: boolean description: 'By default, `restrict_to_most_recent` is set to true, returning only the latest version of each prompt. To include all versions of each prompt in the list, set ' - name: X-Hume-Api-Key in: header type: string required: true - name: createpromptversion method: POST description: Create prompt version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Prompt. Formatted as a UUID. required: true - name: X-Hume-Api-Key in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: updatepromptname method: PATCH description: Update prompt name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Prompt. Formatted as a UUID. required: true - name: X-Hume-Api-Key in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deleteprompt method: DELETE description: Delete prompt outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Prompt. Formatted as a UUID. required: true - name: X-Hume-Api-Key in: header type: string required: true - name: v0-evi-prompts-id-version-version path: /v0/evi/prompts/{id}/version/{version} operations: - name: getpromptversion method: GET description: Get prompt version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Prompt. Formatted as a UUID. required: true - name: version in: path type: integer description: Version number for a Prompt. required: true - name: X-Hume-Api-Key in: header type: string required: true - name: updatepromptdescription method: PATCH description: Update prompt description outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Prompt. Formatted as a UUID. required: true - name: version in: path type: integer description: Version number for a Prompt. required: true - name: X-Hume-Api-Key in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletepromptversion method: DELETE description: Delete prompt version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier for a Prompt. Formatted as a UUID. required: true - name: version in: path type: integer description: Version number for a Prompt. required: true - name: X-Hume-Api-Key in: header type: string required: true authentication: type: apikey key: X-Hume-Api-Key value: '{{env.HUME_AI_API_KEY}}' placement: header exposes: - type: rest namespace: evi-subpackage-prompts-rest port: 8080 description: REST adapter for Speech-to-speech (EVI) — subpackage_prompts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v0/evi/prompts name: v0-evi-prompts description: REST surface for v0-evi-prompts. operations: - method: POST name: createprompt description: Create prompt call: evi-subpackage-prompts.createprompt with: X-Hume-Api-Key: rest.X-Hume-Api-Key body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listprompts description: List prompts call: evi-subpackage-prompts.listprompts with: page_number: rest.page_number page_size: rest.page_size restrict_to_most_recent: rest.restrict_to_most_recent name: rest.name X-Hume-Api-Key: rest.X-Hume-Api-Key outputParameters: - type: object mapping: $. - path: /v1/v0/evi/prompts/{id} name: v0-evi-prompts-id description: REST surface for v0-evi-prompts-id. operations: - method: GET name: listpromptversions description: List prompt versions call: evi-subpackage-prompts.listpromptversions with: id: rest.id page_number: rest.page_number page_size: rest.page_size restrict_to_most_recent: rest.restrict_to_most_recent X-Hume-Api-Key: rest.X-Hume-Api-Key outputParameters: - type: object mapping: $. - method: POST name: createpromptversion description: Create prompt version call: evi-subpackage-prompts.createpromptversion with: id: rest.id X-Hume-Api-Key: rest.X-Hume-Api-Key body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: updatepromptname description: Update prompt name call: evi-subpackage-prompts.updatepromptname with: id: rest.id X-Hume-Api-Key: rest.X-Hume-Api-Key body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteprompt description: Delete prompt call: evi-subpackage-prompts.deleteprompt with: id: rest.id X-Hume-Api-Key: rest.X-Hume-Api-Key outputParameters: - type: object mapping: $. - path: /v1/v0/evi/prompts/{id}/version/{version} name: v0-evi-prompts-id-version-version description: REST surface for v0-evi-prompts-id-version-version. operations: - method: GET name: getpromptversion description: Get prompt version call: evi-subpackage-prompts.getpromptversion with: id: rest.id version: rest.version X-Hume-Api-Key: rest.X-Hume-Api-Key outputParameters: - type: object mapping: $. - method: PATCH name: updatepromptdescription description: Update prompt description call: evi-subpackage-prompts.updatepromptdescription with: id: rest.id version: rest.version X-Hume-Api-Key: rest.X-Hume-Api-Key body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletepromptversion description: Delete prompt version call: evi-subpackage-prompts.deletepromptversion with: id: rest.id version: rest.version X-Hume-Api-Key: rest.X-Hume-Api-Key outputParameters: - type: object mapping: $. - type: mcp namespace: evi-subpackage-prompts-mcp port: 9090 transport: http description: MCP adapter for Speech-to-speech (EVI) — subpackage_prompts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-prompt description: Create prompt hints: readOnly: false destructive: false idempotent: false call: evi-subpackage-prompts.createprompt with: X-Hume-Api-Key: tools.X-Hume-Api-Key body: tools.body outputParameters: - type: object mapping: $. - name: list-prompts description: List prompts hints: readOnly: true destructive: false idempotent: true call: evi-subpackage-prompts.listprompts with: page_number: tools.page_number page_size: tools.page_size restrict_to_most_recent: tools.restrict_to_most_recent name: tools.name X-Hume-Api-Key: tools.X-Hume-Api-Key outputParameters: - type: object mapping: $. - name: list-prompt-versions description: List prompt versions hints: readOnly: true destructive: false idempotent: true call: evi-subpackage-prompts.listpromptversions with: id: tools.id page_number: tools.page_number page_size: tools.page_size restrict_to_most_recent: tools.restrict_to_most_recent X-Hume-Api-Key: tools.X-Hume-Api-Key outputParameters: - type: object mapping: $. - name: create-prompt-version description: Create prompt version hints: readOnly: false destructive: false idempotent: false call: evi-subpackage-prompts.createpromptversion with: id: tools.id X-Hume-Api-Key: tools.X-Hume-Api-Key body: tools.body outputParameters: - type: object mapping: $. - name: update-prompt-name description: Update prompt name hints: readOnly: false destructive: false idempotent: true call: evi-subpackage-prompts.updatepromptname with: id: tools.id X-Hume-Api-Key: tools.X-Hume-Api-Key body: tools.body outputParameters: - type: object mapping: $. - name: delete-prompt description: Delete prompt hints: readOnly: false destructive: true idempotent: true call: evi-subpackage-prompts.deleteprompt with: id: tools.id X-Hume-Api-Key: tools.X-Hume-Api-Key outputParameters: - type: object mapping: $. - name: get-prompt-version description: Get prompt version hints: readOnly: true destructive: false idempotent: true call: evi-subpackage-prompts.getpromptversion with: id: tools.id version: tools.version X-Hume-Api-Key: tools.X-Hume-Api-Key outputParameters: - type: object mapping: $. - name: update-prompt-description description: Update prompt description hints: readOnly: false destructive: false idempotent: true call: evi-subpackage-prompts.updatepromptdescription with: id: tools.id version: tools.version X-Hume-Api-Key: tools.X-Hume-Api-Key body: tools.body outputParameters: - type: object mapping: $. - name: delete-prompt-version description: Delete prompt version hints: readOnly: false destructive: true idempotent: true call: evi-subpackage-prompts.deletepromptversion with: id: tools.id version: tools.version X-Hume-Api-Key: tools.X-Hume-Api-Key outputParameters: - type: object mapping: $.