naftiko: 1.0.0-alpha2 info: label: Daytona Admin Runners description: 'Daytona Admin Runners. 11 operations. Lead operation: Create runner. Self-contained Naftiko capability covering one Daytona business surface.' tags: - Daytona - Runners created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: DAYTONA_API_KEY: DAYTONA_API_KEY capability: consumes: - type: http namespace: admin-runners baseUri: https://app.daytona.io/api description: Daytona Admin Runners business capability. Self-contained, no shared references. resources: - name: runners path: /runners operations: - name: createrunner method: POST description: Create runner outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listrunners method: GET description: List all runners outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runners-me path: /runners/me operations: - name: getinfoforauthenticatedrunner method: GET description: Get info for authenticated runner outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runners-by-sandbox-sandboxid path: /runners/by-sandbox/{sandboxId} operations: - name: getrunnerbysandboxid method: GET description: Get runner by sandbox ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runners-by-snapshot-ref path: /runners/by-snapshot-ref operations: - name: getrunnersbysnapshotref method: GET description: Get runners by snapshot ref outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runners-id path: /runners/{id} operations: - name: getrunnerbyid method: GET description: Get runner by ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deleterunner method: DELETE description: Delete runner outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runners-id-full path: /runners/{id}/full operations: - name: getrunnerfullbyid method: GET description: Get runner by ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runners-id-scheduling path: /runners/{id}/scheduling operations: - name: updaterunnerscheduling method: PATCH description: Update runner scheduling status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runners-id-draining path: /runners/{id}/draining operations: - name: updaterunnerdraining method: PATCH description: Update runner draining status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: runners-healthcheck path: /runners/healthcheck operations: - name: runnerhealthcheck method: POST description: Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer value: '{{env.DAYTONA_API_KEY}}' placement: header exposes: - type: rest namespace: admin-runners-rest port: 8080 description: REST adapter for Daytona Admin Runners. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/runners name: runners description: REST surface for runners. operations: - method: POST name: createrunner description: Create runner call: admin-runners.createrunner outputParameters: - type: object mapping: $. with: body: rest.body - method: GET name: listrunners description: List all runners call: admin-runners.listrunners outputParameters: - type: object mapping: $. - path: /v1/runners/me name: runners-me description: REST surface for runners-me. operations: - method: GET name: getinfoforauthenticatedrunner description: Get info for authenticated runner call: admin-runners.getinfoforauthenticatedrunner outputParameters: - type: object mapping: $. - path: /v1/runners/by-sandbox/{sandboxId} name: runners-by-sandbox-sandboxid description: REST surface for runners-by-sandbox-sandboxid. operations: - method: GET name: getrunnerbysandboxid description: Get runner by sandbox ID call: admin-runners.getrunnerbysandboxid outputParameters: - type: object mapping: $. - path: /v1/runners/by-snapshot-ref name: runners-by-snapshot-ref description: REST surface for runners-by-snapshot-ref. operations: - method: GET name: getrunnersbysnapshotref description: Get runners by snapshot ref call: admin-runners.getrunnersbysnapshotref outputParameters: - type: object mapping: $. - path: /v1/runners/{id} name: runners-id description: REST surface for runners-id. operations: - method: GET name: getrunnerbyid description: Get runner by ID call: admin-runners.getrunnerbyid outputParameters: - type: object mapping: $. - method: DELETE name: deleterunner description: Delete runner call: admin-runners.deleterunner outputParameters: - type: object mapping: $. - path: /v1/runners/{id}/full name: runners-id-full description: REST surface for runners-id-full. operations: - method: GET name: getrunnerfullbyid description: Get runner by ID call: admin-runners.getrunnerfullbyid outputParameters: - type: object mapping: $. - path: /v1/runners/{id}/scheduling name: runners-id-scheduling description: REST surface for runners-id-scheduling. operations: - method: PATCH name: updaterunnerscheduling description: Update runner scheduling status call: admin-runners.updaterunnerscheduling outputParameters: - type: object mapping: $. - path: /v1/runners/{id}/draining name: runners-id-draining description: REST surface for runners-id-draining. operations: - method: PATCH name: updaterunnerdraining description: Update runner draining status call: admin-runners.updaterunnerdraining outputParameters: - type: object mapping: $. - path: /v1/runners/healthcheck name: runners-healthcheck description: REST surface for runners-healthcheck. operations: - method: POST name: runnerhealthcheck description: Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics. call: admin-runners.runnerhealthcheck outputParameters: - type: object mapping: $. with: body: rest.body - type: mcp namespace: admin-runners-mcp port: 9090 transport: http description: MCP adapter for Daytona Admin Runners. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: daytona-create-runner description: Create runner hints: readOnly: false destructive: false idempotent: false call: admin-runners.createrunner outputParameters: - type: object mapping: $. with: body: tools.body - name: daytona-list-all-runners description: List all runners hints: readOnly: true destructive: false idempotent: true call: admin-runners.listrunners outputParameters: - type: object mapping: $. - name: daytona-get-info-for-authenticated-runner description: Get info for authenticated runner hints: readOnly: true destructive: false idempotent: true call: admin-runners.getinfoforauthenticatedrunner outputParameters: - type: object mapping: $. - name: daytona-get-runner-by-sandbox-id description: Get runner by sandbox ID hints: readOnly: true destructive: false idempotent: true call: admin-runners.getrunnerbysandboxid outputParameters: - type: object mapping: $. - name: daytona-get-runners-by-snapshot-ref description: Get runners by snapshot ref hints: readOnly: true destructive: false idempotent: true call: admin-runners.getrunnersbysnapshotref outputParameters: - type: object mapping: $. - name: daytona-get-runner-by-id description: Get runner by ID hints: readOnly: true destructive: false idempotent: true call: admin-runners.getrunnerbyid outputParameters: - type: object mapping: $. - name: daytona-delete-runner description: Delete runner hints: readOnly: false destructive: true idempotent: true call: admin-runners.deleterunner outputParameters: - type: object mapping: $. - name: daytona-get-runner-by-id description: Get runner by ID hints: readOnly: true destructive: false idempotent: true call: admin-runners.getrunnerfullbyid outputParameters: - type: object mapping: $. - name: daytona-update-runner-scheduling-status description: Update runner scheduling status hints: readOnly: false destructive: false idempotent: false call: admin-runners.updaterunnerscheduling outputParameters: - type: object mapping: $. - name: daytona-update-runner-draining-status description: Update runner draining status hints: readOnly: false destructive: false idempotent: false call: admin-runners.updaterunnerdraining outputParameters: - type: object mapping: $. - name: daytona-runner-healthcheck description: Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics. hints: readOnly: false destructive: false idempotent: false call: admin-runners.runnerhealthcheck outputParameters: - type: object mapping: $. with: body: tools.body