Skip to Content
Configuration

Save the dictation settings: transcription provider, model and recording limit

The provider must offer an OpenAI-compatible `/audio/transcriptions` endpoint. Omit `apiKey` to keep the stored key; send `null` to remove it. Postdot keeps no audio after a transcription.

PUT
/api/settings/assistant/transcription

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.

Request Body

  1. body
enabled*boolean
provider*string
Value in"openai""openai-compatible"
baseUrl*string
Lengthlength <= 2048
model*string

Transcription model ID.

Lengthlength <= 200
maxSeconds*integer

Longest recording Studio accepts, in seconds.

Range10 <= value <= 600
apiKey?|null

Response Body

Response for status 200

application/json
  1. response
enabled*boolean
provider*string
Value in"openai""openai-compatible"
baseUrl*string
Lengthlength <= 2048
model*string

Transcription model ID.

Lengthlength <= 200
maxSeconds*integer

Longest recording Studio accepts, in seconds.

Range10 <= value <= 600
hasApiKey*boolean
source*string
Value in"database""deployment""none"
Example Request
curl -X PUT 'https://postdot.example/api/settings/assistant/transcription' \
  -H 'Content-Type: application/json' \
  -d '{
  "enabled": true,
  "provider": "openai",
  "baseUrl": "string",
  "model": "string",
  "maxSeconds": 10
}'
Example Response
{
  "enabled": true,
  "provider": "openai",
  "baseUrl": "string",
  "model": "string",
  "maxSeconds": 10,
  "hasApiKey": true,
  "source": "database"
}

Was this page helpful?