Skip to content

upstream: no endpoint to query gateway records by correlation ID (or session ID) #622

Description

@amirkhan-ak-sf

Part of #611.

Summary

Omni Gateway records every governed call by correlation ID in its analytics, but there's no endpoint to query those records by correlation ID (or by session ID). If there were, run and session history (models served, refusals, usage) could be rebuilt from the gateway itself rather than a client-side store. That would be the most governed form of "memory about what happened", with a single source of truth.

Request to the Omni Gateway team

  • GET records for a correlation ID (and optionally a session ID): per call, the timestamp, served model and provider, routing and fallback, policy outcome, token usage, and request ID. No prompt or response content.
  • Scoped to the caller's own client ID; an agent can only read its own records.
  • Freshness: near real time is enough for human-in-the-loop hand-off, but record the expected lag.

Why it matters to DDK

Related

#248, #317, #211, #613, #620

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:telemetryOTel GenAI spans, correlation IDs, cost tags (1.6, 1.7)priority/p3Nice-to-have, not blockingsize/s~half day, one fileupstream-gapA product ask to the Omni Gateway team, not SDK code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions