Create local runner pairing token
POST
/v1/local-runner-pairing-tokensMint a short-lived token that a local daemon can exchange for a scoped runner API key.
How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
None.
Query parameters
None.
Body schema
Content type: application/json · Optional
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | No | Human-readable name. |
| ttlSeconds | integer | No | — |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
201Pairing token createdapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| pairingToken | object | No | — |
| pairingToken.id | string | No | Unique identifier. |
| pairingToken.userId | string | No | User ID. |
| pairingToken.tokenPrefix | string | No | — |
| pairingToken.name | string | No | Human-readable name. |
| pairingToken.status | pending | completed | expired | revoked | No | Current lifecycle status. |
| pairingToken.deviceId | string | No | — |
| pairingToken.expiresAt | string | No | — |
| pairingToken.completedAt | string | No | ISO 8601 timestamp. |
| pairingToken.createdAt | string | No | ISO 8601 timestamp. |
| pairingToken.updatedAt | string | No | ISO 8601 timestamp. |
| token | string | No | One-time raw pairing token. Returned only at creation time. |
Create local runner pairing token
Loading...
Response 201
Loading...