Skip to main content
GET
/
snippets
/
{id}
/
runs
List snippet runs
curl --request GET \
  --url https://api.akua.dev/v1/snippets/{id}/runs \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "snippet_id": "<string>",
      "agent_session_id": "<string>",
      "agent_turn_id": "<string>",
      "duration_ms": 123,
      "created_at": 1,
      "etag": "<string>",
      "overrides": {},
      "output": "<unknown>",
      "error": {
        "code": "<string>",
        "message": "<string>",
        "details": "<unknown>"
      }
    }
  ],
  "has_more": true,
  "next_cursor": "<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

Path Parameters

id
string
required
Required string length: 1 - 54

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>
Available options:
succeeded,
failed,
timed_out
view
enum<string>
default:basic

Control whether output and error details are included.

Available options:
basic,
full

Response

List of snippet runs

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.