Skip to main content
GET
/
repository_change_requests
List repository change requests
curl --request GET \
  --url https://api.akua.dev/v1/repository_change_requests \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "workspace_id": "<string>",
      "parent_repository_id": "<string>",
      "fork_repository_id": "<string>",
      "created_by_id": "<string>",
      "remediation_evidence": {
        "summary": "<string>",
        "likely_fix": "<string>",
        "resource_refs": [
          {
            "resource": "<string>",
            "id": "<string>"
          }
        ]
      },
      "created_at": 1,
      "updated_at": 1,
      "expires_at": 1,
      "rejection_reason": "<string>",
      "etag": "<string>"
    }
  ],
  "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

Headers

akua-context
string

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens — a workspace-owned token implies its workspace.

Required string length: 1 - 53
Example:

"ws_j572abc123def456"

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

state
enum<string>

Filter by lifecycle state

Available options:
AWAITING_CHANGES,
VALIDATING,
READY,
ACCEPTING,
ACCEPTED,
REJECTED,
WITHDRAWN,
EXPIRED,
FAILED
parent_repository
string

Filter to change requests targeting this parent repository

Required string length: 1 - 55
Example:

"repo_j572parentrepo001"

fork_repository
string

Filter to the change request backed by this fork repository

Required string length: 1 - 55
Example:

"repo_j572forkrepo001"

agent
string

Filter to change requests created by this agent

Required string length: 1 - 54
Example:

"agt_j572agent001"

Response

Repository change request list

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.