# NYC DOB Building Permits Scraper: Contractors & Owners (`scrapers_lat/nyc-dob-permits-scraper`) Actor

Scrape NYC Department of Buildings permits from DOB NOW across all five boroughs. Extract address, BIN, BBL, work type, job cost, contractor license, filing rep and property owner contacts. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/scrapers\_lat/nyc-dob-permits-scraper.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** Business, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 permit records

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

<!-- actor-banner -->
[![NYC DOB Building Permits Scraper: Contractors & Owners](https://scrapers.lat/banners/nyc-dob-permits-scraper.png)](https://console.apify.com/actors/HMUyo5uauM6ECG5mx/input)
<!-- /actor-banner -->

## NYC DOB Building Permits Scraper: Contractors & Owners

> Extract current New York City Department of Buildings permit records, with contractor licenses, applicant and filing-representative details plus property owner contacts, from the live DOB NOW: Build feed of nearly 1 million approved permits across all five boroughs.

![Apify](https://img.shields.io/badge/Platform-Apify-1CE1CE?logo=apify&logoColor=white)
![Coverage](https://img.shields.io/badge/Coverage-New%20York%20City-blue)
![Maintained](https://img.shields.io/badge/Maintained-Yes-brightgreen)
![Output](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-orange)

<table><tr>
<td align="center"><strong>37 fields</strong><br>per permit</td>
<td align="center"><strong>5 boroughs</strong><br>coverage</td>
<td align="center"><strong>JSON / CSV / Excel</strong><br>output formats</td>
<td align="center"><strong>Updated</strong><br>daily</td>
</tr></table>

<br>

### What you get

Each record is one NYC DOB NOW: Build permit with the building, the work authorized, the applicant who pulled the permit and the property owner, including their contact details.

- **permitNumber**: DOB NOW work permit number, for example M01402179-S1-PL
- **jobFilingNumber**: DOB NOW job filing number
- **permitType**: permit work-type code parsed from the permit number, for example PL, EW-SP
- **workType**: type of work, for example General Construction, Plumbing, Sidewalk Shed, Mechanical Systems
- **permitStatus**: Permit Issued or Signed-off
- **filingReason**: Initial Permit, Renewal Permit Without Changes, Renewal Permit with Changes or No Work Permit
- **sequenceNumber**: permit sequence number within the filing
- **trackingNumber**: DOB tracking number
- **buildingProfileUrl**: link to the building's profile in the NYC Buildings Information System (by BIN)
- **bin**: 7-digit Building Identification Number
- **borough**: Manhattan, Bronx, Brooklyn, Queens or Staten Island
- **address**: full street address of the work site
- **houseNumber**: house number of the work site
- **street**: street name of the work site
- **zip**: property ZIP code
- **block**: tax block
- **lot**: tax lot
- **bbl**: Borough-Block-Lot identifier
- **workOnFloor**: floors covered by the work
- **approvedDate**: date the permit was approved
- **issuedDate**: date the permit was issued
- **expiredDate**: date the permit expires
- **jobDescription**: description of the work
- **estimatedJobCost**: estimated cost of the work in US dollars
- **applicantBusinessName**: applicant (contractor / permittee) business name
- **applicantName**: individual applicant name
- **applicantBusinessAddress**: applicant business address
- **applicantLicenseType**: applicant license type, for example GC, P, F, S
- **applicantLicenseNumber**: applicant license number
- **filingRepresentativeName**: filing representative (expediter) name when present
- **filingRepresentativeBusinessName**: filing representative business name when present
- **ownerName**: property owner name
- **ownerBusinessName**: owner business or entity name
- **communityBoard**: NYC community board
- **councilDistrict**: city council district
- **censusTract**: census tract
- **neighborhood**: neighborhood tabulation area name
- **latitude**: latitude of the work site
- **longitude**: longitude of the work site
- **observedAt**: when this permit was last seen by the scraper

### Who is it for

| Use case | Who benefits |
|---|---|
| Build lead lists of active contractors with phone and license | Material suppliers, subcontractors, B2B sales teams |
| Reach property owners doing construction work | Insurance, financing and home-service providers |
| Track new building and demolition activity by borough | Real estate analysts and developers |
| Verify a contractor's permit history and license | Property managers and homeowners |
| Monitor permit volume and trends across NYC | Market researchers and journalists |

### Frequently Asked Questions

**What data does the NYC DOB building permits scraper cover?**  
It covers the New York City Department of Buildings DOB NOW: Build approved-permits feed for all five boroughs: Manhattan, Bronx, Brooklyn, Queens and Staten Island. The underlying NYC Open Data set holds nearly 1 million approved permits, each with the work site, applicant (contractor) and property owner details.

**Is the data current?**  
Yes. This is the live DOB NOW: Build feed, refreshed daily by NYC Open Data, with permits issued within the last few days. Results are sorted newest issued first, so a run gives you this week's permit activity, not a stale archive.

**How many permits can I scrape in one run?**  
There is no fixed cap beyond the Max Items value you set. The scraper pages through the data in batches and returns the most recently issued permits first, so a small run gives you the latest activity and a large run can pull tens of thousands of records.

**Can I filter permits by borough, work type or date?**  
Yes. You can filter by borough, work type, filing reason, permittee license type, permit status and an issuance date range, and you can target a specific building by BIN, a street, a ZIP code, a contractor business name or an owner name. Filters combine, so you can narrow to, for example, Brooklyn plumbing permits issued this month.

**Does it include contractor and owner contact information?**  
Yes. Each permit includes the applicant (contractor / permittee) business name and address, license type and license number, the filing representative when present, plus the property owner name and business name. This is what makes the data useful for lead generation.

<!-- example-tasks -->
### Example use cases

Ready-to-run example tasks, each preconfigured for a common scenario. Open one and press run, or use it as a template:

- [NYC Bronx Mechanical Systems Permits Scraper](https://apify.com/scrapers_lat/nyc-dob-permits-scraper/examples/nyc-bronx-mechanical-systems-permits): Export NYC DOB mechanical systems permits issued in the Bronx. Get property addresses, HVAC contractors, owners, job numbers and issuance dates as CSV or JSON.
- [NYC Bronx Sign Permits Scraper](https://apify.com/scrapers_lat/nyc-dob-permits-scraper/examples/nyc-bronx-sign-permits): Export NYC DOB sign permits issued in the Bronx. Get addresses, contractor names, owner details, job numbers and issuance dates as JSON, CSV or Excel.
- [NYC Brooklyn Boiler Permits Scraper](https://apify.com/scrapers_lat/nyc-dob-permits-scraper/examples/nyc-brooklyn-boiler-permits): Export NYC DOB boiler equipment permits issued in Brooklyn. Get property addresses, contractor names, owners, job numbers and issuance dates as CSV or JSON.
- [NYC Manhattan Demolition Permits Scraper](https://apify.com/scrapers_lat/nyc-dob-permits-scraper/examples/nyc-manhattan-demolition-permits): Scrape NYC DOB full demolition permits issued in Manhattan. Get building addresses, contractors, owners, BIN, job numbers and issuance dates in CSV or JSON.
- [NYC Manhattan Sidewalk Shed Permits Scraper](https://apify.com/scrapers_lat/nyc-dob-permits-scraper/examples/nyc-manhattan-sidewalk-shed-permits): Scrape NYC DOB sidewalk shed permits issued in Manhattan. Get building addresses, contractors, owners, BIN, job numbers and issuance dates in CSV or JSON.
- [NYC Queens Sprinkler Permits Scraper](https://apify.com/scrapers_lat/nyc-dob-permits-scraper/examples/nyc-queens-sprinkler-permits): Scrape NYC DOB sprinkler permits issued in Queens. Get building addresses, fire suppression contractors, owners, job numbers and issuance dates in CSV or JSON.
- [NYC Staten Island Solar Permits Scraper](https://apify.com/scrapers_lat/nyc-dob-permits-scraper/examples/nyc-staten-island-solar-permits): Export NYC DOB solar permits issued in Staten Island. Get property addresses, solar contractors, owner details, job numbers and issuance dates as CSV or JSON.
- [NYC Brooklyn Plumbing Permits](https://apify.com/scrapers_lat/nyc-dob-permits-scraper/examples/nyc-brooklyn-plumbing-permits): NYC Brooklyn Plumbing Permits
- [NYC Manhattan Building Permits](https://apify.com/scrapers_lat/nyc-dob-permits-scraper/examples/nyc-manhattan-building-permits): NYC Manhattan Building Permits
- [NYC Queens Construction Permits](https://apify.com/scrapers_lat/nyc-dob-permits-scraper/examples/nyc-queens-construction-permits): NYC Queens Construction Permits

<!-- /example-tasks -->

<!-- x402 -->
### Export, API and AI agents (x402 + MCP)

Export the scraped data to **JSON, CSV or Excel**, pull it as a **dataset** through the Apify **API**, or wire it into your app with **no code**. This web scraper and data extractor also works for bulk data extraction and scheduled runs.

For AI agents: this Actor is available on **x402**, Apify's agentic payment standard built with Coinbase. An AI agent can discover, pay for and run it on its own with a funded wallet and a single HTTP request: no account, no subscription, no API key and no human in the loop. It also runs as an **MCP** tool inside Claude, Cursor and other AI clients out of the box. Learn more about [x402 agentic payments on Apify](https://docs.apify.com/platform/integrations/x402).
<!-- /x402 -->

<!-- related-actors -->
### Related scrapers

Need data from the same space? Here are other scrapers we build and maintain:

- [California CSLB Contractor License Scraper](https://apify.com/scrapers_lat/california-cslb-scraper): Look up licensed California construction contractors with status, bond and contact details.
- [Florida DBPR License Scraper](https://apify.com/scrapers_lat/florida-dbpr-scraper): Scrape Florida professional and contractor license records from the state DBPR registry.
- [NPPES NPI Provider Scraper](https://apify.com/scrapers_lat/nppes-npi-scraper): Extract US healthcare provider records with addresses and contact details from the NPI Registry.
- [SEC EDGAR Filings Scraper](https://apify.com/scrapers_lat/sec-edgar-filings-scraper): Pull company filings and metadata from the SEC EDGAR system.
- [Federal Register Scraper](https://apify.com/scrapers_lat/federal-register-scraper): Collect US federal rules, notices and proposed regulations from the Federal Register.
- [Grants.gov Scraper](https://apify.com/scrapers_lat/grants-gov-scraper): Scrape US federal grant opportunities with funding amounts, agencies and deadlines.

<!-- /related-actors -->

<!-- scrapers-lat-cta -->
### More scrapers at scrapers.lat

This actor is built and maintained by [scrapers.lat](https://scrapers.lat), where we publish scrapers for Latin American and US public platforms: real estate, jobs, e-commerce, company registries and government data. Browse the full catalog, see live sample output for each one, or ask us for a custom scraper at [scrapers.lat](https://scrapers.lat).

---

> This actor is an independent tool and has no affiliation with the New York City Department of Buildings or NYC Open Data. It only accesses data that is publicly available on the platform. Use it in accordance with NYC Open Data's terms of service.

# Actor input Schema

## `maxItems` (type: `integer`):

Maximum number of permit records to collect. Optional. Results are returned newest issued first.
## `borough` (type: `string`):

Restrict to one NYC borough. Leave as Any to include all five boroughs.
## `workType` (type: `string`):

Type of work covered by the permit.
## `filingReason` (type: `string`):

Why the permit was filed.
## `licenseType` (type: `string`):

License class of the permittee (contractor) who pulled the permit.
## `permitStatus` (type: `string`):

Filter by permit status. By default only permits that have actually been issued are returned (newest first).
## `issuedFrom` (type: `string`):

Only permits issued on or after this date. Format YYYY-MM-DD, for example 2026-01-01.
## `issuedTo` (type: `string`):

Only permits issued on or before this date. Format YYYY-MM-DD, for example 2026-06-25.
## `bin` (type: `string`):

Look up all permits for a specific 7-digit NYC Building Identification Number (BIN).
## `street` (type: `string`):

Match permits on a street name, for example BROADWAY or PARK AVENUE.
## `zip` (type: `string`):

Match permits by 5-digit property ZIP code, for example 10022.
## `contractorName` (type: `string`):

Match the permittee (contractor) business name, for example ADVANCED PLUMBING.
## `ownerName` (type: `string`):

Match the property owner name or owner business name, for example SL GREEN REALTY.
## `searchText` (type: `string`):

Full-text search across the whole permit record (address, names, business names, job description).
## `appToken` (type: `string`):

Optional. The NYC Open Data API is keyless, but a free Socrata app token raises the rate limit for very large pulls. Leave empty unless you have one.

## Actor input object example

```json
{
  "maxItems": 50,
  "borough": "",
  "workType": "",
  "filingReason": "",
  "licenseType": "",
  "permitStatus": ""
}
````

# Actor output Schema

## `results` (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 = {
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/nyc-dob-permits-scraper").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 = { "maxItems": 50 }

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/nyc-dob-permits-scraper").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 '{
  "maxItems": 50
}' |
apify call scrapers_lat/nyc-dob-permits-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapers_lat/nyc-dob-permits-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "NYC DOB Building Permits Scraper: Contractors & Owners",
        "description": "Scrape NYC Department of Buildings permits from DOB NOW across all five boroughs. Extract address, BIN, BBL, work type, job cost, contractor license, filing rep and property owner contacts. Export to JSON, CSV or Excel.",
        "version": "0.1",
        "x-build-id": "gmlDIzf0khq2vLnyh"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapers_lat~nyc-dob-permits-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapers_lat-nyc-dob-permits-scraper",
                "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/scrapers_lat~nyc-dob-permits-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapers_lat-nyc-dob-permits-scraper",
                "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/scrapers_lat~nyc-dob-permits-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapers_lat-nyc-dob-permits-scraper",
                "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": {
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Maximum number of permit records to collect. Optional. Results are returned newest issued first."
                    },
                    "borough": {
                        "title": "Borough",
                        "enum": [
                            "",
                            "MANHATTAN",
                            "BRONX",
                            "BROOKLYN",
                            "QUEENS",
                            "STATEN ISLAND"
                        ],
                        "type": "string",
                        "description": "Restrict to one NYC borough. Leave as Any to include all five boroughs.",
                        "default": ""
                    },
                    "workType": {
                        "title": "Work Type",
                        "enum": [
                            "",
                            "General Construction",
                            "Plumbing",
                            "Sidewalk Shed",
                            "Mechanical Systems",
                            "Construction Fence",
                            "Structural",
                            "Sprinklers",
                            "Supported Scaffold",
                            "Sign",
                            "Foundation",
                            "Solar",
                            "Protection and Mechanical Methods",
                            "Earth Work",
                            "Suspended Scaffold",
                            "Standpipe",
                            "Boiler Equipment",
                            "Curb Cut",
                            "Antenna",
                            "Support of Excavation",
                            "Full Demolition",
                            "Green Roof"
                        ],
                        "type": "string",
                        "description": "Type of work covered by the permit.",
                        "default": ""
                    },
                    "filingReason": {
                        "title": "Filing Reason",
                        "enum": [
                            "",
                            "Initial Permit",
                            "Renewal Permit Without Changes",
                            "Renewal Permit with Changes",
                            "No Work Permit"
                        ],
                        "type": "string",
                        "description": "Why the permit was filed.",
                        "default": ""
                    },
                    "licenseType": {
                        "title": "Permittee License Type",
                        "enum": [
                            "",
                            "GC",
                            "P",
                            "F",
                            "S",
                            "R",
                            "PE",
                            "RA",
                            "O",
                            "PR"
                        ],
                        "type": "string",
                        "description": "License class of the permittee (contractor) who pulled the permit.",
                        "default": ""
                    },
                    "permitStatus": {
                        "title": "Permit Status",
                        "enum": [
                            "",
                            "Permit Issued",
                            "Signed-off"
                        ],
                        "type": "string",
                        "description": "Filter by permit status. By default only permits that have actually been issued are returned (newest first).",
                        "default": ""
                    },
                    "issuedFrom": {
                        "title": "Issued From",
                        "type": "string",
                        "description": "Only permits issued on or after this date. Format YYYY-MM-DD, for example 2026-01-01."
                    },
                    "issuedTo": {
                        "title": "Issued To",
                        "type": "string",
                        "description": "Only permits issued on or before this date. Format YYYY-MM-DD, for example 2026-06-25."
                    },
                    "bin": {
                        "title": "Building Identification Number (BIN)",
                        "type": "string",
                        "description": "Look up all permits for a specific 7-digit NYC Building Identification Number (BIN)."
                    },
                    "street": {
                        "title": "Street Name",
                        "type": "string",
                        "description": "Match permits on a street name, for example BROADWAY or PARK AVENUE."
                    },
                    "zip": {
                        "title": "ZIP Code",
                        "type": "string",
                        "description": "Match permits by 5-digit property ZIP code, for example 10022."
                    },
                    "contractorName": {
                        "title": "Contractor / Permittee Business Name",
                        "type": "string",
                        "description": "Match the permittee (contractor) business name, for example ADVANCED PLUMBING."
                    },
                    "ownerName": {
                        "title": "Owner Name",
                        "type": "string",
                        "description": "Match the property owner name or owner business name, for example SL GREEN REALTY."
                    },
                    "searchText": {
                        "title": "Free Text Search",
                        "type": "string",
                        "description": "Full-text search across the whole permit record (address, names, business names, job description)."
                    },
                    "appToken": {
                        "title": "Socrata App Token",
                        "type": "string",
                        "description": "Optional. The NYC Open Data API is keyless, but a free Socrata app token raises the rate limit for very large pulls. Leave empty unless you have one."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
