Stytch · Schema
api_session_v1_Session
AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper Tools
Properties
| Name | Type | Description |
|---|---|---|
| session_id | string | A unique identifier for a specific Session. |
| user_id | string | The unique ID of the affected User. |
| authentication_factors | array | An array of different authentication factors that comprise a Session. |
| roles | array | |
| started_at | string | The timestamp when the Session was created. Values conform to the RFC 3339 standard and are expressed in UTC, e.g. `2021-12-29T12:33:09Z`. |
| last_accessed_at | string | The timestamp when the Session was last accessed. Values conform to the RFC 3339 standard and are expressed in UTC, e.g. `2021-12-29T12:33:09Z`. |
| expires_at | string | The timestamp when the Session expires. Values conform to the RFC 3339 standard and are expressed in UTC, e.g. `2021-12-29T12:33:09Z`. |
| attributes | object | Provided attributes help with fraud detection. |
| custom_claims | object | The custom claims map for a Session. Claims can be added to a session during a Sessions authenticate call. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/api_session_v1_Session",
"title": "api_session_v1_Session",
"type": "object",
"properties": {
"session_id": {
"type": "string",
"description": "A unique identifier for a specific Session."
},
"user_id": {
"type": "string",
"description": "The unique ID of the affected User."
},
"authentication_factors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/api_session_v1_AuthenticationFactor"
},
"description": "An array of different authentication factors that comprise a Session."
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"started_at": {
"type": "string",
"description": "The timestamp when the Session was created. Values conform to the RFC 3339 standard and are expressed in UTC, e.g. `2021-12-29T12:33:09Z`."
},
"last_accessed_at": {
"type": "string",
"description": "The timestamp when the Session was last accessed. Values conform to the RFC 3339 standard and are expressed in UTC, e.g. `2021-12-29T12:33:09Z`."
},
"expires_at": {
"type": "string",
"description": "The timestamp when the Session expires. Values conform to the RFC 3339 standard and are expressed in UTC, e.g. `2021-12-29T12:33:09Z`."
},
"attributes": {
"$ref": "#/components/schemas/api_attribute_v1_Attributes",
"description": "Provided attributes help with fraud detection."
},
"custom_claims": {
"type": "object",
"additionalProperties": true,
"description": "The custom claims map for a Session. Claims can be added to a session during a Sessions authenticate call."
}
},
"required": [
"session_id",
"user_id",
"authentication_factors",
"roles"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/stytch-api-session-v1-session"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.