naftiko: 1.0.0-alpha2 info: label: API Reference — subpackage_identity description: 'API Reference — subpackage_identity. 3 operations. Lead operation: List identities. Self-contained Naftiko capability covering one Resemble Ai business surface.' tags: - Resemble Ai - subpackage_identity created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RESEMBLE_AI_API_KEY: RESEMBLE_AI_API_KEY capability: consumes: - type: http namespace: resemble-ai-subpackage-identity baseUri: https://f.cluster.resemble.ai description: API Reference — subpackage_identity business capability. Self-contained, no shared references. resources: - name: identity path: /identity operations: - name: listidentities method: GET description: List identities outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: API token from https://app.resemble.ai/account/api required: true - name: createidentity method: POST description: Create identity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: API token from https://app.resemble.ai/account/api required: true - name: body in: body type: object description: Request body (JSON). required: false - name: identity-search path: /identity/search operations: - name: searchidentities method: POST description: Search identities outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: API token from https://app.resemble.ai/account/api required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.RESEMBLE_AI_API_KEY}}' exposes: - type: rest namespace: resemble-ai-subpackage-identity-rest port: 8080 description: REST adapter for API Reference — subpackage_identity. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/identity name: identity description: REST surface for identity. operations: - method: GET name: listidentities description: List identities call: resemble-ai-subpackage-identity.listidentities with: Authorization: rest.Authorization outputParameters: - type: object mapping: $. - method: POST name: createidentity description: Create identity call: resemble-ai-subpackage-identity.createidentity with: Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/identity/search name: identity-search description: REST surface for identity-search. operations: - method: POST name: searchidentities description: Search identities call: resemble-ai-subpackage-identity.searchidentities with: Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: resemble-ai-subpackage-identity-mcp port: 9090 transport: http description: MCP adapter for API Reference — subpackage_identity. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-identities description: List identities hints: readOnly: true destructive: false idempotent: true call: resemble-ai-subpackage-identity.listidentities with: Authorization: tools.Authorization outputParameters: - type: object mapping: $. - name: create-identity description: Create identity hints: readOnly: false destructive: false idempotent: false call: resemble-ai-subpackage-identity.createidentity with: Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: search-identities description: Search identities hints: readOnly: true destructive: false idempotent: false call: resemble-ai-subpackage-identity.searchidentities with: Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $.