Update Tool Log
Update a Log.
Update the details of a Log with the given ID.
Authentication
X-API-KEYstring
API Key authentication via header
Path parameters
id
Unique identifier for Prompt.
log_id
Unique identifier for the Log.
Request
This endpoint expects an object.
output
Generated output from your model for the provided inputs. Can be None if logging an error, or if creating a parent Log with the intention to populate it later.
created_at
User defined timestamp for when the log was created.
error
Error message if the log is an error.
provider_latency
Duration of the logged event in seconds.
stdout
Captured log and debug statements.
provider_request
Raw request sent to provider.
provider_response
Raw response received the provider.
inputs
The inputs passed to the prompt template.
source
Identifies where the model was called from.
metadata
Any additional metadata to record.
start_time
When the logged event started.
end_time
When the logged event ended.
Response
Successful Response
OR
OR
OR
OR