pydo.inference.upload_batch_file()
Generated on 7 May 2026
from pydo version
v0.34.0
Description
Uploads the raw JSONL bytes to the presigned upload_url returned by POST /v1/batches/files.
The URL is dynamic — do not construct it. Use the upload_url value from the previous step verbatim. Its host, path, and query parameters are part of the short-lived (~15 minute) signature and change per request; the server and path shown here are illustrative. If the URL expires before the upload completes, create a new file intent and retry.
POST /v1/batches performs a HEAD check on the uploaded object and will reject the batch if this upload has not completed.
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.