Retrieves detailed log information for a specific endpoint execution using the Rapida API.
Parameters
Configuration for the client connection.
request
GetEndpointLogRequest
required
The unique identifier of the endpoint for which to retrieve log information.
The unique identifier of the specific endpoint log entry to retrieve.
Usage
from rapida import (
ConnectionConfig,
GetEndpointLogRequest,
get_endpoint_log
)
from pprint import pprint
connection_config = ConnectionConfig.default_connection_config(
ConnectionConfig.with_sdk("{your-rapida-api-key}")
)
response = get_endpoint_log(
client_cfg=connection_config,
request=GetEndpointLogRequest(
id=2230958607199895552,
endpointId=2223006263292198912,
),
)
pprint(response)
Response
Numeric status code for the operation.
Indicates whether the operation was successful.
Detailed log information for the endpoint execution.
Unique identifier for the endpoint log entry.
The identifier of the endpoint this log belongs to.
Source system or origin of the endpoint execution.
Current status of the endpoint execution.
Associated project identifier.
Associated organization identifier.
Model identifier tied to the endpoint provider.
Time taken for the endpoint execution in milliseconds.
Timestamp when the log entry was created.
Timestamp when the log entry was last updated.
Array of performance and execution metrics.
Description of what the metric measures.
Array of metadata associated with the endpoint execution.
Unique identifier for the metadata entry.
Array of arguments passed to the endpoint during execution.
Unique identifier for the argument.
Array of execution options used for the endpoint.
Unique identifier for the option entry.
Error information, if applicable.
Machine-readable error code.