whoami
View your signed-in account, active organization, permissions, plan and organization memberships.
Effect: This call reads data and does not run or change a project.
Inputs
cursor
string
Optional
Opaque pagination.next_cursor from the preceding page. Omit for the first page; preserve the resource and filters.
page_size
integer
Optional
Results per page. Default 50; maximum 200. Minimum 1.
Example
These are MCP tool arguments, not an HTTP request body. Replace bracketed IDs with values returned from your account.
{}Result
Abbreviated result example; unshown fields are omitted for clarity.
{
"current_org": {
"org_id": "<organization-id>",
"org_name": "<organization-name>",
"role": "<your-role>",
"permissions": [
"<permission-key>"
]
}
}Behavior
Follow pagination to see all memberships; current_org always contains the full details of your active organization.
Troubleshooting
If access is denied, confirm the active organization with whoami and check access to the selected resource. Use returned IDs rather than names. For an invalid argument, follow the returned next_action and correct the request.
Related resources
Was this helpful?

