/v1/batch/jobs
Available at https://api.theproductllm.com/v1/batch/jobs
Lists all batch inference jobs for the authenticated user.
Returns a complete list of all batch jobs submitted by the user, including their status, creation date, type, and progress information.
Request
import requests
response = requests.get(
"https://api.theproductllm.com/v1/batch/jobs",
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
print(response.json())Response
{
"jobs": [
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "complete",
"user_id": "user_2abc123def456",
"total_rows": 100,
"processed_rows": 100,
"progress_percent": 100.0,
"inference_type": "match",
"original_filename": "product_pairs.jsonl",
"error": null,
"created_at": "2025-01-15T10:30:00Z"
},
{
"job_id": "550e8400-e29b-41d4-a716-446655440001",
"status": "active",
"user_id": "user_2abc123def456",
"total_rows": 50,
"processed_rows": 25,
"progress_percent": 50.0,
"inference_type": "filter_search_results",
"original_filename": "filter_requests.jsonl",
"error": null,
"created_at": "2025-01-15T11:00:00Z"
},
{
"job_id": "550e8400-e29b-41d4-a716-446655440002",
"status": "failed",
"user_id": "user_2abc123def456",
"total_rows": 25,
"processed_rows": 10,
"progress_percent": 40.0,
"inference_type": "generate_query",
"original_filename": "queries.jsonl",
"error": "Invalid JSON format at line 11",
"created_at": "2025-01-14T09:15:00Z"
}
]
}Last updated