apiDeterministic
Get reply drafting settings
GET /api/agents/reply-drafting
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
REST requestbash
curl -X GET "https://app.pipeline.help/api/agents/reply-drafting" \-H "Authorization: Bearer $PIPELINE_API_KEY"
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}
HTTP errors
- 401
- Missing or invalid API key.
- 403
- Authenticated but not permitted for the workspace or resource.
- 404
- The requested resource was not found.