Configuration
Save installation assistant settings: enabled toggle, default model and limits
Updates whether the assistant is offered, its default connection and model (`defaultConnectionId`, `defaultModel`), limits and optional installation memory settings. Manage provider connections under `/api/settings/assistant/connections`.
PUT
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.
- body
enabled*booleandefaultConnectionId?stringLength
length <= 100defaultModel?stringLength
length <= 200limits*memory?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 PUT 'https://postdot.example/api/settings/assistant' \
-H 'Content-Type: application/json' \
-d '{
"enabled": true,
"limits": {
"maxRunning": 1,
"maxTurns": 1,
"answerTimeoutSeconds": 10,
"retentionDays": 1
}
}'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
}
}