Skip to main content
GET
Get Batch Logs

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The unique identifier of the batch whose logs you want to fetch.

Query Parameters

integer
Optional. The number of log entries to return.
integer
Optional. The number of log entries to skip (used for pagination).
string
Optional. Sort order of logs.
Valid values: "asc" or "desc" (default is "desc").

Response

array
A list of log entries related to the batch’s lifecycle and execution.
string
The unique identifier for the log entry.
string
The ID of the batch associated with the log.
string
The organization ID tied to the batch.
string
The type of log event.

Examples: "lifecycle", "complete"
string (ISO 8601)
The time the log was generated.
object
Additional information related to the event. Contents vary depending on the event_type.
null
Always null on success.

Docs for agents: llms.txt