---
title: "Get a billing operation by ID"
method: GET
path: "/api/billing/ops/{id}"
tags: ["billing"]
---

# Get a billing operation by ID

`GET /api/billing/ops/{id}`

[cloud-only] Returns details of a specific billing operation.

## Path parameters

- `id` string, required

## Response `200`

Billing operation

- BillingOpStatusResponse — [cloud-only] Status of an asynchronous billing operation.
  - `id` string, required — Unique identifier for the billing operation
  - `status` 'pending' | 'succeeded' | 'failed', required — Current status of the operation
  - `error_message` string — Error message if status is failed
  - `started_at` string, date-time, required — When the operation was initiated
  - `completed_at` string, date-time — When the operation completed (success or failure)

## Other responses

- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

## Changes

- **2026-05-22** `c4db9e1283df` — 4 warning, 3 info
  - removed the optional property `amount` from the response with the `200` status
  - removed the optional property `created_at` from the response with the `200` status
  - removed the optional property `type` from the response with the `200` status
  - added the new `succeeded` enum value to the `status` response property for the response status `200`
  - …3 more
- **2026-05-22** `09a5075587c8` — 2 info
  - api operation id `getBillingOp` removed and replaced with `getBillingOpStatus`
  - added the non-success response with the status `500`
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/billing/ops/:id/get.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/8eec9009e003/schema)
