provider tracing GET /api/projects/{project_id}/tracing/spans/service-names/
@utdk/posthog /api/projects/{project_id}/tracing/spans/service-names/
tracing_spans_service_names_retrieve
dateRange query
JSON-encoded date range, e.g. '{"date_from": "-1h"}'.
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
search query
Search filter for service names.
string

Try it

Authentication
Configure credentials for PostHog API
tracingSpansServiceNamesRetrieve
GET/api/projects/{project_id}/tracing/spans/service-names/

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

JSON-encoded date range, e.g. '{"date_from": "-1h"}'.

Search filter for service names.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.tracingSpansServiceNamesRetrieve()