Bernstein · Schema

QueuedApprovalsResponse

Response envelope for ``GET /approvals/queue``.

Artificial IntelligenceGovernanceOpen SourcePythonCLI

Properties

Name Type Description
pending array
View JSON Schema on GitHub

JSON Schema

bernstein-run-queued-approvals-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-queued-approvals-response-schema.json",
  "title": "QueuedApprovalsResponse",
  "description": "Response envelope for ``GET /approvals/queue``.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bernstein-run-approvals-api-openapi.yml#/components/schemas/QueuedApprovalsResponse",
  "properties": {
    "pending": {
      "items": {
        "$ref": "#/$defs/QueuedApprovalResponse"
      },
      "type": "array",
      "title": "Pending"
    }
  },
  "type": "object",
  "required": [
    "pending"
  ],
  "$defs": {
    "QueuedApprovalResponse": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "session_id": {
          "type": "string",
          "title": "Session Id"
        },
        "agent_role": {
          "type": "string",
          "title": "Agent Role"
        },
        "tool_name": {
          "type": "string",
          "title": "Tool Name"
        },
        "tool_args": {
          "additionalProperties": true,
          "type": "object",
          "title": "Tool Args"
        },
        "created_at": {
          "type": "number",
          "title": "Created At"
        },
        "ttl_seconds": {
          "type": "integer",
          "title": "Ttl Seconds"
        },
        "nonce": {
          "type": "string",
          "title": "Nonce"
        }
      },
      "type": "object",
      "required": [
        "id",
        "session_id",
        "agent_role",
        "tool_name",
        "tool_args",
        "created_at",
        "ttl_seconds",
        "nonce"
      ],
      "title": "QueuedApprovalResponse",
      "description": "One queued tool-call approval from the op-002 approval queue.\n\nThe ``nonce`` field is the hex-encoded single-use token the reply\nmust echo. It travels only over the human-channel surface (TUI,\ndashboard, chat bridge) and never reaches agent stdin or any\nrendered prompt template."
    }
  }
}

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/bernstein-run-queued-approvals-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. 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.