Test LLM Connection
POST/api/v1/llm/test
Test an LLM connection. When api_key is omitted and model_id is provided, the stored key is used. Testing a stored model requires write permission on that model; a pre-save test requires write permission on the target collection. Testing an arbitrary URL without resource context is restricted to administrators and managers.
요청
응답
- 200
- 400
- 401
- 403
- 404
- 405
- 409
- 410
- 413
- 415
- 422
- 429
- 500
- 502
- 503
- 504
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Gone
Request Entity Too Large
Unsupported Media Type
Unprocessable Entity
Too Many Requests
Internal Server Error
Bad Gateway
Service Unavailable
Gateway Timeout