Skip to main content
POST
/
api
/
v2
/
config
/
resources
/
language_models
Add Language Model
curl --request POST \
  --url http://localhost:8080/api/v2/config/resources/language_models \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "provider": "openai-responses",
  "config": {}
}
'
{
  "success": true,
  "status": "READY",
  "error": "<string>"
}

Body

application/json
name
string
required
provider
enum<string>
required
Available options:
openai-responses,
openai-chat-completions,
amazon-bedrock
config
object
required

Response

201 - application/json

Created

success
boolean
required
status
enum<string>
required
Available options:
READY,
FAILED,
INITIALIZING
error
string | null