LLM Providers
Retrieves multiple LLM provider options.
A UUID v4 string that identifies an entity.
The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
Retrieves all available LLM models.
Unauthorized.
GET /api/v1/llm-providers/options HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Accept: */*
[
{
"aiLab": "text",
"artificialAnalysisReference": "text",
"cost": 1,
"indicators": {
"bestCostBenefit": true,
"bestOverall": true,
"defaultChoice": true,
"deprecated": true,
"fast": true,
"greatForTooling": true,
"score": 1,
"smart": true
},
"label": "text",
"name": "claude-haiku-4-5",
"provider": "openai"
}
]Retrieves multiple LLM providers.
The page number.
1The page size.
10[]The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
Retrieves all LLM providers for the workspace.
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.
Unauthorized.
GET /api/v1/llm-providers HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Accept: */*
[
{
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isRemoved": true,
"updatedAt": "2026-01-01T00:00:00.000Z",
"apiKey": "text",
"description": "text",
"lastError": "text",
"lastErrorAt": "2026-01-01T00:00:00.000Z",
"lastErrorModel": "text",
"name": "text",
"referenceId": "123e4567-e89b-12d3-a456-426614174000",
"type": "openai",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000"
}
]Creates a new LLM provider.
The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
The API key used to authenticate with the LLM provider.
The internal description of the LLM provider configuration.
The display name of the LLM provider configuration.
The upstream LLM provider type configured for this record.
The LLM provider was created.
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.
Unauthorized.
POST /api/v1/llm-providers HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"apiKey": "text",
"description": "text",
"name": "text",
"type": "openai"
}{
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isRemoved": true,
"updatedAt": "2026-01-01T00:00:00.000Z",
"apiKey": "text",
"description": "text",
"lastError": "text",
"lastErrorAt": "2026-01-01T00:00:00.000Z",
"lastErrorModel": "text",
"name": "text",
"referenceId": "123e4567-e89b-12d3-a456-426614174000",
"type": "openai",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000"
}A UUID v4 string that identifies an entity.
The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
Retrieves an LLM provider.
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.
Unauthorized.
LLM provider not found.
GET /api/v1/llm-providers/{id} HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Accept: */*
{
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isRemoved": true,
"updatedAt": "2026-01-01T00:00:00.000Z",
"apiKey": "text",
"description": "text",
"lastError": "text",
"lastErrorAt": "2026-01-01T00:00:00.000Z",
"lastErrorModel": "text",
"name": "text",
"referenceId": "123e4567-e89b-12d3-a456-426614174000",
"type": "openai",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000"
}Removes an LLM provider.
A UUID v4 string that identifies an entity.
The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
The LLM provider was removed.
An informative message for a call that has no effective result to be returned.
Unauthorized.
LLM provider not found.
DELETE /api/v1/llm-providers/{id} HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Accept: */*
{
"message": "text"
}Updates an LLM provider.
A UUID v4 string that identifies an entity.
The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
The API key used to authenticate with the LLM provider.
The internal description of the LLM provider configuration.
The display name of the LLM provider configuration.
The optional reference ID associated with the LLM provider configuration.
The LLM provider was updated.
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.
Unauthorized.
LLM provider not found.
PATCH /api/v1/llm-providers/{id} HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"apiKey": "text",
"description": "text",
"name": "text",
"referenceId": "123e4567-e89b-12d3-a456-426614174000"
}{
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isRemoved": true,
"updatedAt": "2026-01-01T00:00:00.000Z",
"apiKey": "text",
"description": "text",
"lastError": "text",
"lastErrorAt": "2026-01-01T00:00:00.000Z",
"lastErrorModel": "text",
"name": "text",
"referenceId": "123e4567-e89b-12d3-a456-426614174000",
"type": "openai",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000"
}Last updated