GET
/
api
/
v1
/
agents
curl --location --request GET 'https://api.rapidagent.ai/api/v1/agents' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "clhjk4hab00016iewrghkbs28",
      "userId": "clhj28u1300006ig02ptpm1sh",
      "user": {},
      "document": {},
      "documentId": "clhnyae1t00016i2ixo0027c5",
      "name": "Test Agent",
      "type": "REACT",
      "llm": {
          "model": "gpt-3.5-turbo",
          "provider": "openai-chat"
      },
      "hasMemory": true,
      "AgentMemory": null
    }
  ]
}

Response

success
boolean

Indicates whether the call was successful.

data
object

List of agent objects.

curl --location --request GET 'https://api.rapidagent.ai/api/v1/agents' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "clhjk4hab00016iewrghkbs28",
      "userId": "clhj28u1300006ig02ptpm1sh",
      "user": {},
      "document": {},
      "documentId": "clhnyae1t00016i2ixo0027c5",
      "name": "Test Agent",
      "type": "REACT",
      "llm": {
          "model": "gpt-3.5-turbo",
          "provider": "openai-chat"
      },
      "hasMemory": true,
      "AgentMemory": null
    }
  ]
}