Approvals

List approvals

Get a list of pending and resolved approvals

get/api/v1/approvals

Request

  • Base URL: http://dobby-ai.com
  • URL: http://dobby-ai.com/api/v1/approvals
  • Auth: HTTP bearer

Query parameters

status'pending' | 'approved' | 'rejected'

Filter by approval status

agent_idstring

Filter by agent

limitinteger

Number of results to return

offsetinteger

Number of results to skip

Response

List of approvals

successboolean

Example response

{
  "success": true,
  "data": [
    {
      "id": "approval_abc123",
      "task_id": "task_xyz",
      "agent_id": "agent_abc123",
      "agent_name": "Backend Developer Agent",
      "action_type": "pr_merge",
      "action_description": "Merge PR #42 to main",
      "status": "pending",
      "priority": "medium"
    }
  ],
  "pagination": {
    "total": 42,
    "limit": 20,
    "has_more": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.