Suggestion

List suggestions

List all suggestions for an action item.

get/action_item/{id}/suggestions

Path parameters

idstring required

The action item ID.

Response

A paginated list of suggestions.

Example response

{
  "results": [
    {
      "id": "sUg123AbCdEf",
      "slug": "update-dockerfile-base-image",
      "action_item_id": "xYz789AbCdEf",
      "status": "pending",
      "created_by": "security-scanner-agent",
      "owner": "image-updater-agent",
      "confidence": 0.92,
      "description": "Update the Dockerfile base image to resolve CVE-2026-1234.",
      "metadata": {
        "repository": "org/my-api-service",
        "branch": "fix/cve-2026-1234"
      },
      "user_metadata": {
        "target_version": "20-alpine3.19"
      },
      "execution_result": {
        "success": true,
        "message": "Base image updated successfully.",
        "details": {
          "pull_request": "https://github.com/org/my-api-service/pull/42"
        }
      },
      "expires_at": "2026-05-15",
      "created_at": "2026-04-06T12:30:00.000Z",
      "updated_at": "2026-04-06T12:30:00.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "total": 42
  }
}

Changes

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