Skip to Content
Configuration

List configured assistant provider connections

Returns each connection with its provider, label, enabled models, whether an API key is stored, and how many conversations currently use it. API keys are never returned.

GET
/api/settings/assistant/connections

Authorization

headerAuthorizationBearer <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 Body

Response for status 200

application/json
  1. response
connections*array<>
defaultConnectionId*string
defaultModel*string
Example Request
curl -X GET 'https://postdot.example/api/settings/assistant/connections'
Example Response
{
  "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
    }
  ],
  "defaultConnectionId": "string",
  "defaultModel": "string"
}

Was this page helpful?