Groups
About 1173 wordsAbout 4 min
Generated from
docs/.vuepress/openapi.json. Refresh withnpm run gen:api. Back to overview.
GET /api/v1/groups — Index Group
Tags: Groups
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
POST /api/v1/groups — Store Group
Tags: Groups
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
GET /api/v1/groups/{groupId}/api-keys — List a group’s API keys
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
groupId | string | yes |
Responses
| Status | Description |
|---|---|
200 | Key metadata. Secrets are never returned. |
403 | The caller cannot manage this group. |
POST /api/v1/groups/{groupId}/api-keys — Mint a group API key
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
groupId | string | yes |
Request body
application/json — required
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | At most 100 characters. |
Responses
| Status | Description |
|---|---|
201 | The key, with its plaintext secret. Shown once. |
403 | The caller cannot manage this group. |
422 | The name was missing or too long. |
DELETE /api/v1/groups/{groupId}/api-keys/{keyId} — Revoke a group API key
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
groupId | string | yes | |
keyId | string | yes |
Responses
| Status | Description |
|---|---|
200 | Revoked. Idempotent — the same body whether or not the key existed. |
403 | The caller cannot manage this group. |
GET /api/v1/groups/{id} — Show Group
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
PATCH /api/v1/groups/{id} — Update Group
Tags: Groups
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/groups/{id} — Destroy Group
Tags: Groups
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/groups/{id}/agents — Agents Group
Tags: Groups
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/groups/{id}/llm-configs — Index GroupLlmConfigs
Tags: Groups
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/groups/{id}/llm-configs — Store GroupLlmConfigs
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
PATCH /api/v1/groups/{id}/llm-configs/{cid} — Update GroupLlmConfigs
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes | |
cid | integer | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
DELETE /api/v1/groups/{id}/llm-configs/{cid} — Destroy GroupLlmConfigs
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes | |
cid | integer | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
POST /api/v1/groups/{id}/llm-configs/{cid}/set-default — SetDefault GroupLlmConfigs
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes | |
cid | integer | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
GET /api/v1/groups/{id}/locations — List a group’s saved locations
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes |
Responses
| Status | Description |
|---|---|
200 | The locations saved for this group. |
404 | The group does not exist, or the caller is not a member. |
POST /api/v1/groups/{id}/locations — Save a location for a group
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes |
Request body
application/json — required
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | At most 100 characters. |
address | string | yes | |
is_default | boolean | no |
Responses
| Status | Description |
|---|---|
201 | The saved location. |
403 | The caller is a member of the group but not an owner or admin. |
404 | The group does not exist, or the caller is not a member. |
422 | The name or the address was missing or empty. |
PATCH /api/v1/groups/{id}/locations/{locationId} — Edit one of a group’s saved locations
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes | |
locationId | integer | yes |
Request body
application/json — required
| Field | Type | Required | Description |
|---|---|---|---|
name | string | null | no | At most 100 characters. |
address | string | null | no | |
is_default | boolean | no |
Responses
| Status | Description |
|---|---|
200 | The updated location. |
403 | The caller is a member of the group but not an owner or admin. |
404 | The group or the location does not exist, or the caller is not a member. |
422 | A name or an address that was sent was empty. |
DELETE /api/v1/groups/{id}/locations/{locationId} — Delete one of a group’s saved locations
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes | |
locationId | integer | yes |
Responses
| Status | Description |
|---|---|
200 | Deleted. |
403 | The caller is a member of the group but not an owner or admin. |
404 | The group or the location does not exist, or the caller is not a member. |
GET /api/v1/groups/{id}/members — Index GroupMember
Tags: Groups
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/groups/{id}/members — Store GroupMember
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
PATCH /api/v1/groups/{id}/members/{uid} — Update GroupMember
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes | |
uid | string | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
DELETE /api/v1/groups/{id}/members/{uid} — Destroy GroupMember
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes | |
uid | string | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
POST /api/v1/groups/{id}/picture/image — UploadImage GroupPicture
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
DELETE /api/v1/groups/{id}/picture/image — DeleteImage GroupPicture
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
GET /api/v1/groups/{id}/preferences — Show GroupPreferences
Tags: Groups
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/groups/{id}/preferences — Update GroupPreferences
Tags: Groups
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/groups/{id}/tools — Index GroupTools
Tags: Groups
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/groups/{id}/tools/{toolClass} — Upsert GroupTools
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes | |
toolClass | string | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |
DELETE /api/v1/groups/{id}/tools/{toolClass} — Destroy GroupTools
Tags: Groups
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | yes | |
toolClass | string | yes |
Responses
| Status | Description |
|---|---|
default | JSON envelope: {data: ...} on success, {error: {code, message}} on error. |