Keys
Read the signed-in account
Returns the person behind the session cookie.
GET
/user/meTL;DR
| Question | Answer |
|---|---|
| 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
| Status | Meaning | Body |
|---|---|---|
| 200 | The signed-in account. | Account |
| 401 | Not signed in. | ErrorResponse |
| 429 | Too many requests. | ErrorResponse |
Response body
A 200 answer has the type Account.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
email | string | yes |
See also
| Doc | Why |
|---|---|
| API reference | Every endpoint, and the error envelope |
| Schemas | Every request and response type |
| Tool reference | The operations as callable tools |