ClarifyAPI
Async Tasks

Get an async task

Returns one background task as a JSON:API resource, such as the schema change a 202 Accepted response started. Poll it until completed_at or failed_at is set; a failed task carries an error_code. Only the user or API key a task belongs to can read it.

GET
/workspaces/{workspace}/async/{id}
Authorization<token>

API key authentication. Send your key in the Authorization header as: api-key <your-api-key>.

In: header

Path Parameters

workspace*string

The workspace slug — the {slug} segment of your Clarify workspace URL.

id*string

The ID of the async task, from the 202 response of the request that started it.

Formatuuid

Header Parameters

clarify-version?string

The API version for this request. Send 2026-11 to get the behavior documented here. Omit it to use your API key's version, which this header can raise but not lower.

Response Body

application/json

curl -X GET "https://example.com/workspaces/string/async/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "clarify-version: 2026-11"
{  "data": {    "type": "async-task",    "id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",    "attributes": {      "_id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",      "user_id": "7d4e2f9a-1b3c-4d5e-8f6a-9c0b2d4e6f81",      "type": "schema_modification",      "progress": 1,      "total": null,      "metadata": {        "entity": "c_project"      },      "queued_at": "2026-01-15T09:30:00.000Z",      "started_at": "2026-01-15T09:30:00.000Z",      "completed_at": "2026-01-15T09:30:04.000Z",      "failed_at": null,      "error_code": null,      "_created_at": "2026-01-15T09:30:00.000Z",      "_updated_at": "2026-01-15T09:30:04.000Z"    }  }}