Numspot · Schema

AuthenticationMethod identifies an authentication method

A Session

CompanyCloudSovereign CloudInfrastructure-as-a-ServiceObject StorageKubernetesFrance

Properties

Name Type Description
active boolean Active state. If false the session is no longer active.
authenticated_at string The Session Authentication Timestamp When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challen
authentication_methods object
authenticator_assurance_level object
devices array Devices has history of all endpoints where the session was used
expires_at string The Session Expiry When this session expires at.
id string Session ID
identity object
issued_at string The Session Issuance Timestamp When this session was issued at. Usually equal or close to `authenticated_at`.
tokenized string Tokenized is the tokenized (e.g. JWT) version of the session. It is only set when the `tokenize` query parameter was set to a valid tokenize template during calls to `/session/whoami`.
View JSON Schema on GitHub

JSON Schema

numspot-session-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/numspot/json-schema/numspot-session-schema.json",
  "title": "AuthenticationMethod identifies an authentication method",
  "description": "A Session",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/numspot-openapi.yml#/components/schemas/Session",
  "type": "object",
  "properties": {
    "active": {
      "type": "boolean",
      "description": "Active state. If false the session is no longer active."
    },
    "authenticated_at": {
      "type": "string",
      "format": "date-time",
      "description": "The Session Authentication Timestamp\n\nWhen this session was authenticated at. If multi-factor authentication was used this\nis the time when the last factor was authenticated (e.g. the TOTP code challenge was completed)."
    },
    "authentication_methods": {
      "$ref": "#/$defs/SessionAuthenticationMethods"
    },
    "authenticator_assurance_level": {
      "$ref": "#/$defs/AuthenticatorAssuranceLevel"
    },
    "devices": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SessionDevice"
      },
      "description": "Devices has history of all endpoints where the session was used"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "description": "The Session Expiry\n\nWhen this session expires at."
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Session ID"
    },
    "identity": {
      "$ref": "#/$defs/Identity"
    },
    "issued_at": {
      "type": "string",
      "format": "date-time",
      "description": "The Session Issuance Timestamp\n\nWhen this session was issued at. Usually equal or close to `authenticated_at`."
    },
    "tokenized": {
      "type": "string",
      "description": "Tokenized is the tokenized (e.g. JWT) version of the session.\n\nIt is only set when the `tokenize` query parameter was set to a valid tokenize template during calls to `/session/whoami`."
    }
  },
  "required": [
    "id"
  ],
  "$defs": {
    "AuthenticatorAssuranceLevel": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "string",
      "title": "Authenticator Assurance Level (AAL)",
      "enum": [
        "aal0",
        "aal1",
        "aal2",
        "aal3"
      ],
      "description": "The authenticator assurance level can be one of \"aal1\", \"aal2\", or \"aal3\". A higher number means that it is harder\nfor an attacker to compromise the account.\nGenerally, \"aal1\" implies that one authentication factor was used while AAL2 implies that two factors (password + TOTP) have been used."
    },
    "Identity": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "CreatedAt is a helper struct field for gobuffalo.pop."
        },
        "credentials": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/IdentityCredentials"
          },
          "description": "Credentials represents all credentials that can be used for authenticating this identity."
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "ID is the identity's unique identifier.\nThe Identity ID can not be changed and can not be chosen. This ensures future\ncompatibility and optimization for distributed stores such as CockroachDB."
        },
        "metadata_admin": {
          "$ref": "#/$defs/NullJsonRawMessage"
        },
        "metadata_public": {
          "$ref": "#/$defs/NullJsonRawMessage"
        },
        "organization_id": {
          "$ref": "#/$defs/NullUUID"
        },
        "recovery_addresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RecoveryIdentityAddress"
          },
          "description": "RecoveryAddresses contains all the addresses that can be used to recover an identity."
        },
        "schema_id": {
          "type": "string",
          "description": "SchemaID is the ID of the JSON Schema to be used for validating the identity's traits."
        },
        "schema_url": {
          "type": "string",
          "description": "SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from."
        },
        "state": {
          "type": "string",
          "enum": [
            "active",
            "inactive"
          ],
          "description": "State is the identity's state.\n\nThis value has currently no effect.\nactive StateActive\ninactive StateInactive"
        },
        "state_changed_at": {
          "$ref": "#/$defs/NullTime"
        },
        "traits": {
          "$ref": "#/$defs/IdentityTraits"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "UpdatedAt is a helper struct field for gobuffalo.pop."
        },
        "verifiable_addresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VerifiableIdentityAddress"
          },
          "description": "VerifiableAddresses contains all the addresses that can be verified by the user."
        }
      },
      "title": "Identity represents an identity",
      "required": [
        "id",
        "schema_id",
        "schema_url",
        "traits"
      ],
      "description": "An identity represents a (human) user."
    },
    "IdentityCredentials": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "config": {
          "$ref": "#/$defs/JSONRawMessage"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "CreatedAt is a helper struct field for gobuffalo.pop."
        },
        "identifiers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Identifiers represents a list of unique identifiers this credential type matches."
        },
        "type": {
          "type": "string",
          "enum": [
            "password",
            "oidc",
            "totp",
            "lookup_secret",
            "webauthn",
            "code",
            "link_recovery",
            "code_recovery"
          ],
          "description": "Type discriminates between different types of credentials.\npassword CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\nlink_recovery CredentialsTypeRecoveryLink  CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow).  It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "UpdatedAt is a helper struct field for gobuffalo.pop."
        },
        "version": {
          "type": "integer",
          "format": "int64",
          "description": "Version refers to the version of the credential. Useful when changing the config schema."
        }
      },
      "title": "Identity Credentials",
      "description": "Credentials represents a specific credential type"
    },
    "IdentityTraits": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "Identity Traits",
      "description": "Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`."
    },
    "IdentityVerifiableAddressStatus": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "string",
      "title": "Identity Verifiable Address Status",
      "description": "VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema"
    },
    "JSONRawMessage": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "title": "JSON Raw Message",
      "description": "JSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger."
    },
    "NullJsonRawMessage": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "Null Json RawMessage"
    },
    "NullTime": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "string",
      "title": "Null Time",
      "format": "date-time"
    },
    "NullUUID": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "string",
      "title": "Null UUID",
      "format": "uuid4"
    },
    "RecoveryAddressType": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "string",
      "title": "Recovery Address Type",
      "description": "RecoveryAddressType must not exceed 16 characters as that is the limitation in the SQL Schema."
    },
    "RecoveryIdentityAddress": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "CreatedAt is a helper struct field for gobuffalo.pop."
        },
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "UpdatedAt is a helper struct field for gobuffalo.pop."
        },
        "value": {
          "type": "string"
        },
        "via": {
          "$ref": "#/$defs/RecoveryAddressType"
        }
      },
      "title": "Recovery Identity Address",
      "required": [
        "id",
        "value",
        "via"
      ]
    },
    "SessionAuthenticationMethod": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "aal": {
          "$ref": "#/$defs/AuthenticatorAssuranceLevel"
        },
        "completed_at": {
          "type": "string",
          "format": "date-time",
          "description": "When the authentication challenge was completed."
        },
        "method": {
          "type": "string",
          "title": "The method used",
          "enum": [
            "link_recovery",
            "code_recovery",
            "password",
            "code",
            "totp",
            "oidc",
            "webauthn",
            "lookup_secret",
            "v0.6_legacy_session"
          ]
        },
        "organization": {
          "type": "string",
          "description": "The Organization id used for authentication"
        },
        "provider": {
          "type": "string",
          "description": "OIDC or SAML provider id used for authentication"
        }
      },
      "title": "AuthenticationMethod identifies an authentication method",
      "description": "A singular authenticator used during authentication / login."
    },
    "SessionAuthenticationMethods": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "array",
      "items": {
        "$ref": "#/$defs/SessionAuthenticationMethod"
      },
      "title": "List of (Used) AuthenticationMethods",
      "description": "A list of authenticators which were used to authenticate the session."
    },
    "SessionDevice": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Device record ID"
        },
        "ip_address": {
          "type": "string",
          "description": "IPAddress of the client"
        },
        "location": {
          "type": "string",
          "description": "Geo Location corresponding to the IP Address"
        },
        "user_agent": {
          "type": "string",
          "description": "UserAgent of the client"
        }
      },
      "title": "Session Device",
      "required": [
        "id"
      ],
      "description": "Device corresponding to a Session"
    },
    "VerifiableIdentityAddress": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "When this entry was created"
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "The ID"
        },
        "status": {
          "$ref": "#/$defs/IdentityVerifiableAddressStatus"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "When this entry was last updated"
        },
        "value": {
          "type": "string",
          "description": "The address value\n\nexample foo@user.com"
        },
        "verified": {
          "type": "boolean",
          "description": "Indicates if the address has already been verified"
        },
        "verified_at": {
          "$ref": "#/$defs/NullTime"
        },
        "via": {
          "type": "string",
          "enum": [
            "email",
            "sms"
          ],
          "description": "The delivery method"
        }
      },
      "title": "Verifiable Identity Address",
      "required": [
        "value",
        "verified",
        "via",
        "status"
      ],
      "description": "VerifiableAddress is an identity's verifiable address"
    }
  }
}

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/numspot-session"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.