curl --location -g --request PUT 'https:///api/v2/agents//corpora/' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"is_enabled": true
}'
{
"message": "string",
"success": true,
"data": {
"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": {
"id": 0,
"indexing_mode": {
"id": 0,
"mode": "exhaustive"
},
"name": "string",
"description": "string",
"owner": {
"id": 0,
"email": "user@example.com",
"is_superuser": true,
"first_name": "string",
"last_name": "string",
"organization": {
"id": 0,
"org_name": "string"
}
},
"tags": [
"string"
]
},
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"modified_by": "string",
"modified_on": "2019-08-24T14:15:22Z",
"is_enabled": true,
"is_default": true,
"is_deleted": true,
"connected_by": 0
}
}