Release work

⚠️
Preview — this feature is being built; the design below is the spec.
POST https://app.syntic.ai/v1/runners/work/{work_id}/release

Give a work item back to the queue without a result, for example when the runner is shutting down. It counts as one attempt. Another runner can claim it immediately.

For how this fits into a full workflow, see Self-hosted runners.

Headers

HeaderRequiredValue
AuthorizationYesBearer <runner token>: a self-hosted runner token (srt_...) issued when the runner was registered. Inference and admin keys are refused. See Self-hosted runners.
syntic-betaYes, while in previewagents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning.
Content-TypeYesapplication/json

Path parameters

ParameterTypeDescription
work_idstringThe work item id, starting with work_.

Body parameters

ParameterTypeRequiredNotes
reasonstringNoUp to 200 characters, kept in the session’s event log.

Response

200 OK, Content-Type: application/json

{
  "id": "work_01JCD3F5H7K9M1P3R5T7",
  "status": "queued",
  "attempt": 1
}

Examples

curl -sS "https://app.syntic.ai/v1/runners/work/work_01JCD3F5H7K9M1P3R5T7/release" \
  -H "Authorization: Bearer $SYNTIC_RUNNER_TOKEN" \
  -H "syntic-beta: agents-2026-11-01" \
  -H "Content-Type: application/json" \
  -d '{
      "reason": "host draining for maintenance"
    }'

Errors

Errors use the error envelope and carry a request_id. Codes specific to this operation:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
404not_found_errorwork_not_foundNo work item with this id leased to this runner.
429rate_limit_errorrate_limitedToo many requests; wait for Retry-After. See Rate-limit headers.
Was this page helpful?