---
title: "Price the designed exterior"
method: POST
path: "/projects/{project}/concepts/{concept}/estimates"
tags: ["Estimates"]
---

# Price the designed exterior

`POST /projects/{project}/concepts/{concept}/estimates`

## Request

- Base URL: `https://api.getfacade.ai/api/v1`
- URL: `https://api.getfacade.ai/api/v1/projects/{project}/concepts/{concept}/estimates`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.getfacade.ai/oauth/authorize`, token URL `https://api.getfacade.ai/oauth/token`, scopes: `agent`)

Prices the design line by line, in materials and labour, at what the specified materials
cost in the building's country.
`selected_renders` must name at least one finished render of this design. Currency and
measurement system default to the country of the building: omit them unless a specific
one was asked for.

## Path parameters

- `project` string, required
- `concept` string, required

## Headers

- `Idempotency-Key` string, required

## Request body

- object
  - `data` object, required
    - `type` 'estimate', required
    - `attributes` object, required
      - `selected_renders` string[], required
      - `currency` string
      - `measurement_system` 'metric' | 'imperial'
      - `special_requirements` string

## Response `202`

A JSON:API document

- object
  - `data` Resource: JSON:API resource. `id` is a top-level field, never inside `attributes`.
    - `type` string, required
    - `id` string, required
    - `attributes` object
    - `relationships` object

## Other responses

- `402`: Admission refused before any work was queued. `AGENT_KEY_CAP_REACHED` — this key has spent its cap, issue a new one or raise it. `AGENT_CREDITS_EXHAUSTED` — the account has no `api`-scope credits left. Neither is retryable: back off and report the `detail` text as it stands.
- `409`: `IDEMPOTENCY_IN_PROGRESS` — the first call carrying this `Idempotency-Key` has not answered yet. Retryable, and the only refusal here that is: wait and send the same call again, or read the job list. Do not re-send it under a new key — that is the second charge this header exists to prevent.
- `422`: The request was understood and refused. The message is the API's own text; show it unchanged. `IDEMPOTENCY_KEY_REQUIRED` — a paid call from an agent key with no `Idempotency-Key` header; nothing was queued, send it again with one. `IDEMPOTENCY_KEY_REUSED` — that header value already names a different request; a new order needs a new value.
- `429`: Rate limited on this key's own bucket, separate from the human sessions of the same account. Refusal is deliberately cheap: back off, do not retry in a tight loop.

---

[API](https://skmtc.dev/getfacade/apis/getfacade-agent-api.md) · [All operations](https://skmtc.dev/getfacade/apis/getfacade-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getfacade/apis/getfacade-agent-api/revisions/2b52eda7362c?raw)
