Llm-configs
About 288 wordsLess than 1 minute
Generated from
docs/.vuepress/openapi.json. Refresh withnpm run gen:api. Back to overview.
GET /api/v1/llm-configs — Index LLMConfig
Tags: Llm-configs
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
POST /api/v1/llm-configs — Store LLMConfig
Tags: Llm-configs
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
GET /api/v1/llm-configs/{id} — Show LLMConfig
Tags: Llm-configs
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
PUT /api/v1/llm-configs/{id} — Update LLMConfig
Tags: Llm-configs
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
DELETE /api/v1/llm-configs/{id} — Destroy LLMConfig
Tags: Llm-configs
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
POST /api/v1/llm-configs/{id}/set-default — SetDefault LLMConfig
Tags: Llm-configs
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
GET /api/v1/llm-configs/effective — Effective LLM configuration for an agent
Tags: Llm-configs
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
agent_id | integer | yes | The agent whose effective configuration is resolved. The caller must be able to see the agent. |
Responses
| Status | Description |
|---|---|
200 | Effective configuration and the tier it came from |
404 | The agent is not visible to the caller |
422 | agent_id is missing or not a positive integer |
GET /api/v1/llm-configs/global — GlobalConfigs LLMConfig
Tags: Llm-configs
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |