cURL
curl --request GET \ --url https://api.example.com/api/v1/openai/models \ --header 'Authorization: Basic <encoded-value>'
{ "data": [ { "id": "<string>", "provider": { "capabilities": [ "llm" ] }, "created": 0, "object": "model", "owned_by": "unknown", "display_name": "<string>" } ], "object": "list" }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Successful Response
Show child attributes
"list"