Test Llm Profile
curl --request POST \
--url https://api.example.com/api/v1/llm-profiles/{profile_id}/testimport requests
url = "https://api.example.com/api/v1/llm-profiles/{profile_id}/test"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/v1/llm-profiles/{profile_id}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"message": "<string>",
"checked_url": "<string>",
"response_time_ms": 123,
"status_code": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}llm-profiles
Test Llm Profile
Test connectivity to an LLM profile.
POST
/
api
/
v1
/
llm-profiles
/
{profile_id}
/
test
Test Llm Profile
curl --request POST \
--url https://api.example.com/api/v1/llm-profiles/{profile_id}/testimport requests
url = "https://api.example.com/api/v1/llm-profiles/{profile_id}/test"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/v1/llm-profiles/{profile_id}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"message": "<string>",
"checked_url": "<string>",
"response_time_ms": 123,
"status_code": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}