POST
/
llm_integration
/
openai
curl -X 'POST' \
  'https://api.coaxial.ai/llm_integration/openai' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer <api_key>' \
  -H 'Content-Type: application/json' \
  -d '{
  "openai_key": <openai_api_key>
}'
{
  "model": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "model_name": "string",
    "integration_type": "string",
    "coaxial_id": <coaxial_model_id>
  }
}
curl -X 'POST' \
  'https://api.coaxial.ai/llm_integration/openai' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer <api_key>' \
  -H 'Content-Type: application/json' \
  -d '{
  "openai_key": <openai_api_key>
}'
{
  "model": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "model_name": "string",
    "integration_type": "string",
    "coaxial_id": <coaxial_model_id>
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
openai_key
string
required

Response

200
application/json
An array of LLM information
models
object[]
required

The LLM model