Logs

List Logs

List all Logs for the given filter criteria.

get/logs

Request

  • Base URL: https://api.humanloop.com/v5
  • URL: https://api.humanloop.com/v5/logs
  • Auth: API key in header X-API-KEY

Query parameters

file_idstring required

Unique identifier for the File to list Logs for.

pageinteger

Page number for pagination.

sizeinteger

Page size for pagination. Number of Logs to fetch.

version_idstring

If provided, only Logs belonging to the specified Version will be returned.

idstring

If provided, returns Logs whose IDs contain any of the specified values as substrings.

searchstring

If provided, only Logs that contain the provided string in its inputs and output will be returned.

metadata_searchstring

If provided, only Logs that contain the provided string in its metadata will be returned.

start_datestring date-time

If provided, only Logs created after the specified date will be returned.

end_datestring date-time

If provided, only Logs created before the specified date will be returned.

include_parentboolean

If true, include the full parent Log in the response. Only applicable when retrieving Evaluator Logs.

in_trace_filterboolean

If true, return Logs that are associated to a Trace. False, return Logs that are not associated to a Trace.

sampleinteger

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_childrenboolean

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

Response

Successful Response

pageinteger required
sizeinteger required
totalinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.