ℹ️ These docs are for the v2.0 version of Galileo. Documentation for v1.0 version can be found here.
curl --request PATCH \
--url https://api.galileo.ai/v2/projects/{project_id}/traces/{trace_id} \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"log_stream_id": "<string>",
"experiment_id": "<string>",
"logging_method": "api_direct",
"client_version": "<string>",
"reliable": false,
"trace_id": "<string>",
"input": "<string>",
"output": "<string>",
"status_code": 123,
"tags": [
"<string>"
],
"is_complete": true
}'
{
"log_stream_id": "<string>",
"experiment_id": "<string>",
"project_id": "<string>",
"project_name": "<string>",
"session_id": "<string>",
"records_count": 123,
"trace_id": "<string>"
}
Update a trace with the given ID.
curl --request PATCH \
--url https://api.galileo.ai/v2/projects/{project_id}/traces/{trace_id} \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"log_stream_id": "<string>",
"experiment_id": "<string>",
"logging_method": "api_direct",
"client_version": "<string>",
"reliable": false,
"trace_id": "<string>",
"input": "<string>",
"output": "<string>",
"status_code": 123,
"tags": [
"<string>"
],
"is_complete": true
}'
{
"log_stream_id": "<string>",
"experiment_id": "<string>",
"project_id": "<string>",
"project_name": "<string>",
"session_id": "<string>",
"records_count": 123,
"trace_id": "<string>"
}
Request model for updating a trace.
Successful Response
The response is of type object
.
Was this page helpful?