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 Account.
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.Account
401Not signed in.ErrorResponse
429Too many requests.ErrorResponse

Response body

A 200 answer has the type Account.

FieldTypeRequiredDescription
idstringyes
emailstringyes

See also

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