# Code Converter Toolkit (`moving_beacon-owner1/my-actor-64`) Actor

A universal code conversion actor that transforms between 6 popular code formats in a single run. Supports both single and batch conversions with structured JSON output.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## 🔄 Code Converter Toolkit — Apify Actor

A universal code conversion actor that transforms between **6 popular code formats** in a single run. Supports both single and batch conversions with structured JSON output.

---

### Supported Conversions

| ## | From | To | Key |
|---|------|----|-----|
| 1 | HTML | Markdown | `html_to_markdown` |
| 2 | Markdown | HTML | `markdown_to_html` |
| 3 | CSS | Tailwind Classes | `css_to_tailwind` |
| 4 | SQL DDL | ORM Models (Python + JS) | `sql_to_orm` |
| 5 | JSON | TypeScript Interfaces | `json_to_typescript` |
| 6 | JSON | Python Dataclasses | `json_to_dataclass` |

---

### Input Schema

#### Single Conversion (Default)

```json
{
    "conversion_type": "html_to_markdown",
    "source_code": "<h1>Hello</h1><p>World</p>",
    "root_class_name": "Root",
    "orm_target": "both"
}
````

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `conversion_type` | string (enum) | ✅ | `"html_to_markdown"` | Which conversion to run |
| `source_code` | string | ✅ | *(HTML demo)* | The source code to convert |
| `root_class_name` | string | ❌ | `"Root"` | Class/interface name (JSON converters only) |
| `orm_target` | string (enum) | ❌ | `"both"` | `"both"` / `"sqlalchemy"` / `"sequelize"` |

#### Batch Conversion

Provide `batch_conversions` to run multiple conversions in one actor call.\
When batch is provided, the single-mode fields are **ignored**.

```json
{
    "batch_conversions": [
        {
            "conversion_type": "html_to_markdown",
            "source_code": "<h1>Title</h1><p>Paragraph</p>"
        },
        {
            "conversion_type": "json_to_typescript",
            "source_code": "{\"name\": \"Alice\", \"age\": 30}",
            "root_class_name": "User"
        },
        {
            "conversion_type": "css_to_tailwind",
            "source_code": ".box { display: flex; padding: 1rem; gap: 0.5rem; }"
        },
        {
            "conversion_type": "sql_to_orm",
            "source_code": "CREATE TABLE users (id SERIAL PRIMARY KEY, name VARCHAR(100) NOT NULL);",
            "orm_target": "sqlalchemy"
        }
    ]
}
```

***

### Output

Each conversion produces a structured result in the **default dataset**:

```json
{
    "index": 0,
    "conversion_type": "html_to_markdown",
    "label": "HTML → Markdown",
    "input_lang": "html",
    "output_lang": "markdown",
    "source_code": "<h1>Hello</h1>...",
    "converted_output": "## Hello\n\n...",
    "success": true,
    "error": null,
    "timestamp": "2025-01-15T12:00:00+00:00"
}
```

Additionally:

- **Key-Value Store → `RUN_SUMMARY`**: Aggregated stats (total, success, fail counts)
- **Key-Value Store → `OUTPUT_0_html_to_markdown.md`**: Individual output files with correct extensions

***

### Conversion Details

#### 1. HTML → Markdown

Converts semantic HTML into clean Markdown. Handles headings, bold/italic, links, images, code blocks, blockquotes, ordered/unordered lists, horizontal rules, and GFM-style tables.

#### 2. Markdown → HTML

Parses Markdown syntax into semantic HTML5. Supports headings, inline formatting, fenced code blocks with language hints, blockquotes, lists, pipe tables, links, images, and horizontal rules.

#### 3. CSS → Tailwind Classes

Maps 50+ CSS properties to Tailwind utility classes including display, position, flexbox, grid, spacing (margin/padding), typography, colors, borders, shadows, transforms, and more. Uses Tailwind's arbitrary value syntax `[value]` for unmapped values.

#### 4. SQL → ORM Models

Parses `CREATE TABLE` DDL statements and generates:

- **Python SQLAlchemy** ORM model classes
- **JavaScript Sequelize** model definitions

Supports: INT, VARCHAR, TEXT, BOOLEAN, TIMESTAMP, SERIAL, JSON, UUID, BLOB, etc.\
Constraints: PRIMARY KEY, NOT NULL, UNIQUE, DEFAULT, REFERENCES (foreign keys).

#### 5. JSON → TypeScript Interfaces

Recursively infers TypeScript `export interface` definitions from JSON objects/arrays. Detects nested objects, arrays of objects (with singular naming), union types for mixed arrays, and optional fields for null values.

#### 6. JSON → Python Dataclass

Generates Python `@dataclass` definitions with:

- Recursive nested class generation
- `Optional[]` typing for nullable fields
- `from_dict()` classmethod with nested object reconstruction
- `to_dict()` method (via `dataclasses.asdict`)
- `from_json()` classmethod for direct string deserialization

***

### Running Locally

```bash
## Install the Apify CLI
npm install -g apify-cli

## Navigate to the actor directory
cd apify-actor

## Create local storage
apify init

## Run with default input
apify run

## Run with custom input
apify run --input='{"conversion_type":"css_to_tailwind","source_code":".card{display:flex;padding:1rem;}"}'
```

***

### Example Inputs by Type

#### HTML → Markdown

```json
{
    "conversion_type": "html_to_markdown",
    "source_code": "<h1>Blog Post</h1><p>Hello <strong>world</strong>!</p><ul><li>Item 1</li><li>Item 2</li></ul>"
}
```

#### CSS → Tailwind

```json
{
    "conversion_type": "css_to_tailwind",
    "source_code": ".container { display: flex; flex-direction: column; align-items: center; padding: 2rem; gap: 1rem; background-color: #ffffff; border-radius: 0.5rem; }"
}
```

#### SQL → ORM

```json
{
    "conversion_type": "sql_to_orm",
    "source_code": "CREATE TABLE products (id SERIAL PRIMARY KEY, name VARCHAR(200) NOT NULL, price DECIMAL(10,2), category_id INTEGER REFERENCES categories(id), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP);",
    "orm_target": "both"
}
```

#### JSON → TypeScript

```json
{
    "conversion_type": "json_to_typescript",
    "source_code": "{\"id\": 1, \"name\": \"Widget\", \"price\": 29.99, \"tags\": [\"sale\", \"new\"], \"dimensions\": {\"width\": 10, \"height\": 20}}",
    "root_class_name": "Product"
}
```

#### JSON → Dataclass

```json
{
    "conversion_type": "json_to_dataclass",
    "source_code": "{\"id\": 1, \"name\": \"Widget\", \"price\": 29.99, \"in_stock\": true, \"metadata\": null}",
    "root_class_name": "Product"
}
```

***

### Tech Stack

- **Runtime**: Python 3.11
- **Platform**: Apify SDK v2
- **Dependencies**: Zero external deps for converters (stdlib only)
- **Docker**: `apify/actor-python:3.11`

***

### License

MIT

# Actor input Schema

## `conversion_type` (type: `string`):

Select which code conversion to perform.

## `source_code` (type: `string`):

Paste the source code you want to convert. The format must match the selected Conversion Type.

## `root_class_name` (type: `string`):

Name for the root TypeScript interface or Python dataclass. Only used for JSON→TypeScript and JSON→Dataclass conversions.

## `orm_target` (type: `string`):

Which ORM output to generate for SQL conversion. 'both' produces SQLAlchemy (Python) + Sequelize (JavaScript).

## `batch_conversions` (type: `array`):

Run multiple conversions in a single actor call. Provide a JSON array of objects, each with 'conversion\_type', 'source\_code', and optionally 'root\_class\_name' / 'orm\_target'. When provided, the single inputs above are ignored.

## `proxy_configuration` (type: `object`):

Not required for this actor (no web requests), but included for Apify platform compatibility.

## Actor input object example

```json
{
  "conversion_type": "html_to_markdown",
  "source_code": "<h1>Hello World</h1>\n<p>This is a <strong>demo paragraph</strong> with <em>italic text</em> and a <a href=\"https://example.com\">link</a>.</p>\n<h2>Features</h2>\n<ul>\n  <li>Fast conversion</li>\n  <li>Supports <code>inline code</code></li>\n  <li>Tables and lists</li>\n</ul>\n<blockquote>This is a blockquote.</blockquote>\n<pre><code>console.log('Hello!');</code></pre>",
  "root_class_name": "Root",
  "orm_target": "both",
  "batch_conversions": [],
  "proxy_configuration": {}
}
```

# 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 = {
    "conversion_type": "html_to_markdown",
    "source_code": `<h1>Hello World</h1>
<p>This is a <strong>demo paragraph</strong> with <em>italic text</em> and a <a href="https://example.com">link</a>.</p>
<h2>Features</h2>
<ul>
  <li>Fast conversion</li>
  <li>Supports <code>inline code</code></li>
  <li>Tables and lists</li>
</ul>
<blockquote>This is a blockquote.</blockquote>
<pre><code>console.log('Hello!');</code></pre>`,
    "root_class_name": "Root",
    "orm_target": "both",
    "batch_conversions": [],
    "proxy_configuration": {}
};

// Run the Actor and wait for it to finish
const run = await client.actor("moving_beacon-owner1/my-actor-64").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 = {
    "conversion_type": "html_to_markdown",
    "source_code": """<h1>Hello World</h1>
<p>This is a <strong>demo paragraph</strong> with <em>italic text</em> and a <a href=\"https://example.com\">link</a>.</p>
<h2>Features</h2>
<ul>
  <li>Fast conversion</li>
  <li>Supports <code>inline code</code></li>
  <li>Tables and lists</li>
</ul>
<blockquote>This is a blockquote.</blockquote>
<pre><code>console.log('Hello!');</code></pre>""",
    "root_class_name": "Root",
    "orm_target": "both",
    "batch_conversions": [],
    "proxy_configuration": {},
}

# Run the Actor and wait for it to finish
run = client.actor("moving_beacon-owner1/my-actor-64").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 '{
  "conversion_type": "html_to_markdown",
  "source_code": "<h1>Hello World</h1>\\n<p>This is a <strong>demo paragraph</strong> with <em>italic text</em> and a <a href=\\"https://example.com\\">link</a>.</p>\\n<h2>Features</h2>\\n<ul>\\n  <li>Fast conversion</li>\\n  <li>Supports <code>inline code</code></li>\\n  <li>Tables and lists</li>\\n</ul>\\n<blockquote>This is a blockquote.</blockquote>\\n<pre><code>console.log('\''Hello!'\'');</code></pre>",
  "root_class_name": "Root",
  "orm_target": "both",
  "batch_conversions": [],
  "proxy_configuration": {}
}' |
apify call moving_beacon-owner1/my-actor-64 --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Code Converter Toolkit",
        "description": "A universal code conversion actor that transforms between 6 popular code formats in a single run. Supports both single and batch conversions with structured JSON output.",
        "version": "0.0",
        "x-build-id": "sG6NhrcpW2ZchUsSO"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/moving_beacon-owner1~my-actor-64/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-moving_beacon-owner1-my-actor-64",
                "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-64/runs": {
            "post": {
                "operationId": "runs-sync-moving_beacon-owner1-my-actor-64",
                "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-64/run-sync": {
            "post": {
                "operationId": "run-sync-moving_beacon-owner1-my-actor-64",
                "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": [
                    "conversion_type",
                    "source_code"
                ],
                "properties": {
                    "conversion_type": {
                        "title": "Conversion Type",
                        "enum": [
                            "html_to_markdown",
                            "markdown_to_html",
                            "css_to_tailwind",
                            "sql_to_orm",
                            "json_to_typescript",
                            "json_to_dataclass"
                        ],
                        "type": "string",
                        "description": "Select which code conversion to perform.",
                        "default": "html_to_markdown"
                    },
                    "source_code": {
                        "title": "Source Code",
                        "type": "string",
                        "description": "Paste the source code you want to convert. The format must match the selected Conversion Type.",
                        "default": "<h1>Hello World</h1>\n<p>This is a <strong>demo paragraph</strong> with <em>italic text</em> and a <a href=\"https://example.com\">link</a>.</p>\n<h2>Features</h2>\n<ul>\n  <li>Fast conversion</li>\n  <li>Supports <code>inline code</code></li>\n  <li>Tables and lists</li>\n</ul>\n<blockquote>This is a blockquote.</blockquote>\n<pre><code>console.log('Hello!');</code></pre>"
                    },
                    "root_class_name": {
                        "title": "Root Class / Interface Name",
                        "type": "string",
                        "description": "Name for the root TypeScript interface or Python dataclass. Only used for JSON→TypeScript and JSON→Dataclass conversions.",
                        "default": "Root"
                    },
                    "orm_target": {
                        "title": "ORM Target Language",
                        "enum": [
                            "both",
                            "sqlalchemy",
                            "sequelize"
                        ],
                        "type": "string",
                        "description": "Which ORM output to generate for SQL conversion. 'both' produces SQLAlchemy (Python) + Sequelize (JavaScript).",
                        "default": "both"
                    },
                    "batch_conversions": {
                        "title": "Batch Conversions (Optional)",
                        "type": "array",
                        "description": "Run multiple conversions in a single actor call. Provide a JSON array of objects, each with 'conversion_type', 'source_code', and optionally 'root_class_name' / 'orm_target'. When provided, the single inputs above are ignored.",
                        "items": {
                            "type": "object",
                            "required": [
                                "conversion_type",
                                "source_code"
                            ],
                            "properties": {
                                "conversion_type": {
                                    "title": "Conversion Type",
                                    "description": "Which conversion to perform for this batch item.",
                                    "type": "string",
                                    "enum": [
                                        "html_to_markdown",
                                        "markdown_to_html",
                                        "css_to_tailwind",
                                        "sql_to_orm",
                                        "json_to_typescript",
                                        "json_to_dataclass"
                                    ]
                                },
                                "source_code": {
                                    "title": "Source Code",
                                    "description": "The source code to convert.",
                                    "type": "string"
                                },
                                "root_class_name": {
                                    "title": "Root Class Name",
                                    "description": "Root class or interface name for JSON conversions.",
                                    "type": "string"
                                },
                                "orm_target": {
                                    "title": "ORM Target",
                                    "description": "ORM output target: both, sqlalchemy, or sequelize.",
                                    "type": "string",
                                    "enum": [
                                        "both",
                                        "sqlalchemy",
                                        "sequelize"
                                    ]
                                }
                            }
                        },
                        "default": []
                    },
                    "proxy_configuration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Not required for this actor (no web requests), but included for Apify platform compatibility.",
                        "default": {}
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
