Clerk · Schema

Clerk Client

Clerk Client object.

AuthenticationAuthorizationB2B SaaSCIAMIdentity ManagementMFAOpenID ConnectOrganizationPasskeysSAMLSecuritySessionsSSOUser Management

Properties

Name Type Description
object string String representing the object's type. Objects of the same type share the same value.
id string String representing the identifier of the session.
session_ids array
sessions array
sign_in_id string
sign_up_id string
last_active_session_id string Last active session_id.
last_authentication_strategy string The authentication strategy that was last used to authenticate the user on this client.
updated_at integer Unix timestamp of last update.
created_at integer Unix timestamp of creation.
View JSON Schema on GitHub

JSON Schema

clerk-client-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/clerk-com/main/json-schema/clerk-client-schema.json",
  "title": "Clerk Client",
  "description": "Clerk Client object.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "object": {
      "type": "string",
      "description": "String representing the object's type. Objects of the same type share the same value.\n",
      "enum": [
        "client"
      ]
    },
    "id": {
      "type": "string",
      "description": "String representing the identifier of the session.\n"
    },
    "session_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sessions": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "object": {
            "type": "string",
            "description": "String representing the object's type. Objects of the same type share the same value.\n",
            "enum": [
              "session"
            ]
          },
          "id": {
            "type": "string"
          },
          "user_id": {
            "type": "string"
          },
          "client_id": {
            "type": "string"
          },
          "actor": {
            "type": "object",
            "nullable": true
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "revoked",
              "ended",
              "expired",
              "removed",
              "abandoned",
              "replaced",
              "pending"
            ]
          },
          "last_active_organization_id": {
            "type": "string",
            "nullable": true
          },
          "last_active_at": {
            "type": "integer"
          },
          "latest_activity": {
            "type": "object",
            "nullable": true,
            "properties": {
              "object": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "device_type": {
                "type": "string"
              },
              "is_mobile": {
                "type": "boolean"
              },
              "browser_name": {
                "type": "string"
              },
              "browser_version": {
                "type": "string"
              },
              "ip_address": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "country": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "object",
              "is_mobile"
            ]
          },
          "expire_at": {
            "type": "integer",
            "format": "int64",
            "description": "Unix timestamp of expiration.\n"
          },
          "abandon_at": {
            "type": "integer",
            "format": "int64",
            "description": "Unix timestamp of abandonment.\n"
          },
          "updated_at": {
            "type": "integer",
            "format": "int64",
            "description": "Unix timestamp of last update.\n"
          },
          "created_at": {
            "type": "integer",
            "format": "int64",
            "description": "Unix timestamp of creation.\n"
          },
          "tasks": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                }
              },
              "required": [
                "key"
              ]
            }
          }
        },
        "required": [
          "object",
          "id",
          "user_id",
          "client_id",
          "status",
          "last_active_at",
          "expire_at",
          "abandon_at",
          "updated_at",
          "created_at"
        ]
      }
    },
    "sign_in_id": {
      "type": "string",
      "nullable": true
    },
    "sign_up_id": {
      "type": "string",
      "nullable": true
    },
    "last_active_session_id": {
      "nullable": true,
      "type": "string",
      "description": "Last active session_id.\n"
    },
    "last_authentication_strategy": {
      "nullable": true,
      "type": "string",
      "description": "The authentication strategy that was last used to authenticate the user on this client.\n"
    },
    "updated_at": {
      "type": "integer",
      "format": "int64",
      "description": "Unix timestamp of last update.\n"
    },
    "created_at": {
      "type": "integer",
      "format": "int64",
      "description": "Unix timestamp of creation.\n"
    }
  },
  "required": [
    "object",
    "id",
    "session_ids",
    "sessions",
    "sign_in_id",
    "sign_up_id",
    "last_active_session_id",
    "last_authentication_strategy",
    "updated_at",
    "created_at"
  ]
}

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/clerk-client"
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.