Account information
GET
/auth/me
const url = 'https://localhost:3000/api/v1/auth/me';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:3000/api/v1/auth/me \ --header 'Authorization: <Authorization>'Returns the profile and plan limits of the authenticated user
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Account information
Media typeapplication/json
object
created_at
required
string format: date-time
display_name
DisplayName is the optional name shown to tenant members; absent when unset.
string
id
required
string format: uuid
limits
required
object
is_unlimited
required
boolean
max_triggers
required
integer
retention
required
string
rpm
required
integer
plan
required
string
Example
{ "created_at": "2024-01-15T10:30:00Z", "display_name": "Alice", "id": "550e8400-e29b-41d4-a716-446655440000", "limits": { "is_unlimited": false, "max_triggers": 5, "retention": "7 days", "rpm": 600 }, "plan": "free"}Unauthorized
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}Erreur interne
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}