GET
/
api
/
v1
/
agent-documents
/
{agentDocumentId}
curl --location --request GET 'https://api.superagent.sh/api/v1/agent-documents/{agentDocumentId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "clhjk4hab00016iewrghkbs28",
    "agent": {},
    "agentId": "clhnyae1t00016i2ixo0027c2",
    "document": {},
    "documentId": "clhnyae1t00016i2ixo0027c5"
  }
}

Params

agentDocumentId
string
required
The ID of the agent document.

Response

success
boolean
Indicates whether the call was successful.
data
object
A single agent document object.
curl --location --request GET 'https://api.superagent.sh/api/v1/agent-documents/{agentDocumentId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "clhjk4hab00016iewrghkbs28",
    "agent": {},
    "agentId": "clhnyae1t00016i2ixo0027c2",
    "document": {},
    "documentId": "clhnyae1t00016i2ixo0027c5"
  }
}