Skip to main content
GET
/
agent_templates
List agent templates
curl --request GET \
  --url https://api.akua.dev/v1/agent_templates \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "instructions": "<string>",
      "capabilities": [],
      "ambient": {
        "enabled": true,
        "triggers": [
          {
            "trigger_id": "<string>",
            "cooldown_seconds": 123,
            "relationship_scope": {},
            "resource_filters": [
              {
                "type": "<string>",
                "id": "<string>"
              }
            ],
            "quiet_hours": {
              "timezone": "<string>",
              "start": "<string>",
              "end": "<string>"
            }
          }
        ],
        "policy": {
          "allowed_resource_scopes": [
            {
              "type": "<string>",
              "id": "<string>"
            }
          ],
          "max_spend_cents_per_trigger": 1
        }
      },
      "trigger_filters": [
        {
          "resource_types": [
            "<string>"
          ],
          "states": [
            "<string>"
          ]
        }
      ],
      "model_policy": {
        "default_model": "<string>",
        "credential_secret_id": "<string>",
        "allowed_models": [
          "<string>"
        ],
        "severity_model_overrides": [
          {
            "model": "<string>"
          }
        ],
        "max_budget_cents": 1,
        "max_turn_budget_cents": 1
      },
      "runtime_policy": {
        "filesystem": "<string>",
        "shell": "<string>",
        "browser": "<string>"
      },
      "remediation_policy": {
        "repository_change_request": {
          "evidence_required": true,
          "allowed_actions": [
            "<string>"
          ],
          "blocked_actions": [
            "<string>"
          ]
        }
      },
      "grants": [
        {
          "resource": "<string>",
          "actions": [
            "<string>"
          ]
        }
      ],
      "created_at": 1,
      "updated_at": 1,
      "etag": "<string>"
    }
  ],
  "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

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

Response

Agent template 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.