cliDeterministic
List pending approvals
pipeline list-pending-approvals
List human-input items awaiting approval across the workspace: draft sends, drafted replies, push events, and Agent Teams human-input cards. Returns four arrays: drafts, replies, pushEvents, humanInputs.
Parameters
workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
Example
CLI commandbash
pipeline list-pending-approvals
Response
Success response schemajson schema
{"type": "object","properties": {"drafts": {"type": "array","items": {"type": "object"}},"replies": {"type": "array","items": {"type": "object"}},"pushEvents": {"type": "array","items": {"type": "object"}},"humanInputs": {"type": "array","items": {"type": "object"}}},"required": ["drafts","replies","pushEvents","humanInputs"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.