Sessions
A period of authenticated access, with expiration and client details used for revocation and audit.
- API name:
sessions - Domain: Auth
- Modules: My workspace, Administration
Fields
The API name is what the API, MCP and the CLI use.
| Name | API name | Type | Required | Description |
|---|---|---|---|---|
| ID | id | Record ID | Yes | |
| User ID | userId | User | Yes | |
| IP address | ipAddress | Text | ||
| User agent | userAgent | Text | ||
| Expires at | expiresAt | Timestamp | Yes | |
| Created at | createdAt | Timestamp | Yes | |
| Updated at | updatedAt | Timestamp | Yes |
Relations
Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.
| Field | Points to | Kind |
|---|---|---|
User ID userId | Users | grouped by |
Actions
What you can do with a record. Every action also sends the webhook event sessions.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Delete | delete | Delete this session and the data that belongs with it. This cannot be undone. | App · WebMCP · API · MCP · CLI |