/v1/batch/download_url/{job_id}
Available at https://api.theproductllm.com/v1/batch/download_url/{job_id}
Generates a signed download URL for completed batch job results.
The signed URL provides access to download the JSONL results file, expiring at the date provided. This endpoint only works for jobs with status complete.
Path Parameters
job_id: The ID of a completed batch job
Request
import requests
response = requests.get(
"https://api.theproductllm.com/v1/batch/download_url/550e8400-e29b-41d4-a716-446655440000",
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
print(response.json())Response
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"download_url": "https://storage.googleapis.com/bucket/path/to/results.jsonl?X-Goog-Algorithm=...",
"expires_at": "2025-01-22T10:30:00Z"
}Last updated