Skip to main content
GET
/
v1
/
operations
List async operations
curl --request GET \
  --url https://api.app.chainloop.dev/v1/operations \
  --header 'Authorization: Bearer <token>'
{
  "operations": [
    {
      "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"
    },
    {
      "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"
    }
  ],
  "pagination": {
    "total_count": 1,
    "page": 0,
    "total_pages": 5,
    "page_size": 6
  }
}

Authorizations

Authorization
string
header
required

Bearer token for authentication

Query Parameters

pagination.page
integer<int32>

The (zero-based) offset of the first item returned in the collection.

pagination.page_size
integer<int32>

The maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used.

resource_id
string

Filter by associated resource ID (must be provided with resource_type)

resource_type
string

Filter by associated resource type (must be provided with resource_id)

status
enum<string>
default:ASYNC_OPERATION_STATUS_UNSPECIFIED

Filter by operation status

Available options:
ASYNC_OPERATION_STATUS_UNSPECIFIED,
ASYNC_OPERATION_STATUS_PENDING,
ASYNC_OPERATION_STATUS_RUNNING,
ASYNC_OPERATION_STATUS_COMPLETED,
ASYNC_OPERATION_STATUS_FAILED
kind
string

Filter by operation kind (e.g., evidence_evaluation)

Response

A successful response.

operations
List of operations · object[]
pagination
OffsetPaginationResponse is used to return the pagination information · object
Example:
{
"total_count": 1,
"page": 0,
"total_pages": 5,
"page_size": 6
}