Authorizations
Body
application/json
LLM information
LLM input model
curl --request POST \
--url http://localhost:8080/api/v1/llms \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"active": true,
"api_endpoint": "<string>",
"api_key": "<string>",
"logo_url": "<string>",
"long_description": "<string>",
"name": "<string>",
"privacy_score": 123,
"short_description": "<string>",
"vendor": "<string>"
},
"type": "<string>"
}
}
'{
"attributes": {
"active": true,
"api_endpoint": "<string>",
"api_key": "<string>",
"logo_url": "<string>",
"long_description": "<string>",
"name": "<string>",
"privacy_score": 123,
"short_description": "<string>",
"vendor": "<string>"
},
"id": "<string>",
"type": "<string>"
}Create a new LLM with the provided information
curl --request POST \
--url http://localhost:8080/api/v1/llms \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"active": true,
"api_endpoint": "<string>",
"api_key": "<string>",
"logo_url": "<string>",
"long_description": "<string>",
"name": "<string>",
"privacy_score": 123,
"short_description": "<string>",
"vendor": "<string>"
},
"type": "<string>"
}
}
'{
"attributes": {
"active": true,
"api_endpoint": "<string>",
"api_key": "<string>",
"logo_url": "<string>",
"long_description": "<string>",
"name": "<string>",
"privacy_score": 123,
"short_description": "<string>",
"vendor": "<string>"
},
"id": "<string>",
"type": "<string>"
}LLM information
LLM input model
Show child attributes
Was this page helpful?