Method
getPredictionLogsRecords GET
Copy GET

Retrieves the prediction request IDs for the most recent predictions made to the deployment.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes deploymentId str The unique identifier of a deployment created under the project.
No limit int The number of prediction log entries to retrieve up to the specified limit.
No lastLogRequestId str The request ID of the last log entry to retrieve.
No lastLogTimestamp int A Unix timestamp in milliseconds specifying the timestamp for the last log entry.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result list[PredictionLogRecord]

Exceptions:

TYPE WHEN
DataNotFoundError

deploymentId is not found.

DataNotFoundError

lastLogRequestId is not found.

Language: