/api/v1/llm-providers (GET)
const url = 'https://api.endless.zaia.app/api/v1/llm-providers?pageNumber=1&pageSize=10';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.endless.zaia.app/api/v1/llm-providers?pageNumber=1&pageSize=10'Retrieves multiple LLM providers.
Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”The page number.
The page number.
The page size.
The page size.
Responses
Seção intitulada “Responses”Retrieves all LLM providers for the workspace.
object
A UUID v4 string that identifies an entity.
The API key used to authenticate with the LLM provider.
The internal description of the LLM provider configuration.
The sanitized diagnosis of the last client LLM provider failure.
The timestamp of the last client LLM provider failure.
The model that was requested when the last client LLM provider failure occurred.
The display name of the LLM provider configuration.
The optional reference ID associated with the LLM provider configuration.
The upstream LLM provider type configured for this record.
The workspace ID that owns the LLM provider configuration.
Example
[ { "type": "openai" }]Unauthorized.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}