# Data Cleaning & Transformation Toolkit (`moving_beacon-owner1/my-actor-66`) Actor

A powerful, multi-mode Apify actor that transforms messy, unstructured data into clean, structured JSON — ready for APIs, databases, or downstream processing.

- **URL**: https://apify.com/moving\_beacon-owner1/my-actor-66.md
- **Developed by:** [Jamshaid Arif](https://apify.com/moving_beacon-owner1) (community)
- **Categories:** Developer tools, Automation, Integrations
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🧹 Data Cleaning & Transformation Toolkit — Apify Actor

A powerful, multi-mode Apify actor that transforms messy, unstructured data into clean, structured JSON — ready for APIs, databases, or downstream processing.

---

### 🎯 What It Does

| Mode | Input | Output |
|------|-------|--------|
| **Messy Text** | Inconsistent text with mixed delimiters | Clean JSON records |
| **Excel / CSV** | `.xlsx` or `.csv` file URL | API-ready JSON with metadata |
| **HTML Scrape** | Raw HTML or live URLs | Structured dataset (tables, elements, links) |
| **Key-Value** | `.env`, `.ini`, logs, YAML-like text | Parsed JSON object or records |
| **URL Fetch** | Any webpage URL | Auto-extracted structured data |

---

### 🚀 Quick Start Examples

#### 1. Messy Text → JSON

```json
{
    "mode": "messy_text",
    "inputText": "Name: John Doe | Age: 29 | City: New York\nName: Jane Smith | Age: 32 | City: LA",
    "textParseStrategy": "auto",
    "outputFormat": "records"
}
````

**Output:**

```json
[
    {"name": "John Doe", "age": 29, "city": "New York"},
    {"name": "Jane Smith", "age": 32, "city": "LA"}
]
```

#### 2. Excel / CSV → API-Ready JSON

```json
{
    "mode": "excel_csv",
    "fileUrl": "https://example.com/data/sales_report.xlsx",
    "sheetName": "Q1",
    "skipEmptyRows": true,
    "outputFormat": "wrapped"
}
```

**Output:**

```json
{
    "meta": {
        "source": "sales_report.xlsx",
        "sheet": "Q1",
        "total_records": 150,
        "columns": ["id", "product", "revenue"],
        "generated_at": "2026-04-01T12:00:00"
    },
    "data": [
        {"id": 1, "product": "Widget A", "revenue": 9999.50}
    ]
}
```

#### 3. Scrape a Website

```json
{
    "mode": "html_scrape",
    "urls": [{"url": "https://books.toscrape.com/"}],
    "htmlExtractMode": "elements",
    "cssSelector": "article.product_pod",
    "fieldMap": "{\"title\": \"h3 a\", \"price\": \".price_color\"}"
}
```

#### 4. Parse Config Files

```json
{
    "mode": "key_value",
    "inputText": "[database]\nhost = localhost\nport = 5432\n\n[cache]\ndriver = redis\nttl = 3600",
    "kvFormat": "auto",
    "outputFormat": "flat"
}
```

#### 5. Auto-Extract from URL

```json
{
    "mode": "url_fetch",
    "urls": [{"url": "https://en.wikipedia.org/wiki/Web_scraping"}],
    "outputFormat": "records"
}
```

***

### ⚙️ Input Schema Reference

#### Core Settings

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `mode` | enum | `messy_text` | Transformation mode |
| `inputText` | string | *(sample data)* | Raw text input |
| `fileUrl` | string | `""` | URL to download a file from |
| `urls` | array | `[{url: "https://books.toscrape.com/"}]` | URLs to scrape |
| `outputFormat` | enum | `records` | Output structure: `records`, `wrapped`, or `flat` |

#### Text Mode Options

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `textParseStrategy` | enum | `auto` | `auto`, `delimited`, `key_value`, or `block` |

#### Key-Value Mode Options

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `kvFormat` | enum | `auto` | `auto`, `env`, `ini`, `log`, or `yaml` |

#### HTML Mode Options

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `htmlExtractMode` | enum | `auto` | `tables`, `elements`, `links`, `text`, or `auto` |
| `cssSelector` | string | `article.product_pod` | CSS selector for repeating elements |
| `fieldMap` | JSON string | *(book fields)* | Maps output keys to CSS selectors |

#### Excel Mode Options

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `sheetName` | string | `""` | Specific sheet (empty = all) |
| `skipEmptyRows` | boolean | `true` | Remove blank rows |
| `forwardFillColumns` | string | `""` | Comma-separated columns to forward-fill |
| `pageSize` | integer | `0` | Records per page (0 = no pagination) |

#### Network Options

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `proxyConfiguration` | object | `{useApifyProxy: true}` | Proxy settings |
| `maxRequestRetries` | integer | `3` | Max retries for HTTP requests |

***

### 📤 Output Formats

#### `records` (default)

Each extracted record becomes its own row in the Apify dataset. Best for large datasets and downstream processing.

#### `wrapped`

A single dataset entry with `meta` (source info, column names, timestamps) and `data` (array of records). Best for API responses.

#### `flat`

Outputs the parsed object directly. Ideal for config file parsing where you want a single JSON object.

***

### 🧠 Smart Features

- **Auto-Detection**: Every mode has an `auto` strategy that detects the input format
- **Type Casting**: Strings like `"42"`, `"true"`, `"null"` are automatically cast to native types
- **Key Normalization**: All field names are converted to `snake_case`
- **Merged Cell Handling**: Forward-fill support for Excel files with merged cells
- **Pagination**: Built-in page/pageSize support for large Excel datasets
- **Metadata**: Wrapped output includes source file, column names, timestamps, and record counts
- **Error Resilience**: Failed URLs are logged with `_error` fields instead of crashing

***

### 📂 Project Structure

```
apify-actor/
├── .actor/
│   ├── actor.json           ## Actor configuration
│   └── input_schema.json    ## Input schema with defaults
├── main.py                  ## Actor entry point
├── data_transformer.py      ## Core transformation engine
├── requirements.txt         ## Python dependencies
├── Dockerfile               ## Container build instructions
└── README.md                ## This file
```

***

### 🏗️ Local Development

```bash
## Install dependencies
pip install -r requirements.txt

## Run locally with Apify CLI
apify run --input='{"mode": "messy_text", "inputText": "Name: Alice | Age: 30"}'
```

***

### 📜 License

ISC

# Actor input Schema

## `mode` (type: `string`):

Select the type of data transformation to perform.

## `inputText` (type: `string`):

Paste your messy text, key-value config, or raw HTML here. Not needed if uploading a file or fetching a URL.

## `fileUrl` (type: `string`):

Direct URL to an .xlsx, .csv, or .html file to download and process.

## `urls` (type: `array`):

List of web page URLs to fetch and extract data from (for url\_fetch and html\_scrape modes).

## `textParseStrategy` (type: `string`):

How to parse the messy text. 'auto' detects the format automatically.

## `kvFormat` (type: `string`):

Format of the key-value input. 'auto' detects automatically.

## `htmlExtractMode` (type: `string`):

What to extract from the HTML content.

## `cssSelector` (type: `string`):

CSS selector for repeating items (e.g., 'div.product-card', 'li.item'). Used in 'elements' HTML mode.

## `fieldMap` (type: `string`):

JSON object mapping output field names to CSS selectors within each container. Example: {"title": "h3 a", "price": ".price\_color"}

## `sheetName` (type: `string`):

Specific Excel sheet to read. Leave empty to read all sheets.

## `skipEmptyRows` (type: `boolean`):

Remove rows that are entirely blank from the output.

## `forwardFillColumns` (type: `string`):

Comma-separated list of column names to forward-fill (for merged cells in Excel). Leave empty to skip.

## `pageSize` (type: `integer`):

Number of records per page in the output. Set to 0 for no pagination.

## `outputFormat` (type: `string`):

How to structure the final output in the dataset.

## `proxyConfiguration` (type: `object`):

Proxy settings for fetching URLs. Uses Apify Proxy by default.

## `maxRequestRetries` (type: `integer`):

Maximum number of retries for failed HTTP requests.

## Actor input object example

```json
{
  "mode": "messy_text",
  "inputText": "Name: John Doe | Age: 29 | City: New York | Active: yes\nName: Jane Smith | Age: 32 | City: Los Angeles | Active: true\nName: Bob Johnson | Age: 45 | City: Chicago | Active: no",
  "fileUrl": "",
  "urls": [
    {
      "url": "https://books.toscrape.com/"
    }
  ],
  "textParseStrategy": "auto",
  "kvFormat": "auto",
  "htmlExtractMode": "auto",
  "cssSelector": "article.product_pod",
  "fieldMap": "{\n  \"title\": \"h3 a\",\n  \"price\": \".price_color\",\n  \"availability\": \".availability\",\n  \"rating\": \"p.star-rating\"\n}",
  "sheetName": "",
  "skipEmptyRows": true,
  "forwardFillColumns": "",
  "pageSize": 0,
  "outputFormat": "records",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxRequestRetries": 3
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "messy_text",
    "inputText": `Name: John Doe | Age: 29 | City: New York | Active: yes
Name: Jane Smith | Age: 32 | City: Los Angeles | Active: true
Name: Bob Johnson | Age: 45 | City: Chicago | Active: no`,
    "fileUrl": "",
    "urls": [
        {
            "url": "https://books.toscrape.com/"
        }
    ],
    "textParseStrategy": "auto",
    "kvFormat": "auto",
    "htmlExtractMode": "auto",
    "cssSelector": "article.product_pod",
    "fieldMap": `{
  "title": "h3 a",
  "price": ".price_color",
  "availability": ".availability",
  "rating": "p.star-rating"
}`,
    "sheetName": "",
    "skipEmptyRows": true,
    "forwardFillColumns": "",
    "pageSize": 0,
    "outputFormat": "records",
    "proxyConfiguration": {
        "useApifyProxy": true
    },
    "maxRequestRetries": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("moving_beacon-owner1/my-actor-66").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "messy_text",
    "inputText": """Name: John Doe | Age: 29 | City: New York | Active: yes
Name: Jane Smith | Age: 32 | City: Los Angeles | Active: true
Name: Bob Johnson | Age: 45 | City: Chicago | Active: no""",
    "fileUrl": "",
    "urls": [{ "url": "https://books.toscrape.com/" }],
    "textParseStrategy": "auto",
    "kvFormat": "auto",
    "htmlExtractMode": "auto",
    "cssSelector": "article.product_pod",
    "fieldMap": """{
  \"title\": \"h3 a\",
  \"price\": \".price_color\",
  \"availability\": \".availability\",
  \"rating\": \"p.star-rating\"
}""",
    "sheetName": "",
    "skipEmptyRows": True,
    "forwardFillColumns": "",
    "pageSize": 0,
    "outputFormat": "records",
    "proxyConfiguration": { "useApifyProxy": True },
    "maxRequestRetries": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("moving_beacon-owner1/my-actor-66").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "messy_text",
  "inputText": "Name: John Doe | Age: 29 | City: New York | Active: yes\\nName: Jane Smith | Age: 32 | City: Los Angeles | Active: true\\nName: Bob Johnson | Age: 45 | City: Chicago | Active: no",
  "fileUrl": "",
  "urls": [
    {
      "url": "https://books.toscrape.com/"
    }
  ],
  "textParseStrategy": "auto",
  "kvFormat": "auto",
  "htmlExtractMode": "auto",
  "cssSelector": "article.product_pod",
  "fieldMap": "{\\n  \\"title\\": \\"h3 a\\",\\n  \\"price\\": \\".price_color\\",\\n  \\"availability\\": \\".availability\\",\\n  \\"rating\\": \\"p.star-rating\\"\\n}",
  "sheetName": "",
  "skipEmptyRows": true,
  "forwardFillColumns": "",
  "pageSize": 0,
  "outputFormat": "records",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxRequestRetries": 3
}' |
apify call moving_beacon-owner1/my-actor-66 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=moving_beacon-owner1/my-actor-66",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Data Cleaning & Transformation Toolkit",
        "description": "A powerful, multi-mode Apify actor that transforms messy, unstructured data into clean, structured JSON — ready for APIs, databases, or downstream processing.",
        "version": "0.0",
        "x-build-id": "U3HDOIjThX89PE5Db"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/moving_beacon-owner1~my-actor-66/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-moving_beacon-owner1-my-actor-66",
                "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/moving_beacon-owner1~my-actor-66/runs": {
            "post": {
                "operationId": "runs-sync-moving_beacon-owner1-my-actor-66",
                "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/moving_beacon-owner1~my-actor-66/run-sync": {
            "post": {
                "operationId": "run-sync-moving_beacon-owner1-my-actor-66",
                "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",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Transformation Mode",
                        "enum": [
                            "messy_text",
                            "excel_csv",
                            "html_scrape",
                            "key_value",
                            "url_fetch"
                        ],
                        "type": "string",
                        "description": "Select the type of data transformation to perform.",
                        "default": "messy_text"
                    },
                    "inputText": {
                        "title": "Input Text / Raw Data",
                        "type": "string",
                        "description": "Paste your messy text, key-value config, or raw HTML here. Not needed if uploading a file or fetching a URL.",
                        "default": "Name: John Doe | Age: 29 | City: New York | Active: yes\nName: Jane Smith | Age: 32 | City: Los Angeles | Active: true\nName: Bob Johnson | Age: 45 | City: Chicago | Active: no"
                    },
                    "fileUrl": {
                        "title": "File URL (Excel / CSV / HTML)",
                        "type": "string",
                        "description": "Direct URL to an .xlsx, .csv, or .html file to download and process.",
                        "default": ""
                    },
                    "urls": {
                        "title": "URLs to Scrape",
                        "type": "array",
                        "description": "List of web page URLs to fetch and extract data from (for url_fetch and html_scrape modes).",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL",
                                    "description": "The web page URL to fetch and process."
                                }
                            }
                        },
                        "default": [
                            {
                                "url": "https://books.toscrape.com/"
                            }
                        ]
                    },
                    "textParseStrategy": {
                        "title": "Text Parsing Strategy",
                        "enum": [
                            "auto",
                            "delimited",
                            "key_value",
                            "block"
                        ],
                        "type": "string",
                        "description": "How to parse the messy text. 'auto' detects the format automatically.",
                        "default": "auto"
                    },
                    "kvFormat": {
                        "title": "Key-Value Format",
                        "enum": [
                            "auto",
                            "env",
                            "ini",
                            "log",
                            "yaml"
                        ],
                        "type": "string",
                        "description": "Format of the key-value input. 'auto' detects automatically.",
                        "default": "auto"
                    },
                    "htmlExtractMode": {
                        "title": "HTML Extraction Mode",
                        "enum": [
                            "tables",
                            "elements",
                            "links",
                            "text",
                            "auto"
                        ],
                        "type": "string",
                        "description": "What to extract from the HTML content.",
                        "default": "tables"
                    },
                    "cssSelector": {
                        "title": "CSS Container Selector",
                        "type": "string",
                        "description": "CSS selector for repeating items (e.g., 'div.product-card', 'li.item'). Used in 'elements' HTML mode.",
                        "default": "article.product_pod"
                    },
                    "fieldMap": {
                        "title": "Field Mapping (JSON)",
                        "type": "string",
                        "description": "JSON object mapping output field names to CSS selectors within each container. Example: {\"title\": \"h3 a\", \"price\": \".price_color\"}",
                        "default": "{\n  \"title\": \"h3 a\",\n  \"price\": \".price_color\",\n  \"availability\": \".availability\",\n  \"rating\": \"p.star-rating\"\n}"
                    },
                    "sheetName": {
                        "title": "Sheet Name",
                        "type": "string",
                        "description": "Specific Excel sheet to read. Leave empty to read all sheets.",
                        "default": ""
                    },
                    "skipEmptyRows": {
                        "title": "Skip Empty Rows",
                        "type": "boolean",
                        "description": "Remove rows that are entirely blank from the output.",
                        "default": true
                    },
                    "forwardFillColumns": {
                        "title": "Forward-Fill Columns",
                        "type": "string",
                        "description": "Comma-separated list of column names to forward-fill (for merged cells in Excel). Leave empty to skip.",
                        "default": ""
                    },
                    "pageSize": {
                        "title": "Page Size (Pagination)",
                        "minimum": 0,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Number of records per page in the output. Set to 0 for no pagination.",
                        "default": 0
                    },
                    "outputFormat": {
                        "title": "Output Format",
                        "enum": [
                            "records",
                            "wrapped",
                            "flat"
                        ],
                        "type": "string",
                        "description": "How to structure the final output in the dataset.",
                        "default": "records"
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings for fetching URLs. Uses Apify Proxy by default.",
                        "default": {
                            "useApifyProxy": true
                        }
                    },
                    "maxRequestRetries": {
                        "title": "Max Request Retries",
                        "minimum": 0,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Maximum number of retries for failed HTTP requests.",
                        "default": 3
                    }
                }
            },
            "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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
