Skip to content

Get Task Cost

GET/v1/tasks/{task_id}/cost

Retrieve the asynchronous settlement status, final cost, and token usage for a recent SandBase task.

Path parameters

stringtask_idrequired

SandBase task ID. This is the id returned by POST /v1/run or POST /v1/generations.