v3

latestOpenAPI 3.1.02026-08-0712650111.6 KB

Resolve Org For Trace

Resolve which org a playback_id, session_id, or view_session_id belongs to, for the purpose of bootstrapping a trace-viewer deep link without forcing the viewer through the org picker.

Authorization:

  • Super admins: allowed unconditionally (they have cross-org access).
  • Multi-org users: allowed iff they belong to the resolved org.
  • Single-org users: allowed iff the resolved org matches their JWT's org_id.

This endpoint does NOT require the X-Org-Id header — that's the whole point (the caller is asking which org to use). Portal JWT only; secret keys are rejected since secret-key callers already know their org.

get/internal/traces/resolve-org

Query parameters

playback_idstring nullable
session_idstring nullable
view_session_idstring nullable

Response

Successful Response

{"stackTrail":"paths:/internal/traces/resolve-org:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}