---
title: "Get thread token usage"
method: GET
path: "/api/projects/{projectId}/sessions/{sessionId}/threads/{threadId}/token-usage"
tags: ["Threads"]
---

# Get thread token usage

`GET /api/projects/{projectId}/sessions/{sessionId}/threads/{threadId}/token-usage`

Get thread token usage. Returns the requested resource or collection for the authenticated caller.

## Path parameters

- `projectId` string, required
- `sessionId` string, required
- `threadId` string, required

## Response `200`

Token usage

- TokenUsageResponse — token Usage Response payload returned by the API.

---

[API](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/revisions/4de3fcd6be56/schema)
