sdkDeterministic
Get reply drafting settings
pipeline.getReplyDraftingSettings
Read the Reply Agent drafting route and pending/running work. Pipeline uses workspace AI credentials; external_agent waits for an authorized coding agent. This does not change approval or sending permissions.
Parameters
workspaceId
string
Workspace ID for browser sessions. Token requests use their selected workspace.
Example
TypeScripttypescript
await pipeline.getReplyDraftingSettings({})
Response
Success response schemajson schema
{"type": "object","properties": {"mode": {"type": "string","enum": ["pipeline_hosted","external_agent"]},"status": {"type": "string","enum": ["pipeline_hosted","paused","waiting","drafting","setup_required"]},"pendingCount": {"type": "integer","minimum": 0},"runningCount": {"type": "integer","minimum": 0},"legacyScoped": {"type": "boolean"}},"required": ["mode","status","pendingCount","runningCount","legacyScoped"],"additionalProperties": false}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.