# cURL to Code Converter (`automation-lab/curl-to-code-converter`) Actor

Convert cURL commands to Python, JavaScript, PHP, Go, Ruby, Java, C#, Rust, Swift, Kotlin, and more. Supports 14 languages. Batch-convert dozens of cURL commands in one run.

- **URL**: https://apify.com/automation-lab/curl-to-code-converter.md
- **Developed by:** [Stas Persiianenko](https://apify.com/automation-lab) (community)
- **Categories:** Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## cURL to Code Converter

Convert cURL commands to clean, production-ready code in Python, JavaScript, PHP, Go, Ruby, Java, C#, Rust, Swift, Kotlin, and more — all in one run.

### What does it do?

Paste any cURL command (or a batch of them) and get back ready-to-use code snippets in your chosen programming languages. The actor parses each cURL command and generates idiomatic HTTP client code with correct headers, methods, request bodies, and authentication.

It handles:

- 🔁 Simple GET requests and complex POSTs with JSON bodies
- 🔐 HTTP Basic Auth, Bearer tokens, and custom headers
- 📦 Form data, multipart uploads, and raw body payloads
- 🔗 URL parameters and query strings
- 🔄 Multi-line cURL commands with `\` line continuations
- 📋 Batch conversion — process dozens of commands in one run

### Who is it for?

This tool is for developers who want to stop manually translating curl commands:

- **API developers** — convert browser DevTools "Copy as cURL" exports directly to your stack
- **Backend engineers** — migrate API documentation examples from curl to Python or Node.js
- **QA engineers** — transform curl-based test scripts into language-native HTTP clients
- **Data engineers** — batch-convert curl scraping scripts when switching language stack
- **Full-stack developers** — translate third-party API cURL examples into production code without boilerplate

### Why use it?

Writing HTTP client code from curl is tedious and error-prone. Getting headers, auth, and body encoding right takes time. This actor does it instantly — and does it for 14 languages at once.

- ⚡ **Instant** — no manual parsing, no copy-paste errors
- 🌐 **14 languages** — Python, JS, Node.js (3 variants), PHP, Go, Ruby, Java, C#, R, Rust, Swift, Kotlin
- 📦 **Batch** — convert entire curl libraries in a single run
- 🔒 **Private** — your commands are processed and discarded, never stored
- 💰 **Cheap** — 100 commands costs ~$0.105 at FREE tier

### Supported languages

| Key | Language / Library |
|-----|--------------------|
| `python` | Python (requests) |
| `javascript` | JavaScript (fetch) |
| `node` | Node.js (http) |
| `node-fetch` | Node.js (node-fetch) |
| `node-axios` | Node.js (axios) |
| `php` | PHP (curl) |
| `go` | Go (net/http) |
| `ruby` | Ruby (net/http) |
| `java` | Java (HttpURLConnection) |
| `csharp` | C## (HttpClient) |
| `r` | R (httr) |
| `rust` | Rust (reqwest) |
| `swift` | Swift (URLSession) |
| `kotlin` | Kotlin (OkHttp) |

### How much does it cost to convert cURL commands to code?

Pay-per-event pricing — you only pay for what you convert:

| Event | FREE | BRONZE | SILVER | GOLD | PLATINUM | DIAMOND |
|-------|------|--------|--------|------|----------|---------|
| Run started (one-time) | $0.005 | $0.005 | $0.005 | $0.005 | $0.005 | $0.005 |
| Per cURL command converted | $0.001 | $0.0009 | $0.0008 | $0.00065 | $0.0005 | $0.0004 |

**Example costs:**
- 10 commands → ~$0.015 (FREE tier)
- 100 commands → ~$0.105 (FREE tier)
- 100 commands → ~$0.045 (DIAMOND tier — 60% off)

DIAMOND subscribers save 60% on per-conversion charges.

### How to convert cURL commands to code

**Step 1** — Open the actor on [Apify Console](https://console.apify.com/actors/automation-lab/curl-to-code-converter)

**Step 2** — Paste your cURL commands into the **cURL Commands** field (one per line)

**Step 3** — Select the **Target Languages** you want (defaults to Python, JavaScript, PHP, Go, Ruby)

**Step 4** — Click **Start** and wait a few seconds

**Step 5** — Download the dataset as JSON or access results via the Apify API

💡 You can also run it via API or CLI — see the API usage section below.

### Input parameters

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `curlCommands` | array of strings | ✅ Yes | One or more cURL commands to convert. Each must start with `curl`. |
| `languages` | array of strings | No | Target languages (defaults to `python`, `javascript`, `php`, `go`, `ruby` if omitted). |

#### Example input

```json
{
    "curlCommands": [
        "curl https://api.github.com/repos/apify/apify-sdk-js",
        "curl -X POST https://api.example.com/users -H 'Content-Type: application/json' -d '{\"name\": \"John\"}'",
        "curl -u admin:secret https://api.example.com/protected"
    ],
    "languages": ["python", "javascript", "go"]
}
````

### Output examples

Each cURL command produces one dataset item with all requested language conversions:

```json
{
    "curlCommand": "curl https://api.github.com/repos/apify/apify-sdk-js",
    "conversions": {
        "python": "import requests\n\nresponse = requests.get('https://api.github.com/repos/apify/apify-sdk-js')\n",
        "javascript": "fetch('https://api.github.com/repos/apify/apify-sdk-js');\n",
        "go": "package main\n\nimport (\n\t\"fmt\"\n\t\"io\"\n\t\"log\"\n\t\"net/http\"\n)\n\nfunc main() {\n\tclient := &http.Client{}\n\treq, err := http.NewRequest(\"GET\", \"https://api.github.com/repos/apify/apify-sdk-js\", nil)\n\t..."
    },
    "errors": {},
    "success": true
}
```

**Output fields:**

| Field | Type | Description |
|-------|------|-------------|
| `curlCommand` | string | The original cURL command |
| `conversions` | object | Map of language key → generated code string (null if conversion failed) |
| `errors` | object | Map of language key → error message (only populated for failed conversions) |
| `success` | boolean | True if at least one language conversion succeeded |

### Tips and best practices

- **Start with the defaults** — the default languages (Python, JS, PHP, Go, Ruby) cover most use cases. Add more only if you need them.
- **Copy from DevTools** — in Chrome or Firefox, right-click any network request → Copy → Copy as cURL. Paste directly into this actor.
- **Multi-line commands work** — commands with `\` line continuations are fully supported. Paste them as-is.
- **Check the `errors` field** — if a conversion fails for one language, other languages still succeed. The `errors` field tells you which ones failed and why.
- **Batch efficiently** — combining 50 commands in one run costs the same start fee as 1 command. Batch up to save money.
- **Complex flags** — some advanced cURL flags like `--cert`, `--resolve`, and `--noproxy` may not be supported in all target languages. The actor will note errors without blocking other conversions.

### Integrations

**With Make (Integromat):**
Use the Apify Make module to trigger a conversion run, then pass the output to a Google Sheets or Notion step to store your code snippets library.

**With Zapier:**
Chain this actor with a Zapier Apify trigger → format the output → save to Airtable for team code sharing.

**With n8n:**
Build a webhook → Apify HTTP Request node → Code node workflow that auto-converts inbound curl commands to your stack's format.

**With GitHub Actions:**
Use the Apify API in a CI workflow to validate that your API documentation examples are always translatable to your target languages.

### API usage (Node.js)

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('automation-lab/curl-to-code-converter').call({
    curlCommands: [
        'curl https://api.github.com/repos/apify/apify-sdk-js',
        "curl -X POST https://api.example.com/data -H 'Content-Type: application/json' -d '{\"key\":\"value\"}'",
    ],
    languages: ['python', 'javascript', 'go'],
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) {
    console.log('Command:', item.curlCommand);
    console.log('Python:', item.conversions.python);
}
```

### API usage (Python)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("automation-lab/curl-to-code-converter").call(
    run_input={
        "curlCommands": [
            "curl https://api.github.com/repos/apify/apify-sdk-js",
            "curl -X POST https://api.example.com/data -H 'Content-Type: application/json' -d '{\"key\":\"value\"}'",
        ],
        "languages": ["python", "javascript", "go"],
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print("Command:", item["curlCommand"])
    print("Python:", item["conversions"]["python"])
```

### API usage (cURL)

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/automation-lab~curl-to-code-converter/runs?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "curlCommands": [
      "curl https://api.github.com/repos/apify/apify-sdk-js"
    ],
    "languages": ["python", "javascript"]
  }'
```

### Use with AI assistants (MCP)

The cURL to Code Converter is available as a tool for AI assistants that support the [Model Context Protocol (MCP)](https://docs.apify.com/platform/integrations/mcp).

Add the Apify MCP server to your AI client — this gives you access to all Apify actors, including this one:

#### Setup for Claude Code

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=automation-lab/curl-to-code-converter"
```

#### Setup for Claude Desktop, Cursor, or VS Code

Add this to your MCP config file:

```json
{
    "mcpServers": {
        "apify": {
            "url": "https://mcp.apify.com?tools=automation-lab/curl-to-code-converter"
        }
    }
}
```

Your AI assistant will use OAuth to authenticate with your Apify account on first use.

#### Example prompts

Once connected, try asking your AI assistant:

- "Convert this curl command to Python: `curl -X POST https://api.example.com/data -H 'Authorization: Bearer TOKEN' -d '{\"key\":\"value\"}'`"
- "Take these 5 curl commands from my Postman export and generate Go code for all of them"
- "I'm migrating from bash scripts to Node.js — convert all these curl calls to fetch"

Learn more in the [Apify MCP documentation](https://docs.apify.com/platform/integrations/mcp).

### FAQ

**Q: What happens when a conversion fails for one language?**
A: That language's `conversions` value is `null` and the error goes into the `errors` field. Other languages still succeed. The run is not aborted.

**Q: Does it support cURL flags like `--compressed`, `-L` (follow redirects), or `--cookie`?**
A: Most common flags are supported. `--compressed` maps to Accept-Encoding headers, `-L` maps to redirect handling, and cookies map to Cookie headers. Very advanced flags like `--cert` (client certificates) may not translate to all languages.

**Q: Can I convert more than 100 commands per run?**
A: Yes — there's no hard limit. Large batches (500+ commands) work fine. The run just takes longer and charges per-command accordingly.

**Q: The generated code doesn't match my expectations — what should I check?**
A: Check that your cURL command is valid and parseable. Run `curl --help` on the command locally first. Commands with shell variable interpolation (e.g., `$TOKEN`) are passed through as literals — you'll need to replace them in the generated code.

**Q: Are my cURL commands stored?**
A: No. The actor processes your input and writes output to the dataset. Commands are not logged beyond the Apify run log, which is visible to your account only.

### Legality and terms of use

This actor converts cURL commands locally using open-source parsing libraries. It does not make any HTTP requests to the target URLs in your cURL commands — it only generates code.

No web scraping or data collection from external sites occurs. The actor is entirely a code transformation tool. Usage is subject to [Apify's Terms of Service](https://apify.com/terms-of-use).

### Related tools

- [JSON Schema Generator](https://apify.com/automation-lab/json-schema-generator) — Generate JSON Schema from sample JSON objects
- [Color Contrast Checker](https://apify.com/automation-lab/color-contrast-checker) — Validate WCAG AA/AAA color contrast ratios for accessibility

# Actor input Schema

## `curlCommands` (type: `array`):

List of cURL commands to convert. Each command should start with 'curl'.

## `languages` (type: `array`):

Programming languages to convert the cURL commands to. Defaults to Python, JavaScript, PHP, Go, and Ruby if not specified.

## Actor input object example

```json
{
  "curlCommands": [
    "curl https://api.example.com/users",
    "curl -X POST https://api.example.com/users -H 'Content-Type: application/json' -d '{\"name\": \"John\", \"email\": \"john@example.com\"}'",
    "curl -u username:password https://api.example.com/protected -H 'Accept: application/json'"
  ],
  "languages": [
    "python",
    "javascript",
    "php",
    "go",
    "ruby"
  ]
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "curlCommands": [
        "curl https://api.example.com/users",
        "curl -X POST https://api.example.com/users -H 'Content-Type: application/json' -d '{\"name\": \"John\", \"email\": \"john@example.com\"}'",
        "curl -u username:password https://api.example.com/protected -H 'Accept: application/json'"
    ],
    "languages": [
        "python",
        "javascript",
        "php",
        "go",
        "ruby"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation-lab/curl-to-code-converter").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 = {
    "curlCommands": [
        "curl https://api.example.com/users",
        "curl -X POST https://api.example.com/users -H 'Content-Type: application/json' -d '{\"name\": \"John\", \"email\": \"john@example.com\"}'",
        "curl -u username:password https://api.example.com/protected -H 'Accept: application/json'",
    ],
    "languages": [
        "python",
        "javascript",
        "php",
        "go",
        "ruby",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("automation-lab/curl-to-code-converter").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 '{
  "curlCommands": [
    "curl https://api.example.com/users",
    "curl -X POST https://api.example.com/users -H '\''Content-Type: application/json'\'' -d '\''{\\"name\\": \\"John\\", \\"email\\": \\"john@example.com\\"}'\''",
    "curl -u username:password https://api.example.com/protected -H '\''Accept: application/json'\''"
  ],
  "languages": [
    "python",
    "javascript",
    "php",
    "go",
    "ruby"
  ]
}' |
apify call automation-lab/curl-to-code-converter --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=automation-lab/curl-to-code-converter",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "cURL to Code Converter",
        "description": "Convert cURL commands to Python, JavaScript, PHP, Go, Ruby, Java, C#, Rust, Swift, Kotlin, and more. Supports 14 languages. Batch-convert dozens of cURL commands in one run.",
        "version": "0.1",
        "x-build-id": "fM6APgez5DWPmx8Sb"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/automation-lab~curl-to-code-converter/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-automation-lab-curl-to-code-converter",
                "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/automation-lab~curl-to-code-converter/runs": {
            "post": {
                "operationId": "runs-sync-automation-lab-curl-to-code-converter",
                "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/automation-lab~curl-to-code-converter/run-sync": {
            "post": {
                "operationId": "run-sync-automation-lab-curl-to-code-converter",
                "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": [
                    "curlCommands"
                ],
                "properties": {
                    "curlCommands": {
                        "title": "cURL commands",
                        "type": "array",
                        "description": "List of cURL commands to convert. Each command should start with 'curl'.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "languages": {
                        "title": "Target languages",
                        "type": "array",
                        "description": "Programming languages to convert the cURL commands to. Defaults to Python, JavaScript, PHP, Go, and Ruby if not specified.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "python",
                                "javascript",
                                "node",
                                "node-fetch",
                                "node-axios",
                                "php",
                                "go",
                                "ruby",
                                "java",
                                "csharp",
                                "r",
                                "rust",
                                "swift",
                                "kotlin"
                            ],
                            "enumTitles": [
                                "Python (requests)",
                                "JavaScript (fetch)",
                                "Node.js (http)",
                                "Node.js (node-fetch)",
                                "Node.js (axios)",
                                "PHP (curl)",
                                "Go (net/http)",
                                "Ruby (net/http)",
                                "Java (HttpURLConnection)",
                                "C# (HttpClient)",
                                "R (httr)",
                                "Rust (reqwest)",
                                "Swift (URLSession)",
                                "Kotlin (OkHttp)"
                            ]
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
