curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/presence/agent/{agent_id} \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"user_id": "<string>",
"user_email": "<string>",
"user_name": "<string>",
"user_avatar": "<string>",
"agent_id": "<string>",
"session_id": "<string>",
"execution_id": "<string>",
"is_active": true,
"is_typing": true,
"last_active_at": "2023-11-07T05:31:56Z"
}
]Get all active users for an agent
curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/presence/agent/{agent_id} \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"user_id": "<string>",
"user_email": "<string>",
"user_name": "<string>",
"user_avatar": "<string>",
"agent_id": "<string>",
"session_id": "<string>",
"execution_id": "<string>",
"is_active": true,
"is_typing": true,
"last_active_at": "2023-11-07T05:31:56Z"
}
]Enter your Kubiya API token (format: Bearer
Successful Response
Was this page helpful?