Skip to main content
POST
/
v1
/
user
/
llm-config
Create or update a user BYOK LLM key
curl --request POST \
  --url https://api.suprlogs.com/v1/user/llm-config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "openai",
  "api_key": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Send API key as Authorization: Bearer .

Body

application/json
provider
enum<string>
required
Available options:
openai,
anthropic
api_key
string
required
Required string length: 1 - 512

Response

Stored successfully.

The response is of type object.