Skip to main content
PATCH
/
agent_preferences
Update agent preferences
curl --request PATCH \
  --url https://api.akua.dev/v1/agent_preferences \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "learning_mode_enabled": true,
  "seen_concepts": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "workspace_id": "<string>",
  "user_id": "<string>",
  "learning_mode_enabled": true,
  "seen_concepts": [
    "<string>"
  ],
  "created_at": 1,
  "updated_at": 1,
  "etag": "<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"

Body

application/json
communication_profile
enum<string>
required
Available options:
BEGINNER,
INTERMEDIATE,
ADVANCED,
EXPERT,
ADAPTIVE
learning_mode_enabled
boolean
required
seen_concepts
string[]
required
Maximum array length: 200
Required string length: 1 - 120

Response

Agent preferences updated

id
string
required
Required string length: 1 - 54
workspace_id
string
required
Required string length: 1 - 53
user_id
string
required
communication_profile
enum<string>
required
Available options:
BEGINNER,
INTERMEDIATE,
ADVANCED,
EXPERT,
ADAPTIVE
learning_mode_enabled
boolean
required
seen_concepts
string[]
required
created_at
integer
required

Unix timestamp (seconds)

Required range: x >= 0
updated_at
integer
required

Unix timestamp (seconds)

Required range: x >= 0
etag
string
required