ℹ️ These docs are for the v2.0 version of Galileo. Documentation for v1.0 version can be found here.
curl --request POST \
--url https://api.galileo.ai/v2/projects/{project_id}/spans/delete \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"filters": [
{
"case_sensitive": true,
"name": "input",
"operator": "eq",
"type": "text",
"value": "example input"
}
],
"log_stream_id": "74aec44e-ec21-4c9f-a3e2-b2ab2b81b4db"
}'
{
"message": "<string>"
}
Delete all span records that match the provided filters.
curl --request POST \
--url https://api.galileo.ai/v2/projects/{project_id}/spans/delete \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"filters": [
{
"case_sensitive": true,
"name": "input",
"operator": "eq",
"type": "text",
"value": "example input"
}
],
"log_stream_id": "74aec44e-ec21-4c9f-a3e2-b2ab2b81b4db"
}'
{
"message": "<string>"
}
Successful Response
The response is of type object
.
Was this page helpful?