Stytch · Schema

api_b2b_session_v1_MemberSession

AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper Tools

Properties

Name Type Description
member_session_id string Globally unique UUID that identifies a specific Session.
member_id string Globally unique UUID that identifies a specific Member.
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`.
authentication_factors array An array of different authentication factors that comprise a Session.
organization_id string Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value.
roles array
organization_slug string The unique URL slug of the Organization. The slug only accepts alphanumeric characters and the following reserved characters: `-` `.` `_` `~`. Must be between 2 and 128 characters in length. Wherever
custom_claims object The custom claims map for a Session. Claims can be added to a session during a Sessions authenticate call.
View JSON Schema on GitHub

JSON Schema

stytch-api-b2b-session-v1-membersession-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/api_b2b_session_v1_MemberSession",
  "title": "api_b2b_session_v1_MemberSession",
  "type": "object",
  "properties": {
    "member_session_id": {
      "type": "string",
      "description": "Globally unique UUID that identifies a specific Session."
    },
    "member_id": {
      "type": "string",
      "description": "Globally unique UUID that identifies a specific Member."
    },
    "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`."
    },
    "authentication_factors": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/api_session_v1_AuthenticationFactor"
      },
      "description": "An array of different authentication factors that comprise a Session."
    },
    "organization_id": {
      "type": "string",
      "description": "Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value."
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "organization_slug": {
      "type": "string",
      "description": "The unique URL slug of the Organization. The slug only accepts alphanumeric characters and the following reserved characters: `-` `.` `_` `~`. Must be between 2 and 128 characters in length. Wherever an organization_id is expected in a path or request parameter, you may also use the organization_slug as a convenience."
    },
    "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": [
    "member_session_id",
    "member_id",
    "started_at",
    "last_accessed_at",
    "expires_at",
    "authentication_factors",
    "organization_id",
    "roles",
    "organization_slug"
  ]
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/stytch-api-b2b-session-v1-membersession"
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.