Configuration
Read the assistant settings: provider connections, default model and limits
Provider API keys are never returned; `hasApiKey` tells whether one is stored on each connection. Top-level `provider`, `model` and `models` mirror the default connection for backward compatibility.
GET
header
AuthorizationBearer <Postdot API key>A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.
Response for status 200
application/json- response
enabled*booleandefaultConnectionId*stringdefaultModel*stringlimits*connections*array<>source*stringValue in
"database""deployment""none"provider*stringValue in
"openai-compatible""openai""anthropic""google""openrouter"baseUrl*stringLength
length <= 2048model*stringLength
length <= 200models*array<>Enabled models on this provider connection. Each model has an ID, an optional short note and, on OpenAI-compatible servers, whether it accepts images.
Items
items <= 50contextWindow*|nullhasApiKey*booleanmemory*curl -X GET 'https://postdot.example/api/settings/assistant'Example Response
{
"enabled": true,
"defaultConnectionId": "string",
"defaultModel": "string",
"limits": {
"maxRunning": 1,
"maxTurns": 1,
"answerTimeoutSeconds": 10,
"retentionDays": 1
},
"connections": [
{
"id": "string",
"provider": "openai-compatible",
"label": "string",
"baseUrl": "string",
"enabled": true,
"models": [
{
"id": "string",
"note": "string",
"images": true
}
],
"contextWindow": 4000,
"hasApiKey": true,
"conversationCount": 0,
"createdAt": 0,
"updatedAt": 0
}
],
"source": "database",
"provider": "openai-compatible",
"baseUrl": "string",
"model": "string",
"models": [
{
"id": "string",
"note": "string",
"images": true
}
],
"contextWindow": 4000,
"hasApiKey": true,
"memory": {
"enabled": true,
"maxEntriesAllProjects": 5,
"maxEntriesPerProject": 5,
"maxCharactersAllProjects": 400,
"maxCharactersPerProject": 400,
"entryCount": 0
}
}