Coordinator
Interfaces
Interfaces
RunResult
Result of a single coordinator run
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
dispatched | DispatchResult[] | Yes | |
health | HealthCheckResult | Yes | |
timestamp | string | Yes |
HealthCheckResult
Result of health check
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
healthy | string[] | Yes | |
offline | string[] | Yes | |
errors | string[] | Yes |
AgentDefinition
Agent definition for session creation
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
instructions | string | Yes | |
tools | string[] | Yes | |
model | { claude: string; } | Yes |
AgentInfo
Agent information from TeamMember
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
teamMemberId | string | Yes | |
name | string | Yes | |
agentDefinition | string | Yes | |
sessionId | string | undefined | No | |
status | AgentStatus | Yes | |
lastHeartbeat | string | undefined | No | |
reportsTo | string | undefined | No |
TaskAssignment
Task assignment from FlowState
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
taskId | string | Yes | |
title | string | Yes | |
description | string | undefined | No | |
assignedAgent | string | Yes | |
milestoneId | string | undefined | No | |
projectId | string | undefined | No | |
status | string | Yes | |
claimedAt | string | undefined | No |
TaskDispatchMessage
Message sent to OpenClaw session
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
type | "task_assignment" | Yes | |
taskId | string | Yes | |
title | string | Yes | |
description | string | undefined | No | |
context | { milestoneId?: string; projectId?: string; orgId: string; } | Yes |
CreateSessionRequest
OpenClaw session creation request
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
agentName | string | Yes | |
systemPrompt | string | Yes | |
tools | string[] | Yes | |
model | string | Yes |
SessionResponse
OpenClaw session response
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | |
status | "active" | "stopped" | "error" | Yes |
LifecycleResult
Result of lifecycle operation
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
agentName | string | Yes | |
teamMemberId | string | Yes | |
action | "stopped" | "started" | "restarted" | "failed" | Yes | |
sessionId | string | undefined | No | |
error | string | undefined | No |
DispatchResult
Result of task dispatch
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
taskId | string | Yes | |
agentName | string | Yes | |
success | boolean | Yes | |
error | string | undefined | No |