Agents

List agents

GET /api/v1/agents

List agents

Returns agents configured for a company. Instructions are never included in responses.

Responses

Status Schema Description
200 PublicAgent[]

Agents configured for the company

401 AgentError

Missing or invalid auth

403 AgentError

Caller cannot access agents for this company

Example 200 response
[
    {
        "id": 1,
        "identifier": "string",
        "name": "string"
    }
]
Example 401 response
{
    "error": "string",
    "message": "string",
    "issues": [
        {
            "path": [
                "string"
            ],
            "message": "string",
            "code": "string"
        }
    ]
}
Example 403 response
{
    "error": "string",
    "message": "string",
    "issues": [
        {
            "path": [
                "string"
            ],
            "message": "string",
            "code": "string"
        }
    ]
}