Authorizations
Path Parameters
LLM ID
Body
application/json
Updated LLM information
LLM input model
curl --request PATCH \
--url http://localhost:8080/api/v1/llms/{id} \
--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>"
}Update an existing LLM’s information
curl --request PATCH \
--url http://localhost:8080/api/v1/llms/{id} \
--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 ID
Updated LLM information
LLM input model
Show child attributes
Was this page helpful?