{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-run-with-agc-credits-body-schema.json",
  "title": "RunWithAgcCreditsBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentstack-tech-agents-fleet-api-openapi.yml#/components/schemas/RunWithAgcCreditsBody",
  "properties": {
    "input": {
      "additionalProperties": true,
      "type": "object",
      "title": "Input"
    },
    "credits_atomic": {
      "type": "integer",
      "maximum": 1000000000.0,
      "exclusiveMinimum": 0.0,
      "title": "Credits Atomic"
    },
    "max_agnt_atomic": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Agnt Atomic"
    },
    "idempotency_key": {
      "type": "string",
      "maxLength": 256,
      "minLength": 8,
      "title": "Idempotency Key"
    },
    "quote_id": {
      "type": "string",
      "maxLength": 64,
      "minLength": 8,
      "title": "Quote Id"
    },
    "quote_hash": {
      "type": "string",
      "maxLength": 128,
      "minLength": 16,
      "title": "Quote Hash"
    },
    "trace_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Trace Id"
    }
  },
  "type": "object",
  "required": [
    "credits_atomic",
    "idempotency_key",
    "quote_id",
    "quote_hash"
  ]
}