GET
/
{resourceSlug}
/
agent
/
{agentId}
.json
curl --request GET \
  --url https://app.agentcloud.dev/{resourceSlug}/agent/{agentId}.json
{
  "_id": "<string>",
  "orgId": "<string>",
  "teamId": "<string>",
  "name": "<string>",
  "role": "<string>",
  "goal": "<string>",
  "backstory": "<string>",
  "modelId": "<string>",
  "functionModelId": "<string>",
  "verbose": true,
  "allowDelegation": true,
  "toolIds": [
    "<string>"
  ],
  "icon": {}
}

Path Parameters

resourceSlug
string
required

The resourceSlug is a url parameter of the teamId associated with the user

agentId
string
required

The url parameter with the Id of the agent to get

Response

200
agent.json

JSON object containing found agent using the agentId and the teamId

An agent object used for tasks or apps