This function retrieves the status of a batch.
Details
For more information, see the OpenAI API documentation.
For more information, see the OpenAI API documentation.
See also
Other batches:
batch_cancel()
,
batch_create()
,
batch_list()
,
batch_result()
,
file_upload()
Examples
if (FALSE) {
batch_status("batch_abc123")
batch_file_info <- file_upload("abc123.jsonl")
batch_job_info <- batch_file_info[["id"]] |>
batch_create()
batch_status <- batch_job_info[["id"]] |>
batch_status()
batch_status
}