API ReferenceBYOK
Add Provider Key
Add a BYOK key for a provider.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
provider*string
Header Parameters
X-API-Key?|
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
api_key*string
Response Body
application/json
application/json
curl -X POST "https://api.levainlabs.com/api/v1/byok/string" \ -H "Content-Type: application/json" \ -d '{ "api_key": "string" }'{
"id": "string",
"provider": "string",
"created_at": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}