# X/Twitter Post Cleaner - Bulk Delete Tweets (`alizarin_refrigerator-owner/social-post-cleaner-twitter`) Actor

Bulk delete tweets from your X/Twitter account. Filter by date range, keywords, media type, or retweets. Supports archive upload to delete tweets older than the API returns (~3,200 limit).

- **URL**: https://apify.com/alizarin\_refrigerator-owner/social-post-cleaner-twitter.md
- **Developed by:** [The Howlers](https://apify.com/alizarin_refrigerator-owner) (community)
- **Categories:** Automation, Social media, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 tweet deleteds

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

## X/Twitter Post Cleaner

Bulk delete tweets from your X/Twitter account. Clean up old tweets, retweets, and likes with powerful filtering.

### Features

- **Date range filtering** -- delete tweets before/after a specific date
- **Keyword filtering** -- only delete tweets containing specific words
- **Preserve keywords** -- protect tweets containing specific words from deletion
- **Delete modes** -- tweets only, retweets only, likes (unlike), or all (tweets + retweets + unlikes)
- **Media filter** -- only delete tweets with images/videos
- **Archive support** -- upload your Twitter archive to delete tweets older than the API's ~3,200 limit
- **Dry run** -- preview what would be deleted without actually deleting
- **Safety cap** -- set a maximum number of deletions per run
- **Webhook** -- get notified when the cleanup finishes

### Quick Start

1. Get your API credentials (see below)
2. Run with `dryRun: true` first to preview what will be deleted
3. Once you're happy, set `dryRun: false` and run again

### Getting Your API Credentials

You need a **Twitter/X Developer account** with an app that has OAuth 1.0a enabled.

#### Step-by-step:

1. Go to [developer.x.com](https://developer.x.com) and sign in with the X account you want to clean
2. Click **Developer Portal** (top right)
3. If you don't have a project yet, create one (any name is fine)
4. Create an **App** inside the project
5. In your App settings:
   - Under **User authentication settings**, click **Set up**
   - Enable **OAuth 1.0a**
   - Set App permissions to **Read and Write** (IMPORTANT -- "Read only" won't work)
   - Set callback URL to `https://localhost` (it won't be used, but it's required)
   - Save
6. Go to **Keys and Tokens** tab and generate/regenerate:
   - **API Key** (also called Consumer Key) -- copy it
   - **API Key Secret** (also called Consumer Secret) -- copy it
   - **Access Token** -- copy it
   - **Access Token Secret** -- copy it
7. Paste all four into this actor's input fields

#### Which X/Twitter API tier do I need?

- **Free tier**: Can delete tweets and unlike, but CANNOT read your tweet timeline. You will need to use the **Archive Upload** method (see below) to provide the list of tweet IDs.
- **Basic tier ($200/mo)**: Can read your timeline AND delete. Works fully without archive upload, but limited to ~3,200 most recent tweets.
- **Pro tier ($5,000/mo)**: Higher rate limits and full timeline access.

**Recommendation for most users**: Use the **Free tier + Archive Upload**. It costs nothing for the API and covers your entire history.

### Deleting Old Tweets (Archive Upload)

The Twitter API only returns your most recent ~3,200 tweets. If you have older tweets (or are on the Free tier), you need your archive:

1. On X, go to **Settings and privacy** > **Your account** > **Download an archive of your data**
2. Confirm your identity (may require email/phone verification)
3. Click **Request archive**
4. Wait for the email from X (usually 24-48 hours, sometimes longer)
5. Download and unzip the `.zip` file
6. Navigate to the `data/` folder inside the archive
7. Open `tweets.js` in any text editor (Notepad, VS Code, TextEdit, etc.)
8. Select All (Ctrl+A / Cmd+A) and Copy (Ctrl+C / Cmd+C)
9. Paste into the **Tweet Archive** input field in this actor

The file starts with `window.YTD.tweet.part0 = [...]` -- that's expected, the actor handles it.

**Warning**: Archive files can be very large (10MB+) for accounts with thousands of tweets. If your archive is too large for the textarea, try splitting it or filtering in a text editor first.

### Usage Examples

#### Delete everything before 2024 (with archive)
```json
{
  "apiKey": "your-key",
  "apiKeySecret": "your-secret",
  "accessToken": "your-token",
  "accessTokenSecret": "your-token-secret",
  "deleteMode": "all",
  "beforeDate": "2024-01-01",
  "tweetArchiveJson": "(paste your tweets.js contents here)",
  "maxDeletions": 0
}
````

#### Delete only retweets

```json
{
  "deleteMode": "retweets",
  "maxDeletions": 500
}
```

#### Dry run to preview (no deletions)

```json
{
  "deleteMode": "all",
  "beforeDate": "2020-01-01",
  "dryRun": true
}
```

#### Delete tweets containing a keyword but keep pinned

```json
{
  "deleteMode": "tweets",
  "keywordFilter": "embarrassing",
  "preserveKeyword": "pinned",
  "maxDeletions": 100
}
```

#### Nuclear option -- delete absolutely everything

```json
{
  "deleteMode": "all",
  "maxDeletions": 0,
  "tweetArchiveJson": "(paste your tweets.js contents here)"
}
```

### Rate Limits

The Twitter API enforces strict rate limits on deletions:

| Tier | Delete Rate | Timeline Read Rate |
|------|-----------|-------------------|
| Free ($0) | 50 deletes / 15 min | Not available (use archive) |
| Basic ($200/mo) | 50 deletes / 15 min | 100 reads / 15 min |
| Pro ($5,000/mo) | 300 deletes / 15 min | 900 reads / 15 min |

The actor automatically detects rate limits and pauses until the reset window. You'll see log messages like "Rate limit hit. Waiting 14.5 minutes until reset..."

**Time estimates:**

- 100 tweets: ~5 minutes
- 1,000 tweets: ~1 hour
- 5,000 tweets: ~5 hours
- 10,000 tweets: ~10 hours

For large jobs, increase the actor timeout in Run Options (default: 1 hour, max: 24 hours).

### Pricing

Pay-per-event billing -- you only pay for successful actions:

| Action | Price |
|--------|-------|
| Tweet/retweet deleted | $0.01 |
| Tweet unliked | $0.005 |

Free actions (no charge):

- Dry runs (preview mode)
- Skipped tweets (didn't match filters)
- Already-deleted tweets (404 from API)
- Failed deletions (errors)

### Output

Each run produces a dataset with:

- One row per processed tweet: tweet ID, text preview (first 200 chars), date, deleted (true/false), error message
- A summary row at the end with totals: totalFound, matchingFilters, deleted, errors

### Troubleshooting

#### "Failed to get user info" / 401 Unauthorized

- Your API credentials are wrong or expired. Regenerate them at developer.x.com.
- Make sure you're using **OAuth 1.0a User Context** tokens, not OAuth 2.0 Bearer tokens.
- Verify your app has **Read and Write** permissions (not just Read).

#### "Tweet fetch returned 403"

- Your X Developer account is on the **Free tier**, which doesn't allow reading timelines. Use the **Archive Upload** method instead.

#### Deletions are very slow

- This is normal. Twitter limits deletions to 50 per 15 minutes on Free/Basic tiers. The actor handles this automatically by pausing and resuming.

#### Some tweets weren't deleted

- Tweets from archived/suspended accounts or tweets that have already been deleted will return errors. These are logged but don't stop the run.
- If you're using the API (no archive), only your most recent ~3,200 tweets are accessible. Use archive upload for older tweets.

#### Archive file is too large

- Open tweets.js in a text editor, remove entries you want to keep, and paste the rest. Each tweet is a JSON object in the array -- you can safely remove array elements.

### Safety Tips

1. **Always start with a dry run** (`dryRun: true`) to verify your filters match the right tweets
2. **Start with a small maxDeletions** (e.g., 50) before setting to 0 (unlimited)
3. **Download your archive BEFORE bulk deleting** -- it's your only backup
4. **Use preserveKeyword** to protect important tweets from accidental deletion
5. **Deletions are permanent** -- there is no undo. X/Twitter does not offer tweet recovery.

# Actor input Schema

## `apiKey` (type: `string`):

Your X/Twitter API Key (also called Consumer Key). Get one at developer.x.com

## `apiKeySecret` (type: `string`):

Your X/Twitter API Key Secret (also called Consumer Secret)

## `accessToken` (type: `string`):

Your user-level Access Token (from developer.x.com app settings > Keys and Tokens)

## `accessTokenSecret` (type: `string`):

Your user-level Access Token Secret

## `deleteMode` (type: `string`):

What to delete: 'tweets' (your original tweets), 'retweets' (retweets only), 'likes' (unlike all), or 'all' (tweets + retweets + unlikes everything)

## `beforeDate` (type: `string`):

Only delete tweets posted BEFORE this date (YYYY-MM-DD). Example: '2024-01-01' deletes everything before 2024.

## `afterDate` (type: `string`):

Only delete tweets posted AFTER this date (YYYY-MM-DD). Use with beforeDate for a range.

## `keywordFilter` (type: `string`):

Only delete tweets containing this keyword or phrase (case-insensitive). Leave empty to skip keyword filtering.

## `preserveKeyword` (type: `string`):

KEEP tweets containing this keyword or phrase (case-insensitive). These tweets will NOT be deleted even if they match other filters.

## `mediaTweetsOnly` (type: `boolean`):

Only delete tweets that contain images or videos

## `maxDeletions` (type: `integer`):

Maximum number of tweets to delete in this run. Use this for safety -- start small (e.g., 50) to verify before going all-in. Set to 0 for unlimited.

## `tweetArchiveJson` (type: `string`):

Paste the contents of your tweets.js file from your Twitter data archive. This lets the actor delete tweets older than the API's ~3,200 tweet limit. To get your archive: Settings > Your Account > Download an archive of your data.

## `dryRun` (type: `boolean`):

Preview what would be deleted without actually deleting anything. Outputs the list of matched tweets.

## `demoMode` (type: `boolean`):

Run with mock data, no API credentials needed. Returns sample output for testing.

## `webhookUrl` (type: `string`):

URL to receive a POST request when the run finishes with a summary of deletions.

## Actor input object example

```json
{
  "deleteMode": "all",
  "mediaTweetsOnly": false,
  "maxDeletions": 100,
  "dryRun": false,
  "demoMode": true
}
```

# 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 = {
    "demoMode": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("alizarin_refrigerator-owner/social-post-cleaner-twitter").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 = { "demoMode": True }

# Run the Actor and wait for it to finish
run = client.actor("alizarin_refrigerator-owner/social-post-cleaner-twitter").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 '{
  "demoMode": true
}' |
apify call alizarin_refrigerator-owner/social-post-cleaner-twitter --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=alizarin_refrigerator-owner/social-post-cleaner-twitter",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "X/Twitter Post Cleaner - Bulk Delete Tweets",
        "description": "Bulk delete tweets from your X/Twitter account. Filter by date range, keywords, media type, or retweets. Supports archive upload to delete tweets older than the API returns (~3,200 limit).",
        "version": "1.0",
        "x-build-id": "Fk6WJfkfwm3T9KlLE"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/alizarin_refrigerator-owner~social-post-cleaner-twitter/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-alizarin_refrigerator-owner-social-post-cleaner-twitter",
                "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/alizarin_refrigerator-owner~social-post-cleaner-twitter/runs": {
            "post": {
                "operationId": "runs-sync-alizarin_refrigerator-owner-social-post-cleaner-twitter",
                "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/alizarin_refrigerator-owner~social-post-cleaner-twitter/run-sync": {
            "post": {
                "operationId": "run-sync-alizarin_refrigerator-owner-social-post-cleaner-twitter",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "apiKey": {
                        "title": "API Key (Consumer Key)",
                        "type": "string",
                        "description": "Your X/Twitter API Key (also called Consumer Key). Get one at developer.x.com"
                    },
                    "apiKeySecret": {
                        "title": "API Key Secret (Consumer Secret)",
                        "type": "string",
                        "description": "Your X/Twitter API Key Secret (also called Consumer Secret)"
                    },
                    "accessToken": {
                        "title": "Access Token",
                        "type": "string",
                        "description": "Your user-level Access Token (from developer.x.com app settings > Keys and Tokens)"
                    },
                    "accessTokenSecret": {
                        "title": "Access Token Secret",
                        "type": "string",
                        "description": "Your user-level Access Token Secret"
                    },
                    "deleteMode": {
                        "title": "Delete Mode",
                        "enum": [
                            "tweets",
                            "retweets",
                            "likes",
                            "all"
                        ],
                        "type": "string",
                        "description": "What to delete: 'tweets' (your original tweets), 'retweets' (retweets only), 'likes' (unlike all), or 'all' (tweets + retweets + unlikes everything)",
                        "default": "all"
                    },
                    "beforeDate": {
                        "title": "Delete Before Date",
                        "type": "string",
                        "description": "Only delete tweets posted BEFORE this date (YYYY-MM-DD). Example: '2024-01-01' deletes everything before 2024."
                    },
                    "afterDate": {
                        "title": "Delete After Date",
                        "type": "string",
                        "description": "Only delete tweets posted AFTER this date (YYYY-MM-DD). Use with beforeDate for a range."
                    },
                    "keywordFilter": {
                        "title": "Keyword Filter",
                        "type": "string",
                        "description": "Only delete tweets containing this keyword or phrase (case-insensitive). Leave empty to skip keyword filtering."
                    },
                    "preserveKeyword": {
                        "title": "Preserve Keyword",
                        "type": "string",
                        "description": "KEEP tweets containing this keyword or phrase (case-insensitive). These tweets will NOT be deleted even if they match other filters."
                    },
                    "mediaTweetsOnly": {
                        "title": "Media Tweets Only",
                        "type": "boolean",
                        "description": "Only delete tweets that contain images or videos",
                        "default": false
                    },
                    "maxDeletions": {
                        "title": "Max Deletions",
                        "minimum": 0,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Maximum number of tweets to delete in this run. Use this for safety -- start small (e.g., 50) to verify before going all-in. Set to 0 for unlimited.",
                        "default": 100
                    },
                    "tweetArchiveJson": {
                        "title": "Tweet Archive (tweets.js content)",
                        "type": "string",
                        "description": "Paste the contents of your tweets.js file from your Twitter data archive. This lets the actor delete tweets older than the API's ~3,200 tweet limit. To get your archive: Settings > Your Account > Download an archive of your data."
                    },
                    "dryRun": {
                        "title": "Dry Run",
                        "type": "boolean",
                        "description": "Preview what would be deleted without actually deleting anything. Outputs the list of matched tweets.",
                        "default": false
                    },
                    "demoMode": {
                        "title": "Demo Mode",
                        "type": "boolean",
                        "description": "Run with mock data, no API credentials needed. Returns sample output for testing.",
                        "default": false
                    },
                    "webhookUrl": {
                        "title": "Webhook URL",
                        "type": "string",
                        "description": "URL to receive a POST request when the run finishes with a summary of deletions."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
