Skip to Content
Configuration

List the models Postdot knows for an assistant provider

Suggestions from the bundled catalog, with each model’s context window and supported reasoning levels. A newer model can still be typed by name. Empty for an OpenAI-compatible server.

GET
/api/settings/assistant/models

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.

Query Parameters

provider*string
Value in"openai-compatible""openai""anthropic""google""openrouter"

Response Body

Response for status 200

application/json
  1. response
models*array<>
Example Request
curl -X GET 'https://postdot.example/api/settings/assistant/models?provider=openai-compatible'
Example Response
{
  "models": [
    {
      "id": "string",
      "name": "string",
      "contextWindow": 0,
      "reasoningLevels": [
        "off"
      ]
    }
  ]
}

Was this page helpful?