List Logs

List all Logs for the given filter criteria.

Headers

X-API-KEYstringRequired

Query parameters

file_idstringRequired
Unique identifier for the File to list Logs for.
pageintegerOptional>=1Defaults to 1
Page number for pagination.
sizeintegerOptional>=0Defaults to 10
Page size for pagination. Number of Logs to fetch.
version_idstringOptional
If provided, only Logs belonging to the specified Version will be returned.
idstringOptional
If provided, returns Logs whose IDs contain any of the specified values as substrings.
searchstringOptional
If provided, only Logs that contain the provided string in its inputs and output will be returned.
start_datedatetimeOptional
If provided, only Logs created after the specified date will be returned.
end_datedatetimeOptional
If provided, only Logs created before the specified date will be returned.
include_parentbooleanOptionalDefaults to false
If true, include the full parent Log in the response. Only applicable when retrieving Evaluator Logs.
in_trace_filterbooleanOptional
If true, return Logs that are associated to a Trace. False, return Logs that are not associated to a Trace.
sampleintegerOptional>=0

If provided, limit the response to a random subset of logs from the filtered results. (This will be an approximate sample, not a strict limit.)

include_trace_childrenbooleanOptionalDefaults to false

If true, populate trace_children for the retrieved Logs. Only applicable when retrieving Flow or Agent Logs.

Response

Successful Response
recordslist of objects
pageinteger
sizeinteger
totalinteger

Errors