naftiko: 1.0.0-alpha2 info: label: Cobalt API — Applications description: 'Cobalt API — Applications. 2 operations. Lead operation: Cobalt Get All Applications. Self-contained Naftiko capability covering one Cobalt business surface.' tags: - Cobalt - Applications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COBALT_API_KEY: COBALT_API_KEY capability: consumes: - type: http namespace: cobalt-applications baseUri: https://api.gocobalt.io/api/v2 description: Cobalt API — Applications business capability. Self-contained, no shared references. resources: - name: public-application path: /public/application operations: - name: listapplications method: GET description: Cobalt Get All Applications outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: linked_account_id in: header type: string description: Optional linked account ID to filter applications. - name: public-application-slug path: /public/application/{slug} operations: - name: getapplicationbyslug method: GET description: Cobalt Get Application by Slug outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: slug in: path type: string description: The application slug identifier. required: true - name: linked_account_id in: header type: string description: Optional linked account ID for context. authentication: type: apikey key: x-api-key value: '{{env.COBALT_API_KEY}}' placement: header exposes: - type: rest namespace: cobalt-applications-rest port: 8080 description: REST adapter for Cobalt API — Applications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/public/application name: public-application description: REST surface for public-application. operations: - method: GET name: listapplications description: Cobalt Get All Applications call: cobalt-applications.listapplications with: linked_account_id: rest.linked_account_id outputParameters: - type: object mapping: $. - path: /v1/public/application/{slug} name: public-application-slug description: REST surface for public-application-slug. operations: - method: GET name: getapplicationbyslug description: Cobalt Get Application by Slug call: cobalt-applications.getapplicationbyslug with: slug: rest.slug linked_account_id: rest.linked_account_id outputParameters: - type: object mapping: $. - type: mcp namespace: cobalt-applications-mcp port: 9090 transport: http description: MCP adapter for Cobalt API — Applications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cobalt-get-all-applications description: Cobalt Get All Applications hints: readOnly: true destructive: false idempotent: true call: cobalt-applications.listapplications with: linked_account_id: tools.linked_account_id outputParameters: - type: object mapping: $. - name: cobalt-get-application-slug description: Cobalt Get Application by Slug hints: readOnly: true destructive: false idempotent: true call: cobalt-applications.getapplicationbyslug with: slug: tools.slug linked_account_id: tools.linked_account_id outputParameters: - type: object mapping: $.