Skip to main content
POST
/
api
/
ai-models
/
organization
/
{organizationId}
/
current
Set current active AI model for organization
curl --request POST \
  --url https://your-instance.example.com/api/ai-models/organization/{organizationId}/current \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "index": 123,
  "modelDetail": "<string>",
  "aiModelId": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

Body

application/json
index
integer
required
modelDetail
string
required
aiModelId
string
required

Response

Current AI model updated

Generic response envelope. Endpoint-specific fields are intentionally open.