curl --location --request POST 'https://api.superagent.sh/api/v1/agents' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
--data-raw '{
"agentId": "<AGENT_ID>",
"documentId": "<DOCUMENT_ID>"
}'
{
"success": true,
"data": {
"user": {},
"agent": {},
"agentId": "",
"document": {},
"documentId": ""
}
}
Create new agent document.
curl --location --request POST 'https://api.superagent.sh/api/v1/agents' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
--data-raw '{
"agentId": "<AGENT_ID>",
"documentId": "<DOCUMENT_ID>"
}'
{
"success": true,
"data": {
"user": {},
"agent": {},
"agentId": "",
"document": {},
"documentId": ""
}
}
Document
ID.Agent
ID.curl --location --request POST 'https://api.superagent.sh/api/v1/agents' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
--data-raw '{
"agentId": "<AGENT_ID>",
"documentId": "<DOCUMENT_ID>"
}'
{
"success": true,
"data": {
"user": {},
"agent": {},
"agentId": "",
"document": {},
"documentId": ""
}
}