---
title: "Read authoritative stream state and final billing"
method: GET
path: "/wrapped/credits/calls/{callId}"
tags: ["Burn"]
---

# Read authoritative stream state and final billing

`GET /wrapped/credits/calls/{callId}`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/wrapped/credits/calls/{callId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Returns the authoritative state of a streamed wrapped call and its final credit values once billing settles. Secret-key callers must repeat the original X-Locus-End-User header. Returns 404 when the call belongs to another credit account.

## Path parameters

- `callId` string, uuid, required

## Headers

- `X-Locus-Session-Id` string
- `X-Locus-End-User` string: Case-sensitive immutable ID in the tenant namespace. Prefer an identity-provider subject, not an email address.

## Response `200`

Call ownership verified; state and final credit values returned

- CreditsCallStatus
  - `apiCallId` string, uuid, required
  - `status` string, required
  - `provider` string, required
  - `endpoint` string, required
  - `stream` object, nullable, required
    - `state` 'streaming' | 'completed' | 'client_disconnected' | 'upstream_error' | 'settlement_pending', required
    - `contentType` string, required
    - `error` string
  - `billing` object, required
    - `chargedCredits` string, required: Non-negative exact decimal string with at most six fractional digits. Endpoint-specific positivity and amount limits still apply.
    - `balanceCredits` string, required: Non-negative exact decimal string with at most six fractional digits. Endpoint-specific positivity and amount limits still apply.
    - `reservedCredits` string: Non-negative exact decimal string with at most six fractional digits. Endpoint-specific positivity and amount limits still apply.
    - `settlement` 'settled-after-delivery' | 'standard', required
  - `error` string, nullable
  - `errorStage` string, nullable
  - `createdAt` string, date-time, required
  - `completedAt` string, date-time, nullable

## Other responses

- `404`: Call not found for this credit account

---

[API](https://skmtc.dev/paywithlocus/apis/locus-pro-api.md) - [All operations](https://skmtc.dev/paywithlocus/apis/locus-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paywithlocus/apis/locus-pro-api/revisions/aab8fa5d6cef?raw)
