GET
/
projects
/
{project_id}
/
refresh_status
Check project refresh status
curl --request GET \
  --url https://app.getcensus.com/api/v1/projects/{project_id}/refresh_status \
  --header 'Authorization: Bearer <token>'
{
  "status": "completed",
  "details": {
    "latest_upgrade_at": "2024-06-28T21:33:54Z",
    "last_upgrade_attempt_at": "2024-06-28T21:31:54Z",
    "last_upgrade_attempt_error": false,
    "last_upgrade_attempt_output": "null"
  }
}

Authorizations

Authorization
string
header
required

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

project_id
integer
required

The id of the project that is getting refreshed.

Query Parameters

refresh_key
integer
required

An id provided by the refresh endpoint, used to check whether the refresh job has finished.

Response

Project refresh completed successfully

status
string

Status of the refresh job

Example:

"completed"

details
object