AxonFlow · Schema

PendingApprovalsResponse

List of pending approvals across workflows for the caller's tenant.

CompanyAI GovernanceAI AgentsPolicy EnforcementAudit LoggingComplianceMCPOpen Source

Properties

Name Type Description
pending_approvals array
count integer Total number of pending approvals matching the scope.
View JSON Schema on GitHub

JSON Schema

axonflow-pending-approvals-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/axonflow/json-schema/axonflow-pending-approvals-response-schema.json",
  "title": "PendingApprovalsResponse",
  "description": "List of pending approvals across workflows for the caller's tenant.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/axonflow-map-api-openapi.yml#/components/schemas/PendingApprovalsResponse",
  "type": "object",
  "properties": {
    "pending_approvals": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PendingApproval"
      }
    },
    "count": {
      "type": "integer",
      "description": "Total number of pending approvals matching the scope."
    }
  },
  "$defs": {
    "PendingApproval": {
      "type": "object",
      "description": "A workflow step awaiting human approval. Returned by both\n`/api/v1/workflows/approvals/pending` (WCP plane) and\n`/api/v1/plans/approvals/pending` (MAP plane). The `plan_id` field is\nthe one intentional asymmetry between the two planes — populated on\nMAP-plane responses, omitted on WCP-plane responses.\n",
      "properties": {
        "workflow_id": {
          "type": "string",
          "description": "WCP workflow identifier."
        },
        "workflow_name": {
          "type": "string",
          "description": "Human-readable workflow name."
        },
        "plan_id": {
          "type": "string",
          "description": "MAP plan identifier. Populated on the MAP-plane listing\n(`/api/v1/plans/approvals/pending`); omitted (omitempty) on the\nWCP-plane listing.\n"
        },
        "step_id": {
          "type": "string",
          "description": "Step awaiting approval."
        },
        "step_index": {
          "type": "integer",
          "description": "Zero-based index of the step within the workflow."
        },
        "step_name": {
          "type": "string",
          "description": "Human-readable step name."
        },
        "step_type": {
          "type": "string",
          "enum": [
            "llm_call",
            "tool_call",
            "connector_call",
            "human_task",
            "synthesis",
            "action",
            "gate"
          ],
          "description": "Type of step operation."
        },
        "decision": {
          "type": "string",
          "enum": [
            "allow",
            "block",
            "require_approval"
          ],
          "description": "Gate decision that paused the step — always `require_approval` for pending entries."
        },
        "decision_reason": {
          "type": "string",
          "description": "Why approval is required."
        },
        "policies_matched": {
          "type": "array",
          "description": "Policies that triggered the approval requirement.",
          "items": {
            "type": "object"
          }
        },
        "step_input": {
          "type": "object",
          "description": "Step input payload (may be redacted by PII rules)."
        },
        "approval_status": {
          "type": "string",
          "enum": [
            "pending",
            "approved",
            "rejected"
          ],
          "description": "Current approval state — `pending` for listed entries."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "Time of the first /gate call that paused the step."
        }
      }
    }
  }
}

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/axonflow-pending-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. See our Privacy Policy and Terms.

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