v1

latestOpenAPI 3.1.0AGPL-3.02026-07-17644498.1 KB
Trigger Keys

Create a trigger key

Create a new API trigger key for a job. The plain key is returned only once — store it securely.

post/api/jobs/{id}/api-keys

Request body

namestring required

Human-readable name for the trigger key

expiresIninteger

Optional expiration duration in seconds

Example request

{
  "name": "GitHub Actions",
  "expiresIn": 7776000
}

Response

Trigger key created. Store the key value securely — it cannot be retrieved again.

successboolean

Example response

{
  "apiKey": {
    "key": "sck_trigger_f1e2d3c4b5a6789012345678901234cd"
  }
}