Get my organization
Endpoint: GET /organizations/me
Description
Returns the organization that the authenticated API key belongs to, including its admin and member lists. Returns null if the key is not associated with any organization.
Parameters
None.
Error responses
401— Authentication failed.500— Server error.
Responses
200— JSON organization object, ornullif the key has no organization.
Example response (200)
{
"id": 12,
"name": "Acme Corp",
"org_admins": [
{
"id": 1,
"email": "admin@acme.com",
"role": { "id": 2, "name": "ORG_ADMIN", "label": "Org Admin" }
}
],
"members": [
{
"id": 7,
"email": "analyst@acme.com",
"role": { "id": 1, "name": "MEMBER", "label": "Member" }
}
],
"created_at": "2025-01-15T08:00:00Z",
"updated_at": "2026-03-10T12:00:00Z"
}
{
"id": 0,
"name": "string",
"org_admins": [
{
"id": 0,
"email": "string",
"role": { "id": 0, "name": "string", "label": "string" }
}
],
"members": [
{
"id": 0,
"email": "string",
"role": { "id": 0, "name": "string", "label": "string" }
}
],
"created_at": "date",
"updated_at": "date"
}
curl
curl "https://api.aegisevals.ai/api/v1/organizations/me" \
-H "Authorization: Bearer sk_00000000000000000000000000000000"