List API Usage Records
meshy_list_usageList finished API tasks with credits consumed, newest first, to break down spend per endpoint or API key. Requires a Studio or Enterprise team API key.
Instructions
List the team's finished API tasks with the credits each consumed, newest first. Free. Use it to break down spend per endpoint or API key. Only for API keys on a Studio or Enterprise team (others get 403).
Covers SUCCEEDED and FAILED tasks (FAILED ones are refunded, so they show 0); a task still running is not listed yet. Without start_time / end_time it covers the last 30 days.
Returns { records: [{ task_id, endpoint, status, created_at, finished_at, consumed_credits, api_key_name, api_key_suffix }], page_num, page_size, has_more }
Example (September image-to-3d spend): { start_time: "2026-09-01T00:00:00Z", end_time: "2026-10-01T00:00:00Z", endpoints: ["image-to-3d"], page_size: 100 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Only tasks with this final status. Omit for both. | |
| sort_by | No | '-created_at' newest first (default) or '+created_at' | -created_at |
| end_time | No | RFC 3339 end of the window (default now). | |
| page_num | No | Page number | |
| endpoints | No | Only these endpoints ('text-to-3d' covers preview and refine). Omit for all. | |
| page_size | No | Records per page | |
| start_time | No | RFC 3339 start of the created_at window (default: 30 days before end_time; at most 1 year). | |
| response_format | No | markdown (default) or json | markdown |