---
title: "Estimates the cost of running a job to completion."
method: GET
path: "/job/{jobId}/cost-estimate"
tags: ["Job"]
---

# Estimates the cost of running a job to completion.

`GET /job/{jobId}/cost-estimate`

The estimate multiplies a representative per-response cost sampled from the job's rapids by
 the total number of responses its referee requires. Returns 409 while the estimate is not
 yet available because the job has no rapids, or when the referee is unbounded.

## Path parameters

- `jobId` string, required

## Response `200`

OK

- GetJobCostEstimateEndpointOutput — The estimated cost of a job.
  - `estimatedCost` number, double, required — The estimated total cost of running the job to completion.
  - `costPerResponse` number, double, required — The representative per-response cost the estimate is based on.
  - `datapointCount` integer, required — The number of datapoints in the job's dataset.
  - `requiredResponses` integer, required — The total number of responses the job's referee requires to complete.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/revisions/d779de93a5ee/schema)
