GET
/
v1
/
accounts
/
{account_id}
/
batchJobs
/
{batch_job_id}
:getLogs
Get Batch Job Logs
curl --request GET \
  --url https://api.fireworks.ai/v1/accounts/{account_id}/batchJobs/{batch_job_id}:getLogs \
  --header 'Authorization: Bearer <token>'
{
  "entries": [
    {
      "logTime": "2023-11-07T05:31:56Z",
      "rank": 123,
      "message": "<string>"
    }
  ],
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

The Account Id

batch_job_id
string
required

The Batch Job Id

Query Parameters

ranks
integer[]

Ranks, for which to fetch logs.

pageSize
integer

The maximum number of log entries to return. The maximum page_size is 10,000, values above 10,000 will be coerced to 10,000. If unspecified, the default is 100.

pageToken
string

A page token, received from a previous GetBatchJobLogsRequest call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to GetBatchJobLogsRequest must match the call that provided the page token.

startTime
string<date-time>

Entries before this timestamp won't be returned. If not specified, up to page_size last records will be returned.

filter
string

Only entries matching this filter will be returned. Currently only basic substring match is performed.

startFromHead
boolean

Pagination direction, time-wise reverse direction by default (false).

readMask
string

The fields to be returned in the response. If empty or "*", all fields will be returned.

Response

200 - application/json

A successful response.

The response is of type object.