GET
/
v1
/
accounts
/
{account_id}
/
batch_job
/
{batch_id}
# Make request
curl -X GET "https://audio-batch.link.fireworks.ai/v1/accounts/{account_id}/batch_job/{batch_id}" \
-H "Authorization: <FIREWORKS_API_KEY>"

This endpoint allows you to check the current status of a previously submitted batch request, and retrieve the final result if available.

Headers

Authorization
string
required

Your Fireworks API key. e.g. Authorization=FIREWORKS_API_KEY. Alternatively, can be provided as a query param.

Path Parameters

account_id
string
required

The identifier of your Fireworks account. Must match the account used when the batch request was submitted.

batch_id
string
required

The unique identifier of the batch job to check.
This should match the batch_id returned when the batch request was originally submitted.

Response

The response includes the status of the batch job and, if completed, the final result.

status
string
required

The status of the batch job at the time of the request.
Possible values include "completed" and "processing".

batch_id
string
required

The unique identifier of the batch job whose status is being retrieved.
This ID matches the one provided in the original request.

message
string

A human-readable message describing the current state of the batch job.
This field is typically null when the job has completed successfully.

content_type
string

The original content type of the response body.
This value can be used to determine how to parse the string in the body field.

body
string

The serialized result of the batch job, this field is only present when status is "completed".
The format of this string depends on the content_type field and may vary across endpoints.
Clients should use content_type to determine how to parse or interpret the value.

# Make request
curl -X GET "https://audio-batch.link.fireworks.ai/v1/accounts/{account_id}/batch_job/{batch_id}" \
-H "Authorization: <FIREWORKS_API_KEY>"