---
title: "Get Hugging Face inference data"
method: POST
path: "/events/huggingface-inference"
tags: ["Events"]
---

# Get Hugging Face inference data

`POST /events/huggingface-inference`

Use when fetching Hugging Face inference usage or billing data (e.g. for HF-specific reporting or reconciliation). Reads the meter-usage pipeline.

## Request body

- GetHuggingFaceBillingDataRequest
  - `requestIds` string[], required

## Response `200`

OK

- GetHuggingFaceBillingDataResponse
  - `requests` EventCostInfo[]
    - `costNanoUsd` string
    - `requestId` string

## Other responses

- `500` — Server error

---

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