# Latvia Company Data — Officers, Owners (UBO) & Financials (`foxlabs/latvia-company-data`) Actor

Search Latvian companies from the official Register of Enterprises open data — identity, legal form, address, activity and capital, plus optional officers, shareholders, beneficial owners (UBO) and annual-report financials. Resale-open data, no key.

- **URL**: https://apify.com/foxlabs/latvia-company-data.md
- **Developed by:** [Berkan Kaplan](https://apify.com/foxlabs) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 results

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

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

## What's an Apify Actor?

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

## How to integrate an Actor?

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

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

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

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

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

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

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

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

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

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

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


# README

<p align="center"><a href="https://apify.com/foxlabs/latvia-company-data"><img src="https://data.foxlabs.com.tr/img/latvia-company-data-banner.svg" alt="Latvia Company Data" width="100%" /></a></p>

## Latvia Company Data — Officers, Owners (UBO) & Financials

Need **verified company data for Latvia** — identity, who runs it, who owns it, and how it performs? This Actor turns the official **Register of Enterprises of the Republic of Latvia** (Uzņēmumu reģistrs) open data into clean, ready-to-use records: **~485,000 legal entities** with registered identity, legal form, address, activity and capital — plus, on demand, the **officers**, **shareholders**, **beneficial owners (UBO)** and the latest **annual-report financials**.

Built on Latvia's **official open data** — **free for commercial reuse and redistribution**, **no API key, no login, no fragile HTML scraping**. It reads the register's daily-updated data files directly, so it doesn't break when a website changes.

- 🇱🇻 **~485K Latvian entities** — the whole register, not a sample
- 👔 **Officers & ownership** *(opt-in)* — board / representatives, shareholders (SIA members + AS stockholders) and **beneficial owners (UBO)**
- 📊 **Financials** *(opt-in)* — latest annual report: employees, total assets, equity, net turnover, net income
- 🧭 **Rich filters** — name, registration number, legal form, status, location, activity
- 🆓 **Resale-open data** — reuse **and resell**, no key, no scraping

### Quick start (API)

Find active Rīga companies in transport, with officers and owners attached:

```bash
curl -X POST "https://api.apify.com/v2/acts/foxlabs~latvia-company-data/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "location": "Rīga", "activityQuery": "transport", "includeOwnership": true, "maxResults": 100 }'
````

Prefer no code? Open the **Input** tab, set your filters, and click **Start** — then download the results.

### What you get

One clean, flat record per company:

| Field | Type | Description |
|---|---|---|
| `name` | string | Full registered legal name |
| `shortName` | string | Distinctive part of the name (without legal-form wrapper) |
| `registrationNumber` | string | Latvian registration number (the register's unique key) |
| `legalForm` | string | Legal form in English — e.g. `Private limited company (SIA)`, `Joint-stock company (AS)` |
| `legalFormCode` | string | Original legal-form code (`SIA`, `AS`, `IK`, `ZS`, `BDR`…) |
| `status` | string | `active` or `terminated` |
| `registeredDate` / `terminatedDate` | string | Registration and (if struck off) termination dates |
| `address` / `city` / `postalCode` | string | Registered address, derived city, postal index |
| `capital` / `capitalFormatted` | object / string | Registered equity capital (`{ amount, currency }` + a display string) |
| `primaryActivity` / `activities[]` | string / array | Declared area(s) of activity |
| `ownership` *(opt-in)* | object | `{ officers[], shareholders[], beneficialOwners[] }` — see below |
| `financials` *(opt-in)* | object | Latest annual report `{ year, employees, totalAssets, equity, netTurnover, netIncome, currency }` |
| `source` / `license` / `registryUrl` | string | Provenance — the register, its open-data licence, and the entity's registry link |

**`ownership`** (when `includeOwnership` is on):

- `officers[]` — `{ name, position, governingBody, type, representation }` (board members & representatives)
- `shareholders[]` — `{ name, type, shareClass, shares, nominalValue / votes, currency }` (SIA members + AS stockholders)
- `beneficialOwners[]` — `{ name, nationality, residence }` (UBO as filed with the register)

Missing values come back as `null`, never a guess. Personal identity codes are **masked at source** — this Actor never exposes them.

#### Sample output

Real record for **Lidl Latvija SIA** (`registrationNumbers: ["40203023760"]`, ownership + financials on) — officers abbreviated (7 in full):

```json
{
  "name": "Lidl Latvija SIA",
  "shortName": "Lidl Latvija",
  "registrationNumber": "40203023760",
  "legalForm": "Private limited company (SIA)",
  "legalFormCode": "SIA",
  "status": "active",
  "registeredDate": "2016-10-05",
  "terminatedDate": null,
  "address": "Rīga, Dzelzavas iela 131",
  "city": "Rīga",
  "postalCode": "1021",
  "capital": { "amount": 365500000, "currency": "EUR" },
  "capitalFormatted": "365,500,000 EUR",
  "ownership": {
    "officers": [
      { "name": "Dokozic Marin", "position": "CHAIR_OF_BOARD", "governingBody": "EXECUTIVE_BOARD", "type": "person", "representation": "WITH_AT_LEAST" },
      { "name": "Kybartas Marius", "position": "BOARD_MEMBER", "governingBody": "EXECUTIVE_BOARD", "type": "person", "representation": "WITH_AT_LEAST" }
    ],
    "shareholders": [
      { "name": "LSTR-11 GmbH", "type": "entity", "shareClass": "SIA member", "shares": 36550, "nominalValue": 10000, "currency": "EUR" }
    ],
    "beneficialOwners": [
      { "name": "Dieter Josef Schwarz", "nationality": "DE", "residence": "DE" }
    ]
  },
  "financials": {
    "year": 2024, "employees": 1348, "currency": "EUR",
    "totalAssets": 425605168, "equity": 192095909,
    "netTurnover": 460869524, "netIncome": -18465625
  },
  "source": "Register of Enterprises of the Republic of Latvia (Uzņēmumu reģistrs)",
  "license": "Latvian open data — free commercial reuse & redistribution",
  "registryUrl": "https://info.ur.gov.lv/#/data-search?number=40203023760"
}
```

### Example inputs (copy & paste)

```jsonc
// 1) Browse active companies in a city
{ "location": "Rīga", "status": "active", "maxResults": 5000 }

// 2) Exact lookup by registration number, with ownership & financials
{ "registrationNumbers": ["40003009497"], "includeOwnership": true, "includeFinancials": true }

// 3) All joint-stock companies (AS) with their financials
{ "legalForm": "AS", "includeFinancials": true, "maxResults": 2000 }

// 4) Name search — every company whose name contains "transport"
{ "searchQuery": "transport", "status": "active" }

// 5) Companies in an activity, with owners for lead / KYC lists
{ "activityQuery": "būvniecība", "includeOwnership": true, "maxResults": 1000 }

// 6) Whole-register sweep, identity only (fast at scale)
{ "status": "all", "maxResults": 200000 }
```

### Input & filters

- **Company name contains** (`searchQuery`) — case-insensitive substring on the registered name.
- **Registration numbers** (`registrationNumbers`) — exact lookup; overrides the name search.
- **Legal form** (`legalForm`) — code or Latvian text (`SIA`, `AS`, `IK`, `ZS`, `BDR`, `NOD`…).
- **Status** (`status`) — `active`, `terminated`, or `all`.
- **Location contains** (`location`) — matches the registered address (city / district / street).
- **Activity contains** (`activityQuery`) — matches the declared area of activity.
- **Include officers & ownership** (`includeOwnership`) — attach officers, shareholders and beneficial owners.
- **Include financials** (`includeFinancials`) — attach the latest annual-report figures.
- **Max results** (`maxResults`) — 1 to **500,000**.

### Use cases

- **B2B prospecting & market mapping.** Filter by location, activity and legal form to build a targeted list of Latvian companies, then attach officers to reach the decision-makers.
- **KYC / KYB & due diligence.** Resolve the exact legal entity, its officers, shareholders and **beneficial owners** — the ownership chain your compliance file needs, from one authoritative source.
- **Financial screening.** Pull the latest annual-report figures (turnover, assets, equity, net income, headcount) to size and rank companies.
- **Ownership & risk mapping.** Trace who controls a company through its shareholders and UBO records.
- **Enrichment.** Match your CRM on the registration number and top up legal form, address, activity, capital, officers and financials.

### Performance & throughput

The Actor reads Latvia's official open-data files directly (daily-updated) and queries them locally with DuckDB. Identity-only runs are quick; **ownership** adds four register files and **financials** add the annual-report files, so those runs download more up front and take a little longer. A whole-register sweep pages through all ~485K entities up to your `maxResults`. No proxies, no keys, no per-request rate limits.

### Integrations

**JavaScript** (`apify-client`):

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('foxlabs/latvia-company-data').call({
  location: 'Rīga', includeOwnership: true, maxResults: 500,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**Python** (`apify-client`):

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("foxlabs/latvia-company-data").call(run_input={
    "location": "Rīga", "includeOwnership": True, "maxResults": 500,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["name"], item["registrationNumber"])
```

Also works with **Make / n8n / Zapier**, scheduled runs, webhooks, and the **Apify MCP server** for AI agents.

### Data quality (honest)

- **Identity is dense.** Name, registration number, legal form, status, address and registration date are present for essentially every entity — they're core register fields.
- **Capital** is present for most commercial companies (SIA / AS); some entity types carry none and come back `null`.
- **Declared activity** comes from the register's legacy activity dataset and covers a subset of entities (skewed to older companies) — Latvia's open data doesn't publish a broad industry / NACE classification, so many modern companies return an empty `activities` list. Use it where present, not as a primary filter.
- **Ownership is richer for commercial companies.** SIA members, AS stockholders, officers and UBO exist where the company was required to file them; sole traders and some small entities have fewer. `directly` reported only — nothing inferred.
- **Financials** cover companies that file annual reports (most active SIA/AS); the latest available year is returned. Amounts are as filed, in the reported currency.
- **No contact details.** The Latvian open register does **not** publish company email or phone, so this Actor doesn't invent them — it focuses on identity, ownership and financials. For email/phone lead data see our other company Actors.
- Nothing is fabricated — a missing value is `null`, never a guess. Personal ID codes are masked at source.

### Pricing

**Pay per result** — you're billed per company returned; officers, ownership and financials are included in that price when enabled. There's an Apify **free tier** to evaluate the full feature set. No proxies, no third-party API costs — Latvia's data is a free public open-data source.

### FAQ

**Where does the data come from?** The official **Register of Enterprises of the Republic of Latvia** (Uzņēmumu reģistrs) open data, published on Latvia's national open-data portal and updated daily.

**Can I use this data commercially / resell it?** Yes. Latvia's open data may be **reused and redistributed freely, including commercially**, by natural and legal persons. Records carry a `Source` credit as good practice.

**Do I get beneficial owners (UBO)?** Yes — turn on **Include officers & ownership** and each record carries `beneficialOwners[]` as filed with the register (name, nationality, residence).

**Does it include company email or phone?** No — the Latvian register doesn't publish contact details, so we don't fabricate them. This Actor is identity, ownership and financials.

**How fresh is it?** The register republishes the open data daily; each run reads the current files.

**Do I need an API key or account for the source?** No. No key, no login, no scraping.

**What export formats?** JSON, CSV, Excel, or via the Apify API / integrations.

### Troubleshooting

- **Few / no results** → your filters may be too narrow, or the companies are `terminated` (the default is active only — set `status` to `all`).
- **No ownership / financials on a record** → confirm the relevant toggle is on; small entities and non-filers legitimately have none.
- **Name search returns extra matches** → it's a substring match; narrow with `legalForm`, `location` or an exact `registrationNumbers` lookup.

### Notes, limits & legal (honest)

- **Official open data**, reused under Latvia's open-data terms (free commercial reuse & redistribution). Not affiliated with the Register of Enterprises.
- **Identity, ownership & financials — not contacts.** No email or phone in the source.
- **Ownership & financials are what companies filed** with the register; coverage varies by entity type and filing obligations.
- **Personal data** is limited to what the public register publishes (names, roles); identity codes are masked.

### Support

Questions, a field you'd like added, or a custom build? Open the **Issues** tab on this Actor, or email **info@foxlabs.com.tr**. We reply fast.

*If this Actor saves you time, a ⭐ review really helps.*

### Changelog

#### 0.1 — 2026-07-09

- Initial release. ~485K Latvian entities from the official Register of Enterprises open data: identity, legal form, address, activity and capital, with opt-in officers, shareholders, beneficial owners (UBO) and annual-report financials. Resale-open, no key.

***

Part of the **[foXLabs data platform](https://data.foxlabs.com.tr/)** — official public-data company, contact, ownership, jobs, charity, location & AI-search intelligence scrapers. Browse the full suite at **[data.foxlabs.com.tr](https://data.foxlabs.com.tr/)**.

# Actor input Schema

## `searchQuery` (type: `string`):

Keep only companies whose registered name contains this text (case-insensitive). Example: "transport", "SIA Rimi". Leave empty to browse by the other filters.

## `registrationNumbers` (type: `array`):

Exact 11-digit Latvian registration numbers for precise lookup (e.g. \["40003009497"]). Overrides the name search when set.

## `legalForm` (type: `string`):

Keep only a legal form — accepts the code or Latvian text. Common codes: SIA (private limited), AS (joint-stock), IK (sole trader), ZS (farm), BDR (association), NOD (foundation). Leave empty for all.

## `status` (type: `string`):

Filter by registration status. Active = still on the register; Terminated = struck off / liquidated.

## `location` (type: `string`):

Keep only companies whose address contains this text — a city, district or street (e.g. "Rīga", "Liepāja", "Jūrmala"). Leave empty for all of Latvia.

## `activityQuery` (type: `string`):

Keep only companies whose declared area of activity contains this text (e.g. "transport", "būvniecība", "IT"). Leave empty for all activities.

## `includeOwnership` (type: `boolean`):

Attach each company's officers (board / representatives), shareholders (SIA members + AS stockholders) and beneficial owners (UBO). Off by default — adds a little time per run.

## `includeFinancials` (type: `boolean`):

Attach the latest annual-report figures — employees, total assets, equity, net turnover and net income. Off by default.

## `maxResults` (type: `integer`):

Maximum number of companies to return (1–500000).

## Actor input object example

```json
{
  "registrationNumbers": [],
  "status": "active",
  "includeOwnership": false,
  "includeFinancials": false,
  "maxResults": 1000
}
```

# Actor output Schema

## `dataset` (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 = {
    "searchQuery": "",
    "registrationNumbers": [],
    "legalForm": "",
    "location": "",
    "activityQuery": "",
    "maxResults": 1000
};

// Run the Actor and wait for it to finish
const run = await client.actor("foxlabs/latvia-company-data").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 = {
    "searchQuery": "",
    "registrationNumbers": [],
    "legalForm": "",
    "location": "",
    "activityQuery": "",
    "maxResults": 1000,
}

# Run the Actor and wait for it to finish
run = client.actor("foxlabs/latvia-company-data").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 '{
  "searchQuery": "",
  "registrationNumbers": [],
  "legalForm": "",
  "location": "",
  "activityQuery": "",
  "maxResults": 1000
}' |
apify call foxlabs/latvia-company-data --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=foxlabs/latvia-company-data",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Latvia Company Data — Officers, Owners (UBO) & Financials",
        "description": "Search Latvian companies from the official Register of Enterprises open data — identity, legal form, address, activity and capital, plus optional officers, shareholders, beneficial owners (UBO) and annual-report financials. Resale-open data, no key.",
        "version": "0.1",
        "x-build-id": "XCZZabBL3UJbtk7le"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/foxlabs~latvia-company-data/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-foxlabs-latvia-company-data",
                "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/foxlabs~latvia-company-data/runs": {
            "post": {
                "operationId": "runs-sync-foxlabs-latvia-company-data",
                "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/foxlabs~latvia-company-data/run-sync": {
            "post": {
                "operationId": "run-sync-foxlabs-latvia-company-data",
                "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": {
                    "searchQuery": {
                        "title": "Company name contains",
                        "type": "string",
                        "description": "Keep only companies whose registered name contains this text (case-insensitive). Example: \"transport\", \"SIA Rimi\". Leave empty to browse by the other filters."
                    },
                    "registrationNumbers": {
                        "title": "Registration numbers",
                        "type": "array",
                        "description": "Exact 11-digit Latvian registration numbers for precise lookup (e.g. [\"40003009497\"]). Overrides the name search when set.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "legalForm": {
                        "title": "Legal form",
                        "type": "string",
                        "description": "Keep only a legal form — accepts the code or Latvian text. Common codes: SIA (private limited), AS (joint-stock), IK (sole trader), ZS (farm), BDR (association), NOD (foundation). Leave empty for all."
                    },
                    "status": {
                        "title": "Status",
                        "enum": [
                            "active",
                            "terminated",
                            "all"
                        ],
                        "type": "string",
                        "description": "Filter by registration status. Active = still on the register; Terminated = struck off / liquidated.",
                        "default": "active"
                    },
                    "location": {
                        "title": "Location contains",
                        "type": "string",
                        "description": "Keep only companies whose address contains this text — a city, district or street (e.g. \"Rīga\", \"Liepāja\", \"Jūrmala\"). Leave empty for all of Latvia."
                    },
                    "activityQuery": {
                        "title": "Activity contains",
                        "type": "string",
                        "description": "Keep only companies whose declared area of activity contains this text (e.g. \"transport\", \"būvniecība\", \"IT\"). Leave empty for all activities."
                    },
                    "includeOwnership": {
                        "title": "Include officers & ownership",
                        "type": "boolean",
                        "description": "Attach each company's officers (board / representatives), shareholders (SIA members + AS stockholders) and beneficial owners (UBO). Off by default — adds a little time per run.",
                        "default": false
                    },
                    "includeFinancials": {
                        "title": "Include financials (annual report)",
                        "type": "boolean",
                        "description": "Attach the latest annual-report figures — employees, total assets, equity, net turnover and net income. Off by default.",
                        "default": false
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 500000,
                        "type": "integer",
                        "description": "Maximum number of companies to return (1–500000).",
                        "default": 1000
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
