Skip to main content
GET
/
v1
/
operations
/
{operation_id}
Get async operation status
curl --request GET \
  --url https://api.app.chainloop.dev/v1/operations/{operation_id} \
  --header 'Authorization: Bearer <token>'
{
  "operation": {
    "output": "output",
    "error_message": "error_message",
    "finished_at": "2000-01-23T04:56:07.000Z",
    "project_id": "project_id",
    "kind": "kind",
    "resource_type": "resource_type",
    "created_at": "2000-01-23T04:56:07.000Z",
    "started_at": "2000-01-23T04:56:07.000Z",
    "resource_id": "resource_id",
    "id": "id",
    "project_version_id": "project_version_id",
    "status": "ASYNC_OPERATION_STATUS_UNSPECIFIED"
  }
}

Authorizations

Authorization
string
header
required

Bearer token for authentication

Path Parameters

operation_id
string
required

Unique identifier of the async operation

Response

A successful response.

operation
object

AsyncOperationResult represents the state and output of an asynchronous operation.

Example:
{
"output": "output",
"error_message": "error_message",
"finished_at": "2000-01-23T04:56:07.000Z",
"project_id": "project_id",
"kind": "kind",
"resource_type": "resource_type",
"created_at": "2000-01-23T04:56:07.000Z",
"started_at": "2000-01-23T04:56:07.000Z",
"resource_id": "resource_id",
"id": "id",
"project_version_id": "project_version_id",
"status": "ASYNC_OPERATION_STATUS_UNSPECIFIED"
}