TypeScript SDKReference

Orchestrator Types

TypeScript types for the Orchestrator API - workflows, API keys, and webhook triggers.

See Orchestrator for usage.

OrchestratorWorkflowSummary

Returned by workflows.list() from GET /api/workflows. Lightweight workflow representation without nodes/edges.

interface OrchestratorWorkflowSummary {
  id: string;
  name: string;
  description: string;
  visibility: string;
  createdAt: string;
  updatedAt: string;
}
FieldTypeDescription
idstringWorkflow ID.
namestringWorkflow name.
descriptionstringDescription.
visibilitystringVisibility level.
createdAtstringCreation timestamp.
updatedAtstringLast update.

OrchestratorCreateWorkflowBody

interface OrchestratorCreateWorkflowBody {
  name: string;
  description?: string;
  nodes?: unknown[];
  edges?: unknown[];
}
FieldTypeDescription
namestringWorkflow name (required).
descriptionstringDescription.
nodesunknown[]Workflow nodes.
edgesunknown[]Workflow edges.

OrchestratorUpdateWorkflowBody

interface OrchestratorUpdateWorkflowBody {
  name?: string;
  description?: string;
  nodes?: unknown[];
  edges?: unknown[];
  visibility?: string;
}
FieldTypeDescription
namestringUpdated name.
descriptionstringUpdated description.
nodesunknown[]Updated nodes.
edgesunknown[]Updated edges.
visibilitystringUpdated visibility.

OrchestratorWebhookTriggerResponse

Returned when triggering a workflow via webhook from POST /api/workflows/{workflowId}/webhook. See Orchestrator Webhooks.

interface OrchestratorWebhookTriggerResponse {
  executionId: string;
  status: string;
}
FieldTypeDescription
executionIdstringExecution ID.
statusstringExecution status.

OrchestratorCreateApiKeyResponse

Returned by apiKeys.create(). See Orchestrator API Keys.

interface OrchestratorCreateApiKeyResponse {
  id: string;
  name: string;
  key: string;
  keyPrefix: string;
  createdAt: string;
}
FieldTypeDescription
idstringKey ID.
namestringKey name.
keystringFull key value (wfb_…). Returned only once at creation.
keyPrefixstringKey prefix for display.
createdAtstringCreation timestamp.

OrchestratorAiStreamOperation

interface OrchestratorAiStreamOperation {
  op: string;
}
FieldTypeDescription
opstringOperation type.

How is this guide?

On this page