GET
/v1/private/spans/existsCheck whether a project has spansReturns whether the project has at least one span matching the given scope. Cheap existence probe (LIMIT 1) used to drive empty-state decisions without scanning or aggregating the whole project.
Parameters
project_idstring · uuidqueryproject_namestringquerysourcestringqueryRestrict the probe to a single ingestion source (e.g. 'sdk' for the Logs empty state), matching the rendered list's logs-source scope. Omit to probe any source.
Responses
objectExistenceResponse
existsbooleanWhether the project has at least one matching entity for the given scope
{
"exists": true
}