API Documentation
Prospects
Agents
VoiceModels
Hive
HiveAgentLink
Actions
ActionAgentLink
Products
Conversations
ConversationProspectLink
HiveAgentLink
List All Hives Linked to a Specific Agent
List All Hives Linked to a Specific Agent
GET
/
v1
/
ai-agents
/
{agent_id}
/
hives
Copy
curl --request GET \
--url https://api.trata.ai/v1/ai-agents/{agent_id}/hives \
--header 'Authorization: Bearer <token>'
Copy
[
{
"id": "hiv.1727418138.IPGwVl1f",
"orgId": "org.1726902940.GZChqlpU",
"content": {
"hiveType": "WEBSITE",
"url": "https://www.cotekoreansteakhouse.com/",
"hiveProps": {
"crawl_child_pages": true
}
},
"status": "completed",
"createdBy": "org.1726902940.GZChqlpU",
"createdAt": "2024-09-27T06:22:18.000277",
"updatedBy": "trata-system",
"updatedAt": "2024-09-27T06:27:34.276065"
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of the agent
Response
200
application/json
List of hives retrieved successfully
The response is of type Hive · object[]
.
Copy
curl --request GET \
--url https://api.trata.ai/v1/ai-agents/{agent_id}/hives \
--header 'Authorization: Bearer <token>'
Copy
[
{
"id": "hiv.1727418138.IPGwVl1f",
"orgId": "org.1726902940.GZChqlpU",
"content": {
"hiveType": "WEBSITE",
"url": "https://www.cotekoreansteakhouse.com/",
"hiveProps": {
"crawl_child_pages": true
}
},
"status": "completed",
"createdBy": "org.1726902940.GZChqlpU",
"createdAt": "2024-09-27T06:22:18.000277",
"updatedBy": "trata-system",
"updatedAt": "2024-09-27T06:27:34.276065"
}
]
Assistant
Responses are generated using AI and may contain mistakes.