Daytona · Capability

Daytona API Keys

Daytona API Keys. 6 operations. Lead operation: Create API key. Self-contained Naftiko capability covering one Daytona business surface.

Daytona API Keys is a Naftiko capability published by Daytona, one of 16 capabilities the APIs.io network indexes for this provider. It bundles 6 operations across the GET, DELETE, and POST methods rooted at /v1/api-keys.

The capability includes 3 read-only operations and 3 state-changing operations. Lead operation: Create API key. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Daytona and Api-Keys.

Run with Naftiko DaytonaApi-Keys

What You Can Do

POST
Createapikey — Create API key
/v1/api-keys
GET
Listapikeys — List API keys
/v1/api-keys
GET
Getcurrentapikey — Get current API key's details
/v1/api-keys/current
GET
Getapikey — Get API key
/v1/api-keys/{name}
DELETE
Deleteapikey — Delete API key
/v1/api-keys/{name}
DELETE
Deleteapikeyforuser — Delete API key for user
/v1/api-keys/{userId}/{name}

MCP Tools

daytona-create-api-key

Create API key

daytona-list-api-keys

List API keys

read-only idempotent
daytona-get-current-api-key-s-details

Get current API key's details

read-only idempotent
daytona-get-api-key

Get API key

read-only idempotent
daytona-delete-api-key

Delete API key

idempotent
daytona-delete-api-key-for-user

Delete API key for user

idempotent

Capability Spec

api-keys.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Daytona API Keys
  description: 'Daytona API Keys. 6 operations. Lead operation: Create API key. Self-contained Naftiko capability covering
    one Daytona business surface.'
  tags:
  - Daytona
  - Api-Keys
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    DAYTONA_API_KEY: DAYTONA_API_KEY
capability:
  consumes:
  - type: http
    namespace: api-keys
    baseUri: https://app.daytona.io/api
    description: Daytona API Keys business capability. Self-contained, no shared references.
    resources:
    - name: api-keys
      path: /api-keys
      operations:
      - name: createapikey
        method: POST
        description: Create API key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listapikeys
        method: GET
        description: List API keys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-keys-current
      path: /api-keys/current
      operations:
      - name: getcurrentapikey
        method: GET
        description: Get current API key's details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-keys-name
      path: /api-keys/{name}
      operations:
      - name: getapikey
        method: GET
        description: Get API key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteapikey
        method: DELETE
        description: Delete API key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-keys-userid-name
      path: /api-keys/{userId}/{name}
      operations:
      - name: deleteapikeyforuser
        method: DELETE
        description: Delete API key for user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      value: '{{env.DAYTONA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: api-keys-rest
    port: 8080
    description: REST adapter for Daytona API Keys. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/api-keys
      name: api-keys
      description: REST surface for api-keys.
      operations:
      - method: POST
        name: createapikey
        description: Create API key
        call: api-keys.createapikey
        outputParameters:
        - type: object
          mapping: $.
        with:
          body: rest.body
      - method: GET
        name: listapikeys
        description: List API keys
        call: api-keys.listapikeys
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api-keys/current
      name: api-keys-current
      description: REST surface for api-keys-current.
      operations:
      - method: GET
        name: getcurrentapikey
        description: Get current API key's details
        call: api-keys.getcurrentapikey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api-keys/{name}
      name: api-keys-name
      description: REST surface for api-keys-name.
      operations:
      - method: GET
        name: getapikey
        description: Get API key
        call: api-keys.getapikey
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteapikey
        description: Delete API key
        call: api-keys.deleteapikey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api-keys/{userId}/{name}
      name: api-keys-userid-name
      description: REST surface for api-keys-userid-name.
      operations:
      - method: DELETE
        name: deleteapikeyforuser
        description: Delete API key for user
        call: api-keys.deleteapikeyforuser
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: api-keys-mcp
    port: 9090
    transport: http
    description: MCP adapter for Daytona API Keys. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: daytona-create-api-key
      description: Create API key
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: api-keys.createapikey
      outputParameters:
      - type: object
        mapping: $.
      with:
        body: tools.body
    - name: daytona-list-api-keys
      description: List API keys
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-keys.listapikeys
      outputParameters:
      - type: object
        mapping: $.
    - name: daytona-get-current-api-key-s-details
      description: Get current API key's details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-keys.getcurrentapikey
      outputParameters:
      - type: object
        mapping: $.
    - name: daytona-get-api-key
      description: Get API key
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-keys.getapikey
      outputParameters:
      - type: object
        mapping: $.
    - name: daytona-delete-api-key
      description: Delete API key
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: api-keys.deleteapikey
      outputParameters:
      - type: object
        mapping: $.
    - name: daytona-delete-api-key-for-user
      description: Delete API key for user
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: api-keys.deleteapikeyforuser
      outputParameters:
      - type: object
        mapping: $.