---
title: "Get the cost of the configuration for a single image."
method: GET
path: "/v2/cost/{configId}"
tags: ["Balance endpoints"]
---

# Get the cost of the configuration for a single image.

`GET /v2/cost/{configId}`

## Request

- Base URL: `https://api.irisnet.de`
- URL: `https://api.irisnet.de/v2/cost/{configId}`
- Auth: API key in header `LICENSE-KEY`

The cost is subtracted from the license key after a successful check-image operation.

## Path parameters

- `configId` string, uuid, required

## Response `200`

The cost of the given configuration.

- Pricing: Contains information about the credit cost of a check operation.
  - `cost` integer

## Other responses

- `404`: configId not found.
- `429`: The ai could not handle the request because it is either overloaded or currently down for maintenance. This is a temporary state. A 'Retry-After' Header is included in the response to signal the client to retry after a certain amount of seconds.

---

[API](https://skmtc.dev/irisnet/apis/irisnet-api.md) - [All operations](https://skmtc.dev/irisnet/apis/irisnet-api/llms.txt) - [OpenAPI document](https://skmtc.dev/irisnet/apis/irisnet-api/revisions/185759e28101?raw)
