curl --request GET \
--url https://api.contextual.ai/v1/users \
--header 'Authorization: Bearer <token>'{
"users": [
{
"email": "<string>",
"is_tenant_admin": false,
"roles": [
"VISITOR"
],
"agent_level_roles": [
"AGENT_LEVEL_USER"
],
"per_agent_roles": [
{
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roles": [
"AGENT_LEVEL_USER"
],
"grant": true
}
],
"id": "<string>",
"effective_roles": [
"VISITOR"
]
}
],
"next_cursor": "<string>"
}Retrieve a list of users.
curl --request GET \
--url https://api.contextual.ai/v1/users \
--header 'Authorization: Bearer <token>'{
"users": [
{
"email": "<string>",
"is_tenant_admin": false,
"roles": [
"VISITOR"
],
"agent_level_roles": [
"AGENT_LEVEL_USER"
],
"per_agent_roles": [
{
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roles": [
"AGENT_LEVEL_USER"
],
"grant": true
}
],
"id": "<string>",
"effective_roles": [
"VISITOR"
]
}
],
"next_cursor": "<string>"
}Was this page helpful?