Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Get a trace

Gets a trace.

This method is not served on the public API. api.sylphx.com does not route this call: its backend is not deployed behind the public API, or does not implement the call. This page documents the contract. It is kept out of the sidebar and of search engines.

Gets a trace.

  • Path GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/traces/trace
  • Scope observability:read
  • Effect read — nothing is written.
  • Collection traces

#Request

FieldTypeWhat it is
namestringThe name of the trace to get. Required.

#Response

FieldTypeWhat it is
namestringorgs/{org}/projects/{project}/envs/{env}/traces/{trace}.
uidstringtrc_<cell><ulid>; never reused. Output only.
metaResourceMetaResource metadata.
trace_idstringThe W3C trace id (32 hex). Output only.
root_span_namestringThe root span's name. Output only.
root_service_namestringThe root span's service. Output only.
start_timetimestampThe earliest span start. Output only.
end_timetimestampThe latest span end. Output only.
has_errorboolWhether any span has an error status. Output only.
spansSpan[]Every span, in start order; empty in query results. Output only.

#ResourceMeta

FieldTypeWhat it is
generationint64Increases by one on every change to spec. Output only.
etagstringStrong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only.
create_timetimestampWhen the Resource was created. Output only.
update_timetimestampWhen the Resource last changed. Output only.
delete_timetimestampSet while the Resource is being deleted. Output only.
labelsmap<string, string>Caller-writable, indexed labels (AIP-122 label rules).
annotationsmap<string, string>Caller-writable, unindexed annotations.
display_namestringCaller-writable human-readable name.
creatorstringThe principal that created the Resource. Output only.

#Span

FieldTypeWhat it is
trace_idstringW3C trace id (32 hex). Required.
span_idstringW3C span id (16 hex). Required.
parent_span_idstringThe parent span id; empty for a root span.
span_namestringThe operation name. Required.
service_namestringThe emitting service. Required.
kindSpanKindThe span kind. One of internal, server, client, producer, consumer.
start_timetimestampWhen the span started. Required.
end_timetimestampWhen the span ended; not before start_time. Required.
errorboolWhether the span failed.
error_messagestringThe error message, when error.
attributesmap<string, string>Typed attributes, at most 64.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/traces/trace" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"