Users API — Agentuity Documentation

Users API

Get authenticated user information and organization memberships

Get authenticated user information and organization memberships.

https://catalyst-usw.agentuity.cloud

Authentication

All requests require a Bearer token. Pass your SDK key in the Authorization header.

HeaderValue
AuthorizationBearer YOUR_SDK_KEY

You can find your SDK key in the Agentuity Console under your project settings.


Get Current User

Retrieve the authenticated user's profile including name and organization memberships.

GET/cli/auth/user
https://catalyst-usw.agentuity.cloud/cli/auth/user

Response

Returns the authenticated user's profile including name and organization memberships.

StatusDescription
200User profile returned
401Unauthorized — invalid or missing Bearer token

Response Fields

FieldTypeDescription
firstNamestringthe first name of the user
lastNamestringthe last name of the user
organizationsobject[]the organizations the user is a member of
organizations[].idstringthe unique id for the organization
organizations[].namestringthe name of the organization

Example

curl -X GET 'https://catalyst-usw.agentuity.cloud/cli/auth/user' \
  -H 'Authorization: Bearer $AGENTUITY_SDK_KEY'