Get Corpus Agent Connections
GET
/api/v2/corpora/{corpus_id}/agents
Corporav2
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v2/corpora//agents'
Response Response Example
200 - Example 1
{
"success": true,
"message": "string",
"data": {
"corpus_agent_connections": [
{
"id": 0,
"agent": {
"id": 0,
"agent_type": {
"id": 0,
"name": "string"
},
"instructions": [
{
"id": 0,
"instruction": "string",
"is_deleted": true,
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"agent": 0
}
],
"agent_name": "string",
"domain": "string",
"prefix_prompt": "string",
"alias": "string",
"is_deleted": true,
"created_by": "string",
"access": "string",
"project": 0,
"llm_config": 0
},
"corpus": 0,
"created_by": "string",
"is_enabled": true,
"is_default": true,
"is_deleted": true,
"connected_by": 0
}
]
}
}
Request
Path Params
corpus_id
integerÂ
required