Configuration
Remove an assistant provider connection
Deletes the connection and its stored API key. Conversations that used it keep their history and ask to choose another enabled model before continuing.
DELETE
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.
id*stringLength
1 <= length <= 100Response for status 200
application/json- response
deletedId*stringaffectedConversations*integerRange
0 <= valuesettings*curl -X DELETE 'https://postdot.example/api/settings/assistant/connections/string'Example Response
{
"deletedId": "string",
"affectedConversations": 0,
"settings": {
"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
}
}
}Was this page helpful?
Add a model provider connection for the Studio assistant POST
Stores an encrypted API key for this provider connection and enables the listed models. Pass `defaultModel` to make one of its models the installation default.
Erase one member's Assistant memory, or everyone's DELETE
For an erasure request or offboarding: with `userId`, deletes that member’s preferences; without it, deletes every member’s. Requires `confirm=true`.