{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/infrapulse-ai/json-schema/infrapulse-ai-execute-request-schema.json",
  "title": "ExecuteRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infrapulse-ai-openapi.json#/components/schemas/ExecuteRequest",
  "properties": {
    "intent": {
      "type": "string",
      "title": "Intent",
      "description": "Machine intent. Production exposes only intents admitted by the canonical production intent allowlist; simulation, dry-run, schema-only, and planned intents are not callable. Authorization is available only through the signed direct POST /v1/authorize route, not an execute intent. Use discover/capabilities for the active contract. Omitting intent returns 422 with a canonical envelope.",
      "default": ""
    },
    "agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Id"
    },
    "authorization_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Authorization Id"
    },
    "provider_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Provider Id",
      "description": "Registered provider selected for paid execution. Required for generic paid work."
    },
    "provider_intent": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Provider Intent",
      "description": "Provider-specific intent selected by quote/authorization. Required when intent='execute'; the prepaid authorization remains authoritative and rejects any mismatched provider intent."
    },
    "idempotency_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Idempotency Key"
    },
    "request_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Request Id",
      "description": "Unique caller-supplied id for AI-console intents. Required for mutating intents (passport_submit, account_create, execute_service, ...). Repeating the same request_id safely replays/polls the durable operation instead of re-executing."
    },
    "payload": {
      "additionalProperties": true,
      "type": "object",
      "title": "Payload"
    }
  },
  "type": "object"
}