PATCH
/
v2
/
projects
/
{project_id}
/
spans
/
{span_id}
curl --request PATCH \
  --url https://api.galileo.ai/v2/projects/{project_id}/spans/{span_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,
  "span_id": "<string>",
  "input": "<string>",
  "output": "<string>",
  "tags": [
    "<string>"
  ],
  "status_code": 123
}'
{
  "log_stream_id": "<string>",
  "experiment_id": "<string>",
  "project_id": "<string>",
  "project_name": "<string>",
  "session_id": "<string>",
  "records_count": 123,
  "span_id": "<string>"
}

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

project_id
string
required

Body

application/json

Request model for updating a trace.

Response

200
application/json

Successful Response

The response is of type object.