---
title: "Get span billing details."
method: GET
path: "/v1/tracing/traces/{traceId}/spans/{spanId}/billingInfo"
tags: ["traces"]
---

# Get span billing details.

`GET /v1/tracing/traces/{traceId}/spans/{spanId}/billingInfo`

Get the billing information of the span.

## Path parameters

- `traceId` string, required
- `spanId` string, required

## Response `200`

Billing information of the span with the given identifier.

- TraceSpanBillingInfo
  - `billedBytes` integer, required — Number of bytes that were charged for the span.
  - `billedFormat` string, required — Billing format of the span. Number of bytes of this representation of the span is equal to `billedBytes`.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/versions/18a824df1e78/schema)
