Skip to main content
GET
/
repository_change_requests
/
{id}
Get repository change request
curl --request GET \
  --url https://api.akua.dev/v1/repository_change_requests/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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>"
}

Documentation Index

Fetch the complete documentation index at: https://akua-1dce587a.mintlify.app/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"

Path Parameters

id
string
required
Required string length: 1 - 54

Response

Repository change request

id
string
required
Required string length: 1 - 54
workspace_id
string
required
Required string length: 1 - 53
parent_repository_id
string
required
Required string length: 1 - 55
fork_repository_id
string
required
Required string length: 1 - 55
state
enum<string>
required

Repository change request lifecycle state

Available options:
AWAITING_CHANGES,
VALIDATING,
READY,
ACCEPTING,
ACCEPTED,
REJECTED,
WITHDRAWN,
EXPIRED,
FAILED
change_type
enum<string>
required
Available options:
manifest_patch,
inputs_change,
package_change,
unknown
created_by_type
enum<string>
required
Available options:
user,
wizard,
agent
created_by_id
string
required
remediation_evidence
object
required
created_at
integer
required

Unix timestamp (seconds)

Required range: x >= 0
updated_at
integer
required

Unix timestamp (seconds)

Required range: x >= 0
expires_at
integer
required

Unix timestamp (seconds)

Required range: x >= 0
rejection_reason
string | null
required
etag
string
required