Cobalt · Capability

Cobalt API — Session Token

Cobalt API — Session Token. 1 operations. Lead operation: Cobalt Generate Token for Linked Account. Self-contained Naftiko capability covering one Cobalt business surface.

Run with Naftiko CobaltSession Token

What You Can Do

POST
Createsessiontoken — Cobalt Generate Token for Linked Account
/v1/public/session-token

MCP Tools

cobalt-generate-token-linked-account

Cobalt Generate Token for Linked Account

Capability Spec

cobalt-session-token.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cobalt API — Session Token
  description: 'Cobalt API — Session Token. 1 operations. Lead operation: Cobalt Generate Token for Linked Account. Self-contained
    Naftiko capability covering one Cobalt business surface.'
  tags:
  - Cobalt
  - Session Token
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COBALT_API_KEY: COBALT_API_KEY
capability:
  consumes:
  - type: http
    namespace: cobalt-session-token
    baseUri: https://api.gocobalt.io/api/v2
    description: Cobalt API — Session Token business capability. Self-contained, no shared references.
    resources:
    - name: public-session-token
      path: /public/session-token
      operations:
      - name: createsessiontoken
        method: POST
        description: Cobalt Generate Token for Linked Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.COBALT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: cobalt-session-token-rest
    port: 8080
    description: REST adapter for Cobalt API — Session Token. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/public/session-token
      name: public-session-token
      description: REST surface for public-session-token.
      operations:
      - method: POST
        name: createsessiontoken
        description: Cobalt Generate Token for Linked Account
        call: cobalt-session-token.createsessiontoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cobalt-session-token-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cobalt API — Session Token. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: cobalt-generate-token-linked-account
      description: Cobalt Generate Token for Linked Account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cobalt-session-token.createsessiontoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.