Skip to main content
GET
/
api
/
agents
List agents
curl --request GET \
  --url https://sontairo.com/api/agents
{
  "data": [
    {
      "id": "<string>",
      "workspaceId": "<string>",
      "projectId": "<string>",
      "name": "<string>",
      "description": "<string>",
      "systemPrompt": "<string>",
      "isActive": true,
      "providerKeyId": "<string>",
      "providerKey": {
        "id": "<string>",
        "name": "<string>",
        "provider": "<string>",
        "model": "<string>"
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Query Parameters

workspaceId
string
required

The workspace ID

projectId
string

Filter agents by project

Response

List of agents

data
object[]