THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION
POST /api/v2/batches/{batch_id}/poll
Ask the provider about one batch now instead of waiting for the service’s next poll.
Implemented. Requires an enabled OpenAI-compatible runtime that was verified for the batch API. No connected host serves it yet (the weights.fyi batch API is designed, not built), so batch mode is witnessed on a loopback provider only.
POST $STUDIO_CUSTOMER_URL/api/v2/batches/{batch_id}/poll- Host
- Customer API
- Caller
- Workspace member who can read the batch.
- Authorization
- Bearer token for this host; see Authentication.
Request
transport_version: 2. No other fields.
Return value
200. {transport_version: 2, batch}. Runs the provider answered are completed or failed exactly once, as their authors; a run cancelled meanwhile records the late answer. A batch whose creation got no answer is looked up by its metadata before its runs are queued again.
Errors and retrying
Safe to repeat: a poll that finds nothing new changes nothing. The service polls every open batch on its own, every 5 seconds, so this call is for a reviewer who wants the answer now.
Read the error codes and limits before retrying. A missing or inaccessible resource can produce the same refusal; do not infer its existence.