2025-11-04 10:16:43 -05:00
|
|
|
/api/v4/agents:
|
|
|
|
|
get:
|
|
|
|
|
tags:
|
|
|
|
|
- agents
|
|
|
|
|
summary: Get available agents
|
|
|
|
|
description: >
|
|
|
|
|
Retrieve all available agents from the plugin's bridge API.
|
|
|
|
|
If a user ID is provided, only agents accessible to that user are returned.
|
|
|
|
|
|
|
|
|
|
##### Permissions
|
|
|
|
|
|
|
|
|
|
Must be authenticated.
|
|
|
|
|
|
|
|
|
|
__Minimum server version__: 11.2
|
|
|
|
|
operationId: GetAgents
|
|
|
|
|
responses:
|
|
|
|
|
"200":
|
|
|
|
|
description: Agents retrieved successfully
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|
$ref: "#/components/schemas/AgentsResponse"
|
|
|
|
|
"401":
|
|
|
|
|
$ref: "#/components/responses/Unauthorized"
|
|
|
|
|
"500":
|
|
|
|
|
$ref: "#/components/responses/InternalServerError"
|
2026-01-26 17:05:34 -05:00
|
|
|
/api/v4/agents/status:
|
|
|
|
|
get:
|
|
|
|
|
tags:
|
|
|
|
|
- agents
|
|
|
|
|
summary: Get agents bridge status
|
|
|
|
|
description: >
|
|
|
|
|
Retrieve the status of the AI plugin bridge.
|
|
|
|
|
Returns availability boolean and a reason code if unavailable.
|
|
|
|
|
|
|
|
|
|
##### Permissions
|
|
|
|
|
|
|
|
|
|
Must be authenticated.
|
|
|
|
|
|
|
|
|
|
__Minimum server version__: 11.2
|
|
|
|
|
operationId: GetAgentsStatus
|
|
|
|
|
responses:
|
|
|
|
|
"200":
|
|
|
|
|
description: Status retrieved successfully
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|
$ref: "#/components/schemas/AgentsIntegrityResponse"
|
|
|
|
|
"401":
|
|
|
|
|
$ref: "#/components/responses/Unauthorized"
|
|
|
|
|
"500":
|
|
|
|
|
$ref: "#/components/responses/InternalServerError"
|
2025-11-04 10:16:43 -05:00
|
|
|
/api/v4/llmservices:
|
|
|
|
|
get:
|
|
|
|
|
tags:
|
|
|
|
|
- agents
|
|
|
|
|
summary: Get available LLM services
|
|
|
|
|
description: >
|
|
|
|
|
Retrieve all available LLM services from the plugin's bridge API.
|
|
|
|
|
If a user ID is provided, only services accessible to that user
|
|
|
|
|
(via their permitted bots) are returned.
|
|
|
|
|
|
|
|
|
|
##### Permissions
|
|
|
|
|
|
|
|
|
|
Must be authenticated.
|
|
|
|
|
|
|
|
|
|
__Minimum server version__: 11.2
|
|
|
|
|
operationId: GetLLMServices
|
|
|
|
|
responses:
|
|
|
|
|
"200":
|
|
|
|
|
description: LLM services retrieved successfully
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|
$ref: "#/components/schemas/ServicesResponse"
|
|
|
|
|
"401":
|
|
|
|
|
$ref: "#/components/responses/Unauthorized"
|
|
|
|
|
"500":
|
|
|
|
|
$ref: "#/components/responses/InternalServerError"
|
|
|
|
|
|