---
title: "POST /sessions/estimate_cost"
method: POST
path: "/sessions/estimate_cost"
tags: ["sessions"]
---

# POST /sessions/estimate_cost

`POST /sessions/estimate_cost`

## Request body

- CostEstimateRequest
  - `avg_pages_per_doc` integer, nullable
  - `num_documents` integer, nullable
  - `num_properties` integer, nullable
  - `operation` 'tag' | 'pdf' | 'web' | 'match', required
  - `row_count` integer, nullable
  - `source_count` integer, nullable
  - `target_count` integer, nullable
  - `use_proxy` boolean, nullable

## Response `200`

Cost estimate calculated successfully.

- CostEstimateResponse
  - `estimated_credits` integer, required
  - `estimated_dollars` number, double, required

## Other responses

- `400` — Invalid request.

## Changes

- **2026-01-21** `e5ffa85fc03e` — 4 breaking, 2 info
  - removed the enum value `enhance` of the request property `operation`
  - removed the enum value `enhance_relationship` of the request property `operation`
  - removed the enum value `scrape` of the request property `operation`
  - removed the enum value `structure_pdf` of the request property `operation`
  - …2 more

[Change history](https://skmtc.dev/structifyai/apis/structify/changes/sessions/estimate_cost/post.md)

---

[API](https://skmtc.dev/structifyai/apis/structify.md) · [All operations](https://skmtc.dev/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/structifyai/structify/revisions/1364930b6980/schema)
