{
  "openapi": "3.0.1",
  "info": {
    "title": "Invoice & Utility Bill Data Extractor: Totals, kWh, Line Items",
    "description": "Bulk extract vendor, dates, totals, tax, kWh and line items from invoice and utility bill PDFs and photos. Auto-detects each document, runs one or several AI models, checks the arithmetic and flags what to review.",
    "version": "0.1",
    "x-build-id": "AT6AZUymMPlM5kIqE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fayoussef~invoice-utility-bill-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fayoussef-invoice-utility-bill-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/fayoussef~invoice-utility-bill-extractor/runs": {
      "post": {
        "operationId": "runs-sync-fayoussef-invoice-utility-bill-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/fayoussef~invoice-utility-bill-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-fayoussef-invoice-utility-bill-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "documentUrls": {
            "title": "Documents (links)",
            "type": "array",
            "description": "Links to invoices and utility bills as PDF, PNG, JPG, WEBP, TIFF or GIF files. Pre-filled with three public samples (a Toronto Hydro bill and two invoices) so you can press Start and see the result. Replace them with your own links, or upload a text file with one link per line for big batches. Google Drive file links work if the file is shared with 'anyone with the link'.",
            "default": [
              {
                "url": "https://www.torontohydro.com/documents/20143/12589673/residential-tou-mobile.pdf/af45dbbf-8bb7-fb58-eee2-246ef8023b34?t=1779821331217"
              },
              {
                "url": "https://raw.githubusercontent.com/invoice-x/invoice2data/master/tests/compare/AzureInterior.pdf"
              },
              {
                "url": "https://raw.githubusercontent.com/invoice-x/invoice2data/master/tests/compare/QualityHosting.pdf"
              }
            ],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "documentsZip": {
            "title": "Documents (ZIP upload)",
            "type": "string",
            "description": "Optional. Upload one ZIP file with all your invoices and bills inside (PDFs and images, any folder depth). Use this when you have many files on your computer."
          },
          "documentType": {
            "title": "What are you extracting from?",
            "enum": [
              "auto",
              "invoice",
              "utility_bill",
              "custom_only"
            ],
            "type": "string",
            "description": "Auto-detect reads each file as an invoice or a utility bill and fills the matching columns, so you can mix both in one run. Pick one type if all your files are the same. Custom fields only works on any other document: you decide every field below.",
            "default": "auto"
          },
          "customFields": {
            "title": "Extra fields to extract",
            "type": "array",
            "description": "Optional for invoices and bills, required for other documents. One field per line, as 'name: what to look for', for example 'cost_center: the department code' or just 'policy number'. Each becomes a column.",
            "items": {
              "type": "string"
            }
          },
          "instructions": {
            "title": "Extra instructions",
            "type": "string",
            "description": "Optional guidance for the model, for example 'amounts are in CAD', 'the seller is always Acme Ltd' or 'usage is in GJ'."
          },
          "models": {
            "title": "AI models",
            "type": "array",
            "description": "Pick one or more vision models. With two or more, every document is read by each model and the results are compared field by field. The first one is the primary. Prices shown are per million tokens, billed separately for model usage.",
            "items": {
              "type": "string",
              "enum": [
                "google/gemini-2.5-flash",
                "google/gemini-3-flash-preview",
                "anthropic/claude-haiku-5.5",
                "google/gemini-2.5-flash-lite",
                "mistralai/mistral-medium-3.1",
                "deepseek/deepseek-v4.1-flash",
                "google/gemini-4-argon",
                "google/gemini-3.8-flash",
                "google/gemini-3.7-flash",
                "google/gemini-3.6-flash",
                "google/gemini-3.5-flash-lite",
                "google/gemini-3.5-flash",
                "google/gemini-3.1-flash-lite",
                "google/gemma-4-26b-a4b-it",
                "google/gemma-4-31b-it",
                "google/gemini-3.1-flash-lite-preview",
                "google/gemini-3.1-pro-preview",
                "google/gemini-2.5-pro",
                "google/gemini-2.5-pro-preview",
                "google/gemma-3-4b-it",
                "google/gemma-3-12b-it",
                "google/gemma-3-27b-it",
                "openai/gpt-6.1-terra",
                "openai/gpt-6.1-sol-pro",
                "openai/gpt-6.1-sol",
                "openai/gpt-6-luna-pro",
                "openai/gpt-6-luna",
                "openai/gpt-6-sol-pro",
                "openai/gpt-6-sol",
                "openai/gpt-6-astra",
                "openai/gpt-6-astra-pro",
                "openai/gpt-5.6-luna-pro",
                "openai/gpt-5.6-luna",
                "openai/gpt-5.6-terra-pro",
                "openai/gpt-5.6-terra",
                "openai/gpt-5.6-sol-pro",
                "openai/gpt-5.6-sol",
                "openai/gpt-chat-latest",
                "openai/gpt-5.5-pro",
                "openai/gpt-5.5",
                "openai/gpt-5.4-nano",
                "openai/gpt-5.4-mini",
                "openai/gpt-5.4-pro",
                "openai/gpt-5.4",
                "openai/gpt-5.2-chat",
                "openai/gpt-5.2-pro",
                "openai/gpt-5.2",
                "openai/gpt-5.1",
                "openai/gpt-5-pro",
                "openai/gpt-5",
                "openai/gpt-5-mini",
                "openai/gpt-5-nano",
                "openai/o3-pro",
                "openai/o4-mini-high",
                "openai/o3",
                "openai/o4-mini",
                "openai/gpt-4.1",
                "openai/gpt-4.1-mini",
                "openai/gpt-4.1-nano",
                "openai/o1-pro",
                "openai/o1",
                "openai/gpt-4o-2024-11-20",
                "openai/gpt-4o-2024-08-06",
                "openai/gpt-4o-mini",
                "openai/gpt-4o-mini-2024-07-18",
                "openai/gpt-4o",
                "openai/gpt-4o-2024-05-13",
                "openai/gpt-4-turbo",
                "anthropic/claude-sonnet-5.5",
                "anthropic/claude-opus-5.5",
                "anthropic/claude-fable-5.1",
                "anthropic/claude-opus-5",
                "anthropic/claude-sonnet-5",
                "anthropic/claude-fable-5",
                "anthropic/claude-opus-4.8",
                "anthropic/claude-opus-4.7",
                "anthropic/claude-sonnet-4.6",
                "anthropic/claude-opus-4.6",
                "anthropic/claude-opus-4.5",
                "anthropic/claude-haiku-4.5",
                "anthropic/claude-sonnet-4.5",
                "anthropic/claude-opus-4.1",
                "qwen/qwen3.8-max-prime",
                "qwen/qwen3.8-omni-flash",
                "qwen/qwen3.8-max-0902",
                "qwen/qwen3.8-flash",
                "qwen/qwen3.8-27b",
                "qwen/qwen3.7-flash",
                "qwen/qwen3.7-plus",
                "qwen/qwen3.5-plus-20260420"
              ],
              "enumTitles": [
                "Recommended: Google: Gemini 2.5 Flash  ($0.30/M in, $2.50/M out)",
                "Recommended: Google: Gemini 3 Flash Preview  ($0.50/M in, $3.00/M out)",
                "Recommended: Anthropic: Claude Haiku 5.5  ($0.10/M in, $0.50/M out)",
                "Recommended: Google: Gemini 2.5 Flash Lite  ($0.10/M in, $0.40/M out)",
                "Recommended: Mistral: Mistral Medium 3.1  ($0.40/M in, $2.00/M out)",
                "Recommended: DeepSeek: DeepSeek V4.1 Flash  ($0.05/M in, $0.19/M out)",
                "Google: Gemini 4 Argon  ($2.00/M in, $10.00/M out)",
                "Google: Gemini 3.8 Flash  ($0.83/M in, $4.12/M out)",
                "Google: Gemini 3.7 Flash  ($0.75/M in, $3.75/M out)",
                "Google: Gemini 3.6 Flash  ($0.75/M in, $3.75/M out)",
                "Google: Gemini 3.5 Flash Lite  ($0.30/M in, $2.50/M out)",
                "Google: Gemini 3.5 Flash  ($1.50/M in, $9.00/M out)",
                "Google: Gemini 3.1 Flash Lite  ($0.25/M in, $1.50/M out)",
                "Google: Gemma 4 26B A4B   ($0.08/M in, $0.26/M out)",
                "Google: Gemma 4 31B  ($0.20/M in, $0.40/M out)",
                "Google: Gemini 3.1 Flash Lite Preview  ($0.25/M in, $1.50/M out)",
                "Google: Gemini 3.1 Pro Preview  ($2.00/M in, $12.00/M out)",
                "Google: Gemini 2.5 Pro  ($1.25/M in, $10.00/M out)",
                "Google: Gemini 2.5 Pro Preview 06-05  ($1.25/M in, $10.00/M out)",
                "Google: Gemma 3 4B  ($0.04/M in, $0.05/M out)",
                "Google: Gemma 3 12B  ($0.05/M in, $0.15/M out)",
                "Google: Gemma 3 27B  ($0.08/M in, $0.35/M out)",
                "OpenAI: GPT-6.1 Terra  ($1.00/M in, $5.00/M out)",
                "OpenAI: GPT-6.1 Sol Pro  ($2.00/M in, $10.00/M out)",
                "OpenAI: GPT-6.1 Sol  ($2.00/M in, $10.00/M out)",
                "OpenAI: GPT-6 Luna Pro  ($0.10/M in, $0.50/M out)",
                "OpenAI: GPT-6 Luna  ($0.10/M in, $0.50/M out)",
                "OpenAI: GPT-6 Sol Pro  ($2.00/M in, $10.00/M out)",
                "OpenAI: GPT-6 Sol  ($2.00/M in, $10.00/M out)",
                "OpenAI: GPT-6 Astra  ($10.00/M in, $50.00/M out)",
                "OpenAI: GPT-6 Astra Pro  ($10.00/M in, $50.00/M out)",
                "OpenAI: GPT-5.6 Luna Pro  ($0.20/M in, $1.20/M out)",
                "OpenAI: GPT-5.6 Luna  ($0.20/M in, $1.20/M out)",
                "OpenAI: GPT-5.6 Terra Pro  ($2.00/M in, $12.00/M out)",
                "OpenAI: GPT-5.6 Terra  ($2.00/M in, $12.00/M out)",
                "OpenAI: GPT-5.6 Sol Pro  ($4.00/M in, $20.00/M out)",
                "OpenAI: GPT-5.6 Sol  ($4.00/M in, $20.00/M out)",
                "OpenAI: GPT Chat Latest  ($5.00/M in, $30.00/M out)",
                "OpenAI: GPT-5.5 Pro  ($30.00/M in, $180.00/M out)",
                "OpenAI: GPT-5.5  ($5.00/M in, $30.00/M out)",
                "OpenAI: GPT-5.4 Nano  ($0.20/M in, $1.25/M out)",
                "OpenAI: GPT-5.4 Mini  ($0.75/M in, $4.50/M out)",
                "OpenAI: GPT-5.4 Pro  ($30.00/M in, $180.00/M out)",
                "OpenAI: GPT-5.4  ($2.50/M in, $15.00/M out)",
                "OpenAI: GPT-5.2 Chat  ($1.75/M in, $14.00/M out)",
                "OpenAI: GPT-5.2 Pro  ($21.00/M in, $168.00/M out)",
                "OpenAI: GPT-5.2  ($1.75/M in, $14.00/M out)",
                "OpenAI: GPT-5.1  ($1.25/M in, $10.00/M out)",
                "OpenAI: GPT-5 Pro  ($15.00/M in, $120.00/M out)",
                "OpenAI: GPT-5  ($1.25/M in, $10.00/M out)",
                "OpenAI: GPT-5 Mini  ($0.25/M in, $2.00/M out)",
                "OpenAI: GPT-5 Nano  ($0.05/M in, $0.40/M out)",
                "OpenAI: o3 Pro  ($20.00/M in, $80.00/M out)",
                "OpenAI: o4 Mini High  ($1.10/M in, $4.40/M out)",
                "OpenAI: o3  ($2.00/M in, $8.00/M out)",
                "OpenAI: o4 Mini  ($1.10/M in, $4.40/M out)",
                "OpenAI: GPT-4.1  ($2.00/M in, $8.00/M out)",
                "OpenAI: GPT-4.1 Mini  ($0.40/M in, $1.60/M out)",
                "OpenAI: GPT-4.1 Nano  ($0.10/M in, $0.40/M out)",
                "OpenAI: o1-pro  ($150.00/M in, $600.00/M out)",
                "OpenAI: o1  ($15.00/M in, $60.00/M out)",
                "OpenAI: GPT-4o (2024-11-20)  ($2.50/M in, $10.00/M out)",
                "OpenAI: GPT-4o (2024-08-06)  ($2.50/M in, $10.00/M out)",
                "OpenAI: GPT-4o-mini  ($0.15/M in, $0.60/M out)",
                "OpenAI: GPT-4o-mini (2024-07-18)  ($0.15/M in, $0.60/M out)",
                "OpenAI: GPT-4o  ($2.50/M in, $10.00/M out)",
                "OpenAI: GPT-4o (2024-05-13)  ($5.00/M in, $15.00/M out)",
                "OpenAI: GPT-4 Turbo  ($10.00/M in, $30.00/M out)",
                "Anthropic: Claude Sonnet 5.5  ($2.00/M in, $10.00/M out)",
                "Anthropic: Claude Opus 5.5  ($4.00/M in, $20.00/M out)",
                "Anthropic: Claude Fable 5.1  ($10.00/M in, $50.00/M out)",
                "Anthropic: Claude Opus 5  ($5.00/M in, $25.00/M out)",
                "Anthropic: Claude Sonnet 5  ($2.00/M in, $10.00/M out)",
                "Anthropic: Claude Fable 5  ($10.00/M in, $50.00/M out)",
                "Anthropic: Claude Opus 4.8  ($5.00/M in, $25.00/M out)",
                "Anthropic: Claude Opus 4.7  ($5.00/M in, $25.00/M out)",
                "Anthropic: Claude Sonnet 4.6  ($3.00/M in, $15.00/M out)",
                "Anthropic: Claude Opus 4.6  ($5.00/M in, $25.00/M out)",
                "Anthropic: Claude Opus 4.5  ($5.00/M in, $25.00/M out)",
                "Anthropic: Claude Haiku 4.5  ($1.00/M in, $5.00/M out)",
                "Anthropic: Claude Sonnet 4.5  ($3.00/M in, $15.00/M out)",
                "Anthropic: Claude Opus 4.1  ($15.00/M in, $75.00/M out)",
                "Qwen: Qwen3.8 Max Prime  ($4.00/M in, $12.00/M out)",
                "Qwen: Qwen3.8 Omni Flash  ($0.15/M in, $0.47/M out)",
                "Qwen: Qwen3.8 Max (0902)  ($2.00/M in, $6.00/M out)",
                "Qwen: Qwen3.8 Flash  ($0.15/M in, $0.47/M out)",
                "Qwen: Qwen3.8 27B  ($0.20/M in, $2.50/M out)",
                "Qwen: Qwen3.7 Flash  ($0.03/M in, $0.13/M out)",
                "Qwen: Qwen3.7 Plus  ($0.32/M in, $1.28/M out)",
                "Qwen: Qwen3.5 Plus 2026-04-20  ($0.30/M in, $1.80/M out)"
              ]
            },
            "default": [
              "google/gemini-2.5-flash"
            ]
          },
          "customModelIds": {
            "title": "Other model ids",
            "type": "array",
            "description": "Optional. Any other OpenRouter vision model id that is not in the list above, for example 'vendor/model-name'. Added to the models you picked.",
            "items": {
              "type": "string"
            }
          },
          "useRefereeModel": {
            "title": "Check confidence with a cheap referee model",
            "type": "boolean",
            "description": "When on, a cheap model looks at the document again, but only for fields where your models disagree or where an arithmetic check failed (for example charge lines that do not add up to the total). It reads the page itself and settles those fields, so the cost is small. Documents it cannot settle are flagged for review.",
            "default": false
          },
          "refereeModel": {
            "title": "Referee model",
            "enum": [
              "google/gemini-2.5-flash",
              "google/gemini-3-flash-preview",
              "anthropic/claude-haiku-5.5",
              "google/gemini-2.5-flash-lite",
              "mistralai/mistral-medium-3.1",
              "deepseek/deepseek-v4.1-flash",
              "google/gemini-4-argon",
              "google/gemini-3.8-flash",
              "google/gemini-3.7-flash",
              "google/gemini-3.6-flash",
              "google/gemini-3.5-flash-lite",
              "google/gemini-3.5-flash",
              "google/gemini-3.1-flash-lite",
              "google/gemma-4-26b-a4b-it",
              "google/gemma-4-31b-it",
              "google/gemini-3.1-flash-lite-preview",
              "google/gemini-3.1-pro-preview",
              "google/gemini-2.5-pro",
              "google/gemini-2.5-pro-preview",
              "google/gemma-3-4b-it",
              "google/gemma-3-12b-it",
              "google/gemma-3-27b-it",
              "openai/gpt-6.1-terra",
              "openai/gpt-6.1-sol-pro",
              "openai/gpt-6.1-sol",
              "openai/gpt-6-luna-pro",
              "openai/gpt-6-luna",
              "openai/gpt-6-sol-pro",
              "openai/gpt-6-sol",
              "openai/gpt-6-astra",
              "openai/gpt-6-astra-pro",
              "openai/gpt-5.6-luna-pro",
              "openai/gpt-5.6-luna",
              "openai/gpt-5.6-terra-pro",
              "openai/gpt-5.6-terra",
              "openai/gpt-5.6-sol-pro",
              "openai/gpt-5.6-sol",
              "openai/gpt-chat-latest",
              "openai/gpt-5.5-pro",
              "openai/gpt-5.5",
              "openai/gpt-5.4-nano",
              "openai/gpt-5.4-mini",
              "openai/gpt-5.4-pro",
              "openai/gpt-5.4",
              "openai/gpt-5.2-chat",
              "openai/gpt-5.2-pro",
              "openai/gpt-5.2",
              "openai/gpt-5.1",
              "openai/gpt-5-pro",
              "openai/gpt-5",
              "openai/gpt-5-mini",
              "openai/gpt-5-nano",
              "openai/o3-pro",
              "openai/o4-mini-high",
              "openai/o3",
              "openai/o4-mini",
              "openai/gpt-4.1",
              "openai/gpt-4.1-mini",
              "openai/gpt-4.1-nano",
              "openai/o1-pro",
              "openai/o1",
              "openai/gpt-4o-2024-11-20",
              "openai/gpt-4o-2024-08-06",
              "openai/gpt-4o-mini",
              "openai/gpt-4o-mini-2024-07-18",
              "openai/gpt-4o",
              "openai/gpt-4o-2024-05-13",
              "openai/gpt-4-turbo",
              "anthropic/claude-sonnet-5.5",
              "anthropic/claude-opus-5.5",
              "anthropic/claude-fable-5.1",
              "anthropic/claude-opus-5",
              "anthropic/claude-sonnet-5",
              "anthropic/claude-fable-5",
              "anthropic/claude-opus-4.8",
              "anthropic/claude-opus-4.7",
              "anthropic/claude-sonnet-4.6",
              "anthropic/claude-opus-4.6",
              "anthropic/claude-opus-4.5",
              "anthropic/claude-haiku-4.5",
              "anthropic/claude-sonnet-4.5",
              "anthropic/claude-opus-4.1",
              "qwen/qwen3.8-max-prime",
              "qwen/qwen3.8-omni-flash",
              "qwen/qwen3.8-max-0902",
              "qwen/qwen3.8-flash",
              "qwen/qwen3.8-27b",
              "qwen/qwen3.7-flash",
              "qwen/qwen3.7-plus",
              "qwen/qwen3.5-plus-20260420"
            ],
            "type": "string",
            "description": "Model used when the referee check is on. It only sees the disputed fields, so even a mid-priced model costs very little. A referee can only pick a value one of your models gave, unless an arithmetic check failed on that field.",
            "default": "deepseek/deepseek-v4.1-flash"
          },
          "includeFullText": {
            "title": "Also return the full text of each document",
            "type": "boolean",
            "description": "Off by default. Adds a full_text column with the whole transcription. Models bill per output token, so turning this on makes each document noticeably more expensive to read.",
            "default": false
          },
          "cheaperFasterReading": {
            "title": "Cheaper, faster reading (model thinking off)",
            "type": "boolean",
            "description": "Off by default. Switches off the hidden thinking step of models that have one. Reading costs about a third as much and is faster, but in tests it made a few more mistakes on dense or handwritten bills. Good for clean, standard bills.",
            "default": false
          },
          "extractLineItems": {
            "title": "Extract every line item",
            "type": "boolean",
            "description": "Returns each invoice line (quantity, unit price, amount) or each utility charge as a list, and uses it to check the totals. Turn off for a little less model cost.",
            "default": true
          },
          "maxPagesPerDocument": {
            "title": "Maximum pages per document",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Longer files are read up to this many pages. Raising it costs more model usage.",
            "default": 5
          },
          "concurrency": {
            "title": "Documents read in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many documents are processed at the same time. Lower it if your model account hits rate limits.",
            "default": 4
          },
          "openrouterApiKey": {
            "title": "OpenRouter API key",
            "type": "string",
            "description": "Optional. Bring your own OpenRouter key and calls go straight to OpenRouter, billed by them on your own OpenRouter account instead of through Apify. Leave empty to use the built-in access, which needs no key at all."
          },
          "apifyToken": {
            "title": "Apify API token",
            "type": "string",
            "description": "Optional. Only needed when running outside the Apify platform. Leave empty on Apify."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}