Unkey · Schema

Unkey Identity

An identity in the Unkey platform that groups multiple API keys under a single external user or organization, enabling shared rate limits and analytics.

APIKeysRate LimitingAuthenticationDeveloper PlatformAccess ControlIdentityAnalytics

Properties

Name Type Description
id string Unique identifier for the identity
workspaceId string ID of the workspace this identity belongs to
externalId string External identifier from the integrating application (user ID, org ID, etc.)
meta object Arbitrary metadata associated with the identity
ratelimits array Rate limit configurations shared across all keys in this identity
createdAt integer Unix timestamp (milliseconds) when the identity was created
updatedAt integer Unix timestamp (milliseconds) when the identity was last updated
View JSON Schema on GitHub

JSON Schema

unkey-identity-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.unkey.com/schemas/identity",
  "title": "Unkey Identity",
  "description": "An identity in the Unkey platform that groups multiple API keys under a single external user or organization, enabling shared rate limits and analytics.",
  "type": "object",
  "required": ["id", "workspaceId", "externalId"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the identity",
      "example": "identity_xyz789"
    },
    "workspaceId": {
      "type": "string",
      "description": "ID of the workspace this identity belongs to",
      "example": "ws_9876543210"
    },
    "externalId": {
      "type": "string",
      "description": "External identifier from the integrating application (user ID, org ID, etc.)",
      "example": "user_abc123"
    },
    "meta": {
      "type": "object",
      "description": "Arbitrary metadata associated with the identity",
      "additionalProperties": true
    },
    "ratelimits": {
      "type": "array",
      "description": "Rate limit configurations shared across all keys in this identity",
      "items": {
        "type": "object",
        "properties": {
          "name": {"type": "string"},
          "limit": {"type": "integer", "minimum": 1},
          "duration": {"type": "integer", "minimum": 1},
          "async": {"type": "boolean"}
        }
      }
    },
    "createdAt": {
      "type": "integer",
      "description": "Unix timestamp (milliseconds) when the identity was created"
    },
    "updatedAt": {
      "type": "integer",
      "description": "Unix timestamp (milliseconds) when the identity was last updated"
    }
  },
  "additionalProperties": false
}

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/unkey-identity"
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 email required.

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