Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/server / / RunDescriptor
Type Alias: RunDescriptor
ts
type RunDescriptor =
| {
agentId: string;
kind: "agent";
sessionId?: string;
userId?: string;
}
| {
kind: "workflow";
sessionId?: string;
threadId?: string;
userId?: string;
workflowId: string;
};Defined in: packages/server/src/runtime/run-state.ts:60
Bookkeeping descriptor recorded at run start. Either an agent run (with agentId) or a workflow run (with workflowId + optional threadId).