Skip to content

Create check run

POST
/checks/{check}/runs
curl --request POST \
--url https://example.com/api/checks/1/runs \
--header 'Authorization: Bearer <token>'

Requests a manual run and returns a receipt to poll (Location, Retry-After). Manual runs are limited to 10 per minute per user and 5 per token, with a cooldown per check. Send an Idempotency-Key so a retry does not request a second run.

Token abilities: checks:run or checks:write.

check
required
integer

The check ID.

Idempotency-Key
string
/^[\x21-\x7E]{1,128}$/

Optional. One stable key per intended write, reused on every retry of it. A repeat within 24 hours returns the stored response; the same key with a different request returns 409 idempotency_conflict.

Run accepted. With Idempotency-Key, a repeat returns the stored response.

Media typeapplication/json
RunReceipt
object
attempt_ref
required
string
/^attempt:[0-9]+$/
check_ref
required
string
/^check:[0-9]+$/
phase
required
RunPhase
string
Allowed values: scheduled queued running done failed late skipped cancelled
poll_url
required

Relative URL of GET /api/runs/{attempt_ref}; also in Location.

string
requested_at
required
string format: date-time

Example

{
"attempt_ref": "attempt:700",
"check_ref": "check:102",
"phase": "queued",
"poll_url": "/api/runs/attempt:700",
"requested_at": "2026-10-01T07:45:00.000000Z"
}
Location
string

Relative URL of the run receipt.

Retry-After
string

Seconds until the first poll is useful.

X-RateLimit-Limit
integer

Requests per minute allowed by the limit this response counts against.

X-RateLimit-Remaining
integer

Requests left in the current minute.

Missing, invalid, expired or session-only credentials, or a disabled user.

Media typeapplication/json
Unauthenticated
object
error
required
string

Examples

ExampleUnauthenticated

Missing or invalid token

{
"error": "Unauthenticated."
}

The token lacks a required ability, or the user’s role or client access does not allow this action.

Media typeapplication/json
ErrorMessage
object
message
required
string

Examples

ExampleForbidden

The token lacks the ability

{
"message": "Invalid ability provided."
}

Not found or not visible to this token.

  • not_found: Missing or hidden; the same body for both.
Media typeapplication/json
Any of:
ErrorMessage
object
message
required
string

Examples

ExampleNotFound

Missing or hidden

{
"message": "No query results for model [Heptapod\\Models\\Site] 12"
}

Domain error.

  • idempotency_conflict: The Idempotency-Key was used for another operation, target or request.
  • busy_try_again: A change of sites, clients or access was being saved for longer than this write waits for it; retry after Retry-After.
Media typeapplication/json
object
code
required
string
details
required

Code-specific details; may be empty.

object
error
required
string
code
required
string
Allowed values: idempotency_conflict busy_try_again

Example

{
"code": "idempotency_conflict"
}
Retry-After
integer

Seconds to wait before retrying.

Invalid input.

  • invalid_idempotency_key: Idempotency-Key must be 1 to 128 visible ASCII characters.
Media typeapplication/json
Any of:
ValidationError
object
errors
required

Field name => messages.

object
key
additional properties
Array<string>
message
required
string

Examples

ExampleValidationFailed

Invalid input

{
"errors": {
"starts_at": [
"The starts at field must match the format Y-m-d H:i."
]
},
"message": "The starts at field must match the format Y-m-d H:i."
}

Rate limited: 60 requests per minute per source IP before authentication, and 60 per minute per user and per token. See Retry-After.

  • cooldown: A manual run was requested too recently; details.retry_after_seconds and Retry-After say when to retry.
  • queue_admission_limited: The manual-run queue is full; retry after Retry-After.
  • manual_run_budget: Per-user (10/min) or per-token (5/min) manual-run budget used up; retry after Retry-After.
Media typeapplication/json
Any of:
TooManyRequests
object
error
required
string

Examples

ExampleTooManyRequests

Rate limited

{
"error": "Too Many Attempts."
}
Retry-After
integer

Seconds to wait before retrying.

X-RateLimit-Reset
integer

Unix time when the request limit resets. Only on request rate limits, not on refused manual runs.