---
title: "Estimate Prose"
method: POST
path: "/repos/{repo_id}/prose/estimate"
tags: ["repos"]
---

# Estimate Prose

`POST /repos/{repo_id}/prose/estimate`

Resolve a selection and return one cost estimate. No hold, no charge.

## Path parameters

- `repo_id` string, required

## Request body

- ProseSelectionBody
  - `page_ids` string[], nullable
  - `scope` string
  - `snapshot` string, nullable
  - `max_cost_cents` integer, nullable

## Response `200`

Successful Response

- ProseEstimateResponse
  - `snapshot_id` string, required
  - `short_id` string, required
  - `wiki_available` boolean, required
  - `selected_count` integer, required
  - `eligible_total` integer, required
  - `eligible_missing_prose` integer, required
  - `already_written` integer, required
  - `rejected` ProseRejectedTarget[], required
    - `page_id` string, required
    - `reason` string, required
  - `estimated_cost_cents` integer, required
  - `provider` string, required
  - `model` string, required
  - `active_prose_job_id` string, nullable
  - `comped` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/repowise/apis/repowise-hosted-api/revisions/491affc1d3e7?raw)
