---
title: "Calculate expected credits used by the enrichment"
method: POST
path: "/enrich/user-defined-http/{handle}/expected-credits-used"
tags: ["enrich"]
---

# Calculate expected credits used by the enrichment

`POST /enrich/user-defined-http/{handle}/expected-credits-used`

Returns the expected credits used by the generic HTTP enrichment based on provided request parameters.

## Path parameters

- `handle` string, required

## Request body

- HttpHttpEnrichmentExpectedCreditsRequest
  - `colIds` string[] — Column IDs used
  - `filterModel` object — Filter model to apply

## Response `200`

OK

- HttpHttpEnrichmentExpectedCreditsResponse
  - `credits` integer

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

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