List LLM connections
const url = 'http://localhost:8080/api/v1/orgs/example/llm-connections?limit=50';const options = {method: 'GET', headers: {cookie: 'cetra_session=<cetra_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8080/api/v1/orgs/example/llm-connections?limit=50' \ --cookie cetra_session=<cetra_session>Any member of the organization.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Org UUID or slug.
Query Parameters
Section titled “Query Parameters”Page size. Default 50, accepted range 1–1000.
Spec 09 § Conventions.
Maximum number of items to return (1–1000, default 50).
Opaque cursor from a previous page.
Responses
Section titled “Responses”One page of connections, ordered by name. Keys and header values are not included.
One page of results. next_cursor is null when there is no next page.
object
Items in this page.
An LLM provider connection an evaluator calls. The API key and the header values are not fields (D-I-4).
object
The provider API the connection talks to.
Last 4 characters of the API key, or an empty string when the key is shorter than 16 characters.
Provider endpoint. Omitted when the provider’s default is used. May
carry only an api-version query parameter (Azure).
Creation time. JSON is RFC 3339.
User who created the connection. Omitted when that user is unknown.
Model used when a caller names none. Omitted when unset.
Extra header names, lowercase, sorted. The values are not included.
Connection id.
Last pause-class error. Omitted when unset.
When last_error was recorded. Omitted when unset.
Whether that test succeeded. Omitted with last_tested_at.
When the saved values were last tested on the default model or an embedding model. Omitted when never tested, and after a change of the adapter, key, base URL, structured output or headers. JSON is RFC 3339 (D-I-54).
Provider calls the connection runs at once, 1 to 64.
Display name, unique in the organization.
Provider calls per minute, 1 to 10000.
Whether the connection’s last test reached the provider.
How the provider is asked to fill the answer schema.
Last change time. JSON is RFC 3339.
Opaque cursor for the next page, or null when this is the last page.
Example
{ "data": [ { "adapter": "openai", "status": "ok", "structured_output": "native" } ]}The request is malformed or a filter is invalid.
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}No credentials, or the credentials are invalid.
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}The credentials do not allow this operation, or the organization’s plan does not include it (code plan_required).
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}The resource does not exist.
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}Too many requests.
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}