Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/server / / ParsedSubject

Type Alias: ParsedSubject

ts
type ParsedSubject = 
  | {
  kind: "session-events";
  sessionId: string;
}
  | {
  kind: "session-run-events";
  runId: string;
  sessionId: string;
}
  | {
  agentId: string;
  kind: "agent-run-events";
  runId: string;
}
  | {
  kind: "workflow-events";
  workflowId: string;
}
  | {
  kind: "memory-conflicts";
}
  | {
  kind: "audit-events";
};

Defined in: packages/server/src/ws/subjects.ts:25

Discriminated union of every recognised subject form. Surfaced on audit log entries + diagnostics; the wire still carries the raw string.

Stable