Retrieves a single agent definition by ID.
curl --request GET \
--url https://api.case.dev/agent/v1/agents/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"instructions": "<string>",
"model": "<string>",
"vaultIds": [
"<string>"
],
"enabledTools": [
"<string>"
],
"disabledTools": [
"<string>"
],
"sandbox": {},
"isActive": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}API key starting with sk_case_
Agent ID
Was this page helpful?
curl --request GET \
--url https://api.case.dev/agent/v1/agents/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"instructions": "<string>",
"model": "<string>",
"vaultIds": [
"<string>"
],
"enabledTools": [
"<string>"
],
"disabledTools": [
"<string>"
],
"sandbox": {},
"isActive": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}