---
title: "Get all LLM cost entries for a specific job (admin only)"
method: GET
path: "/v1/admin/llm-costs/{job_id}"
---

# Get all LLM cost entries for a specific job (admin only)

`GET /v1/admin/llm-costs/{job_id}`

## Request

- Base URL: `https://api.clichefactory.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.clichefactory.com/v1/admin/llm-costs/{job_id}`
- Auth: none declared

## Path parameters

- `job_id` string, required

## Headers

- `X-API-KEY` string, nullable

## Response `200`

Successful Response

- LlmCostLogResponse
  - `items` LlmCostLogItem[], required
    - `id` integer, required
    - `tenant_id` string, required
    - `job_id` string, nullable
    - `operation` string, required
    - `provider` string, required
    - `model_name` string, nullable
    - `prompt_tokens` integer
    - `completion_tokens` integer
    - `total_tokens` integer
    - `estimated_cost_usd` number, nullable
    - `dspy_cost_usd` number, nullable
    - `dspy_metric_calls` integer, nullable
    - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/clichefactory/apis/aio-server.md) · [All operations](https://skmtc.dev/clichefactory/apis/aio-server/llms.txt) · [OpenAPI document](https://skmtc.dev/clichefactory/apis/aio-server/revisions/9bd59f9bbb31?raw)
