Spans
Check whether a project has spans
Changed onReturns 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.
get/v1/private/spans/exists
Request
- Base URLhttp://localhost:5173/api
- URLhttp://localhost:5173/api/v1/private/spans/exists
- Authnone declared
Query parameters
project_idstring uuid
project_namestring
sourcestring
Restrict 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.
Response
Span existence
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking