Skip to main content
POST
/
api
/
v1
/
test-runs
/
skip
Skip a test run
curl --request POST \
  --url https://api.empirical.run/api/v1/test-runs/skip \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repo": "<string>",
  "commit_sha": "<string>",
  "environment": "<string>"
}
'
{
  "data": {
    "check_run_id": 123,
    "status": "<string>"
  },
  "error": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
repo
string
required

Full repository name in owner/repo format.

commit_sha
string
required

Full Git commit SHA.

environment
string

Environment slug.

Response

The skipped check run.

data
object
required
error
any | null
required

Always null for success responses.