---
title: "Discover sibling projects that share the same `trace_id` (Phase 1 banner)."
method: GET
path: "/otel/traces/cross-project/{trace_id}"
tags: ["Traces"]
---

# Discover sibling projects that share the same \`trace_id\` (Phase 1 banner).

`GET /otel/traces/cross-project/{trace_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/otel/traces/cross-project/{trace_id}`
- Auth: HTTP bearer

Returns an empty `siblings` list when the trace is single-project — never
404. Project names are included so the UI can render navigation links
without a second round-trip.  See ADR-027 §3 for the full auth model and
topology-disclosure trade-offs.

## Path parameters

- `trace_id` string, required

## Query parameters

- `exclude_project_id` integer

## Response `200`

Sibling projects sharing this trace

- CrossProjectTraceResponse: Response body for `GET /otel/traces/cross-project/{trace_id}`. An empty `siblings` vec is the normal single-project case — never 404.
  - `siblings` CrossProjectSiblingRef[], required: Projects other than the caller's that hold spans for this trace, ordered by `first_seen ASC`.
    - `first_seen` string, date-time, required: ISO 8601 timestamp (UTC, `Z` suffix) of first span ingest for this `(trace_id, project_id)` pair.
    - `project_id` integer, required
    - `project_name` string, required
    - `project_slug` string, required: URL slug used to link into the sibling project's single-project trace view.
  - `trace_id` string, required: The trace_id that was queried (echoed back for client convenience).

## Other responses

- `400`: trace_id is not 32 lowercase hex characters
- `401`: Unauthorized
- `403`: Insufficient permissions or deployment token
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 4 breaking
  - removed the required property `extensions` from the response with the `400` status
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-05** `4b228ebed583`: 4 info
  - added the optional property `status` to the response with the `400` status
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `500` status
- **2026-10-05** `63a80791dc58`: 4 warning
  - removed the optional property `status` from the response with the `400` status
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `403` status
  - removed the optional property `status` from the response with the `500` status
- **2026-09-23** `f4efc4d5c7b7`: 4 info
  - added the optional property `status` to the response with the `400` status
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `500` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/otel/traces/cross-project/:trace_id/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
