KnoxCall · Schema

Role

A named bundle of permission policies. Read-only on `/v1`, and exposed so a machine can discover the id to pass in `role_ids`. The seeded roles (`seeded: true`) are platform-managed and cannot be renamed or recomposed; custom roles are being retired in favour of fixed roles and per-key permissions, so no new custom role can be created and only a seeded key role can be given to a new key. The rules a role grants are deliberately NOT exposed — enumerating them would map the tenant's authorization surface to every machine credential in it.

CompanyAPI ManagementSecurityDevOpsAI Agents

Properties

Name Type Description
id string
name string Display name. The seeded machine roles are `Key — Invoke`, `Key — Read-only`, `Key — Editor` and `Key — Infrastructure`.
description stringnull
applies_to array Which subject kinds this role may be assigned to. `role_ids` accepts a role only when this includes `api_key` AND `seeded` is true.
is_default boolean Whether the admin UI prefills this role when creating a new key.
seeded boolean True for roles the platform creates and maintains (they cannot be deleted, renamed or recomposed). Only a seeded key role is accepted in `role_ids`; custom roles (`false`) are being retired.
View JSON Schema on GitHub

JSON Schema

knoxcall-role-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/knoxcall/json-schema/knoxcall-role-schema.json",
  "title": "Role",
  "description": "A named bundle of permission policies. Read-only on `/v1`, and exposed so a machine\ncan discover the id to pass in `role_ids`. The seeded roles (`seeded: true`) are\nplatform-managed and cannot be renamed or recomposed; custom roles are being retired\nin favour of fixed roles and per-key permissions, so no new custom role can be\ncreated and only a seeded key role can be given to a new key.\n\nThe rules a role grants are deliberately NOT exposed — enumerating them would map\nthe tenant's authorization surface to every machine credential in it.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/knoxcall-api-keys-api-openapi.yml#/components/schemas/Role",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "description": "Display name. The seeded machine roles are `Key — Invoke`, `Key — Read-only`, `Key — Editor` and `Key — Infrastructure`."
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "applies_to": {
      "type": "array",
      "description": "Which subject kinds this role may be assigned to. `role_ids` accepts a role only when this includes `api_key` AND `seeded` is true.",
      "items": {
        "type": "string",
        "enum": [
          "user",
          "api_key"
        ]
      }
    },
    "is_default": {
      "type": "boolean",
      "description": "Whether the admin UI prefills this role when creating a new key."
    },
    "seeded": {
      "type": "boolean",
      "description": "True for roles the platform creates and maintains (they cannot be deleted, renamed or recomposed). Only a seeded key role is accepted in `role_ids`; custom roles (`false`) are being retired."
    }
  }
}

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/knoxcall-role"
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.