---
title: "Get estimated number of objects that might be affected by an automation run"
method: GET
path: "/v1/automations/{automation_id}/runs/estimate/"
tags: ["automations"]
---

# Get estimated number of objects that might be affected by an automation run

`GET /v1/automations/{automation_id}/runs/estimate/`

## Request

- Base URL: `https://app.iconik.io/API/automations`
- URL: `https://app.iconik.io/API/automations/v1/automations/{automation_id}/runs/estimate/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-automations/docs/v1/automations/:automation_id/runs/estimate/get.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_run_automations

## Path parameters

- `automation_id` string, required

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Response `200`

Returns estimated number of objects that might be affected by an automation run

- AutomationRunEstimateSchema
  - `errors` string[]
  - `facets` object
  - `total` integer

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-automations.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-automations/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-automations/revisions/f8823bd2d9ed?raw)
