Craft.io · Schema

ApiKeyIntrospection

Introspection endpoints for "what is the current API key allowed to do". Used by clients (notably the MCP server) to self-filter the tools they expose.

Product ManagementRoadmapsOKRsBacklogFeedbackPortfolioSpecification

Properties

Name Type Description
userId string The user this key authenticates as.
accountId string The account this key belongs to.
scopes array Granted granular scope strings (already normalized).
resourceScope object Optional resource-scope narrowing. When a dimension is null/missing the key has access to every instance the bound user can see; when present it is the exclusive allowlist of ids on that dimension.
mcpAccess boolean
View JSON Schema on GitHub

JSON Schema

craft-io-apikeyintrospection-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/craft-io/main/json-schema/craft-io-apikeyintrospection-schema.json",
  "title": "ApiKeyIntrospection",
  "description": "Introspection endpoints for \"what is the current API key allowed to do\".\nUsed by clients (notably the MCP server) to self-filter the tools they expose.",
  "properties": {
    "userId": {
      "type": "string",
      "description": "The user this key authenticates as."
    },
    "accountId": {
      "type": "string",
      "description": "The account this key belongs to."
    },
    "scopes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "description": "Granted granular scope strings (already normalized)."
    },
    "resourceScope": {
      "properties": {
        "feedback_portals": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "nullable": true
        },
        "portfolios": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "nullable": true
        },
        "workspaces": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "nullable": true
        }
      },
      "type": "object",
      "description": "Optional resource-scope narrowing. When a dimension is null/missing the key\nhas access to every instance the bound user can see; when present it is the\nexclusive allowlist of ids on that dimension."
    },
    "mcpAccess": {
      "type": "boolean"
    }
  },
  "required": [
    "userId",
    "accountId",
    "scopes",
    "resourceScope",
    "mcpAccess"
  ],
  "type": "object",
  "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/craft-io-apikeyintrospection"
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.