---
title: "Get credit balance"
method: GET
path: "/api/agents/balance"
---

# Get credit balance

`GET /api/agents/balance`

## Request

- Base URL: `https://splice.film.fun`
- URL: `https://splice.film.fun/api/agents/balance`
- Auth: API key in header `x-api-key`

Returns total, available, and allocated credits for the agent account.

## Response `200`

Balance summary

- object
  - `success` boolean
  - `balance` object
    - `total` number
    - `available` number
    - `allocated_to_productions` number
    - `productions` object[]

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/film/apis/film-fun-splice-agent-api.md) · [All operations](https://skmtc.dev/film/apis/film-fun-splice-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/film/apis/film-fun-splice-agent-api/revisions/72c22f361c20?raw)
