Skip to main content

Get Settings Status

curl -X GET https://api.asta.app/api/status \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "apis": {
    "claude": true,
    "openai": false,
    "ollama": true
  },
  "integrations": {
    "telegram": true
  },
  "thinking": {
    "level": "medium"
  },
  "reasoning": {
    "mode": "on"
  },
  "final": {
    "mode": "off"
  },
  "skills": [
    {
      "id": "files",
      "name": "Files",
      "enabled": true,
      "available": true
    }
  ]
}
apis
object
Status of configured API providers
thinking
object
Thinking level configuration
reasoning
object
Reasoning mode configuration

Get Thinking Settings

curl -X GET https://api.asta.app/api/settings/thinking \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "thinking_level": "medium",
  "provider": "claude",
  "model": "claude-3-5-sonnet-20241022",
  "options": ["off", "minimal", "low", "medium", "high", "xhigh"],
  "supports_xhigh": true
}
thinking_level
string
Current thinking level setting
provider
string
Active AI provider
model
string
Currently selected model
options
array
Available thinking level options for current provider

Update Thinking Settings

curl -X PUT https://api.asta.app/api/settings/thinking \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "thinking_level": "high"
  }'
thinking_level
string
required
Thinking level: off, minimal, low, medium, high, or xhigh
{
  "thinking_level": "high"
}

Get Reasoning Settings

curl -X GET https://api.asta.app/api/settings/reasoning \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "reasoning_mode": "on"
}
reasoning_mode
string
Current reasoning mode: off, on, or stream

Update Reasoning Settings

curl -X PUT https://api.asta.app/api/settings/reasoning \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "reasoning_mode": "stream"
  }'
reasoning_mode
string
required
Reasoning mode: off, on, or stream
{
  "reasoning_mode": "stream"
}

Get Mood Settings

curl -X GET https://api.asta.app/settings/mood \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "mood": "friendly"
}
mood
string
Current mood setting: serious, friendly, or normal

Update Mood Settings

curl -X PUT https://api.asta.app/settings/mood \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "mood": "serious"
  }'
mood
string
required
AI personality: serious, friendly, or normal
{
  "mood": "serious"
}

Build docs developers (and LLMs) love