get_task
Retrieve current task status, outputs, cost, and elapsed time using task token or ID. Check pexit for success or failure.
Instructions
Get the current status and output of a task. Returns status, outputs, cost, and elapsed time. Check pexit for success ("0") or failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasktoken | No | The task token returned from run_model | |
| taskid | No | The task ID (alternative to tasktoken) |