Skip to content
Connect an agent

Keys

Read the signed-in account

Returns the person behind the session cookie.

GET/user/me

TL;DR

QuestionAnswer
What does it do?Read the signed-in account.
What does it take?Nothing.
What does it return?Status 200 with a body of type AccountProfile.
What can go wrong?401 not signed in; 429 too many requests. Every failure uses the one error envelope.

What it does

Returns the person behind the session cookie. The web apps call it to learn whether a visitor is signed in.

Responses

StatusMeaningBody
200The signed-in account.AccountProfile
401Not signed in.ErrorResponse
429Too many requests.ErrorResponse

Response body

A 200 answer has the type AccountProfile.

FieldTypeRequiredDescription
idstringyes
emailstringyes
namestring | nullyesThe name the account is shown by, or null for none.
createdAtintegeryesWhen the account was made, in milliseconds since the epoch.

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools