Mantic · Schema

UserResponse

Data IntegrationAPI ManagementFintechHealth TechIoTCompany

Properties

Name Type Description
id string
email string
name object
created_at string
last_login string
last_active string
role object
has_admin_account boolean
organisations array
preferences object
onboarding_completed_at object
is_organisation_admin boolean
is_demo_session boolean
demo_session_expires_at object
View JSON Schema on GitHub

JSON Schema

mantic-user-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mantic/json-schema/mantic-user-response-schema.json",
  "title": "UserResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mantic-auth-api-openapi.yml#/components/schemas/UserResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "email": {
      "type": "string",
      "title": "Email"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "last_login": {
      "type": "string",
      "format": "date-time",
      "title": "Last Login"
    },
    "last_active": {
      "type": "string",
      "format": "date-time",
      "title": "Last Active"
    },
    "role": {
      "$ref": "#/$defs/UserRole"
    },
    "has_admin_account": {
      "type": "boolean",
      "title": "Has Admin Account",
      "default": false
    },
    "organisations": {
      "items": {
        "$ref": "#/$defs/UserOrganisationResponse"
      },
      "type": "array",
      "title": "Organisations",
      "default": []
    },
    "preferences": {
      "anyOf": [
        {
          "$ref": "#/$defs/UserPreferences"
        },
        {
          "type": "null"
        }
      ]
    },
    "onboarding_completed_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Onboarding Completed At"
    },
    "is_organisation_admin": {
      "type": "boolean",
      "title": "Is Organisation Admin",
      "default": false
    },
    "is_demo_session": {
      "type": "boolean",
      "title": "Is Demo Session",
      "default": false
    },
    "demo_session_expires_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Demo Session Expires At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "email",
    "created_at",
    "last_login",
    "last_active",
    "role"
  ],
  "$defs": {
    "Goal": {
      "properties": {
        "label": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Label"
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "label"
      ],
      "title": "Goal",
      "description": "Retained-only profile goal — superseded by `interests`.\n\nNo longer settable via the API and read by no feature. Kept solely so\npre-interests rows (prod users we asked to set goals) still deserialise and\nsurvive profile edits until the manual goals->interests backfill + the\nfollow-up PR that drops it. See `UserPreferences.goals`."
    },
    "Interest": {
      "properties": {
        "label": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Label"
        },
        "category": {
          "type": "string",
          "enum": [
            "region",
            "topic",
            "sector",
            "market",
            "org",
            "person",
            "event",
            "goal",
            "other"
          ],
          "title": "Category"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "label",
        "category"
      ],
      "title": "Interest",
      "description": "A stored/returned user interest. `category` is REQUIRED here.\n\n`category` is a `Literal` slug, not a strict `StrEnum`: a strict `StrEnum`\nfield does not survive the `TypedJSONB` write->read round-trip (the stored\nstring is rejected on load), whereas a `Literal` validates from a plain\nstring even under `strict=True`. Guarded by a JSONB round-trip test."
    },
    "UserOrganisationResponse": {
      "properties": {
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "is_metered": {
          "type": "boolean",
          "title": "Is Metered",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "title": "UserOrganisationResponse"
    },
    "UserPreferences": {
      "properties": {
        "function": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 100
            },
            {
              "type": "null"
            }
          ],
          "title": "Function"
        },
        "interests": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/Interest"
              },
              "type": "array",
              "maxItems": 50
            },
            {
              "type": "null"
            }
          ],
          "title": "Interests"
        },
        "goals": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/Goal"
              },
              "type": "array",
              "maxItems": 20
            },
            {
              "type": "null"
            }
          ],
          "title": "Goals"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "UserPreferences",
      "description": "Stored/returned user preferences. Interests always carry a category.\n\n`goals` is retained-only data (see `Goal`): never written from user\ninput (replaced by `interests`) and read by no feature. It is carried through\nthe profile write path so existing goals survive until the manual\ngoals->interests backfill; a follow-up PR drops it once all users migrate."
    },
    "UserRole": {
      "type": "string",
      "enum": [
        "user",
        "admin",
        "enterprise"
      ],
      "title": "UserRole"
    }
  }
}

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/mantic-user-response"
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. See our Privacy Policy and Terms.

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