GET
/
api
/
v1
/
agents
/
{agentId}
curl --location --request GET 'https://api.rapidagent.ai/api/v1/agents/{agentId}' \
--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
  }
}

Params

agentId
string
required

The ID of the agent.

Response

success
boolean

Indicates whether the call was successful.

data
object

A single agent object.

curl --location --request GET 'https://api.rapidagent.ai/api/v1/agents/{agentId}' \
--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
  }
}