Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Status Checks

List recent status check for acc, org or proj

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

querystringOptional

The substring which is used to filter the status checks by their UID.

sinceintegerOptional

The timestamp (in Unix time millis) since the status checks have been run.

recursivebooleanOptional

The result should include entities from child spaces.

Default: false
Responses
200

OK

application/json
string[]Optional
get/checks/recent
GET /code/api/v1/checks/recent?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
  "text"
]

List status check results

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
commit_shastringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

pageinteger · min: 1Optional

The page to return.

Default: 1
limitinteger · min: 1 · max: 100Optional

The maximum number of results to return.

Default: 30
querystringOptional

The substring which is used to filter the status checks by their UID.

Responses
200

OK

application/json
createdintegerOptional
endedintegerOptional
idintegerOptional
identifierstringOptional
linkstringOptional
metadataanyOptional
startedintegerOptional
statusstring · enumOptionalPossible values:
summarystringOptional
updatedintegerOptional
get/repos/{repo_identifier}/checks/commits/{commit_sha}
GET /code/api/v1/repos/{repo_identifier}/checks/commits/{commit_sha}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
  {
    "bypassed_by": {
      "created": 1,
      "display_name": "text",
      "email": "text",
      "id": 1,
      "type": "service",
      "uid": "text",
      "updated": 1
    },
    "created": 1,
    "ended": 1,
    "id": 1,
    "identifier": "text",
    "link": "text",
    "metadata": null,
    "payload": {
      "data": null,
      "kind": "",
      "version": "text"
    },
    "reported_by": {
      "created": 1,
      "display_name": "text",
      "email": "text",
      "id": 1,
      "type": "service",
      "uid": "text",
      "updated": 1
    },
    "started": 1,
    "status": "error",
    "summary": "text",
    "updated": 1
  }
]

Report status check results

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
commit_shastringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Body
bypassed_byinteger · nullableOptional
bypassed_by_typestring · enumOptionalPossible values:
bypassed_by_uidstringOptional
check_uidstringOptionalDeprecated
endedintegerOptional
identifierstringOptional
linkstringOptional
startedintegerOptional
statusstring · enumOptionalPossible values:
summarystringOptional
Responses
200

OK

application/json
createdintegerOptional
endedintegerOptional
idintegerOptional
identifierstringOptional
linkstringOptional
metadataanyOptional
startedintegerOptional
statusstring · enumOptionalPossible values:
summarystringOptional
updatedintegerOptional
put/repos/{repo_identifier}/checks/commits/{commit_sha}
PUT /code/api/v1/repos/{repo_identifier}/checks/commits/{commit_sha}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 212

{
  "bypassed_by": 1,
  "bypassed_by_type": "service",
  "bypassed_by_uid": "text",
  "ended": 1,
  "identifier": "text",
  "link": "text",
  "payload": {
    "data": null,
    "kind": "",
    "version": "text"
  },
  "started": 1,
  "status": "error",
  "summary": "text"
}
{
  "bypassed_by": {
    "created": 1,
    "display_name": "text",
    "email": "text",
    "id": 1,
    "type": "service",
    "uid": "text",
    "updated": 1
  },
  "created": 1,
  "ended": 1,
  "id": 1,
  "identifier": "text",
  "link": "text",
  "metadata": null,
  "payload": {
    "data": null,
    "kind": "",
    "version": "text"
  },
  "reported_by": {
    "created": 1,
    "display_name": "text",
    "email": "text",
    "id": 1,
    "type": "service",
    "uid": "text",
    "updated": 1
  },
  "started": 1,
  "status": "error",
  "summary": "text",
  "updated": 1
}

List recent status check

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

querystringOptional

The substring which is used to filter the status checks by their UID.

sinceintegerOptional

The timestamp (in Unix time millis) since the status checks have been run.

Responses
200

OK

application/json
string[]Optional
get/repos/{repo_identifier}/checks/recent
GET /code/api/v1/repos/{repo_identifier}/checks/recent?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
  "text"
]

Last updated

Was this helpful?