Getsessionbyid
Session detail with a built step tree and policy events.
404 when no rows are found for the session.
Success data: { "sessionId", "steps", "summary", "policyEvents" }.
身份验证
AuthorizationBearer
Bearer credential containing a JWT, Virtual Key, or PAT.
路径参数
id
Session id.
请求头
X-Workspace-Id
Required for a normal JWT, Virtual Key, or PAT. A JWT may instead send X-Openmodel-User-Id. Not used by the public health endpoint.
X-Openmodel-User-Id
JWT-only alternative to X-Workspace-Id. Must be a UUID equal to the JWT subject; the server uses it as the workspace id. Not valid as the sole workspace header for Virtual Key or PAT authentication.
响应
code
message
data