Skip to main content
GET
/
operations
List operations
curl --request GET \
  --url https://api.akua.dev/v1/operations \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "workspace_id": "<string>",
      "organization_id": "<string>",
      "owner_id": "<string>",
      "parent_operation_id": "<string>",
      "done": true,
      "html_url": "https://app.akua.dev/dashboard/installs/inst_j572abc...?tab=operations",
      "metadata": {
        "cluster_id": "<string>"
      },
      "response": {
        "cluster_id": "<string>"
      },
      "error": {
        "message": "<string>"
      },
      "last_error": {
        "message": "<string>",
        "step_name": "<string>"
      },
      "started_at": 1,
      "completed_at": 1,
      "steps": [
        {
          "name": "<string>",
          "started_at": 1,
          "completed_at": 1,
          "error_message": "<string>",
          "retryable": true,
          "skippable": true
        }
      ]
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.akua.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens

Query Parameters

cursor
string

Pagination cursor from a previous response's next_cursor.

limit
integer
default:50

Items per page (1-100, default 50)

Required range: 1 <= x <= 100
Example:

50

owner_type
enum<string>
Available options:
install,
repository_change_request,
repository,
workspace,
machine,
cluster,
package
owner_id
string

Required when owner_type is set. Ignored otherwise.

Response

List of operations (without per-step detail)

data
object[]
required
has_more
boolean
required

True if more items exist after this page.

next_cursor
string | null
required

Opaque cursor for the next page, or null if no more pages.