> ## Documentation Index
> Fetch the complete documentation index at: https://docs.affonso.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List matches

> List the prospects a Discovery Agent delivered

Returns the prospects (matches) a Discovery Agent delivered, newest first. Only delivered matches are visible. Requires the `read:discovery` permission.

Filter by review decision or by the same buckets the dashboard feed uses:

| Bucket | Matches |
| - | - |
| `new` | Not reviewed yet, with status `discovered`, `qualified`, or `awaiting_approval` |
| `approved` | Approved, with status `approved`, `contact_enriching`, `outreach_ready`, or `contact_not_found` |
| `rejected` | Rejected |
| `contacted` | Status `contacted` |
| `won` | Status `won` |

When you send both `review_decision` and `bucket`, `review_decision` decides the review filter and the bucket still limits the status.

## Path Parameters

**id** `string` *required*

Agent ID.

## Query Parameters

**page** `integer` (default: 1)

Page number, starting at 1.

**limit** `integer` (default: 20)

Number of results per page, from 1 to 100.

**review\_decision** `string`

Filter by review decision: `none` (not reviewed), `accepted`, or `rejected`.

**bucket** `string`

Filter by feed bucket: `new`, `approved`, `rejected`, `contacted`, or `won`.

**delivery\_state** `string`

Deprecated. Accepts `pending_email`, `delivered`, or `all`, but every value returns delivered matches only.

## Response

**success** `boolean`

`true` when the request succeeds.

**data** `array`

Delivered matches.

**Match fields**

**id** `string`

Match ID. Use it with [Get a match](https://docs.affonso.io/api/endpoint/discovery/get-match.md) and [Review a match](https://docs.affonso.io/api/endpoint/discovery/review-match.md).

**prospect\_domain** `string`

Domain of the prospect.

**prospect\_name** `string | null`

Name of the prospect, when known.

**fit\_score** `number | null`

How well the prospect fits the agent brief.

**review\_decision** `string | null`

`accepted`, `rejected`, or `null` when not reviewed.

**status** `string`

Workflow status: `discovered`, `qualified`, `awaiting_approval`, `approved`, `contact_enriching`, `outreach_ready`, `contacted`, `won`, `rejected`, `discarded`, or `contact_not_found`.

**contact\_status** `string | null`

Contact lookup state: `enriching`, `ready` (an email address was found), `not_found`, or `null` when no lookup applies, for example before approval or after a rejection.

**delivery\_state** `string`

Always `delivered`.

**created\_at** `string`

ISO 8601 timestamp.

**pagination** `object`

Pagination details for the current page.

**Pagination fields**

**page** `integer`

Current page number.

**limit** `integer`

Results per page.

**total** `integer`

Total number of matching results.

**total\_pages** `integer`

Total number of pages.

**has\_next\_page** `boolean`

Whether a next page exists.

**has\_prev\_page** `boolean`

Whether a previous page exists.

## Errors

* **400** `VALIDATION_ERROR`: a query parameter is invalid. The message is `Invalid request` and `details` lists the invalid fields.
* **404** `NOT_FOUND`: no agent with this ID exists for your team, or the agent was deleted. An agent that belongs to another team also returns `404`. The message is `Discovery agent not found`.
* **403** `INSUFFICIENT_PERMISSIONS`: the API key does not have the `read:discovery` permission.

```bash cURL New matches theme={null}
curl "https://api.affonso.io/v1/discovery/agents/cmn4agt0001xk92hf6d0abcd/matches?bucket=new&limit=20" \
  -H "Authorization: Bearer sk_live_your_api_key"
```

```bash cURL Approved theme={null}
curl "https://api.affonso.io/v1/discovery/agents/cmn4agt0001xk92hf6d0abcd/matches?review_decision=accepted" \
  -H "Authorization: Bearer sk_live_your_api_key"
```

```json Response theme={null}
{
  "success": true,
  "data": [
    {
      "id": "cmn4mat0001xk92hf6d0abcd",
      "prospect_domain": "example.net",
      "prospect_name": "Example Net Reviews",
      "fit_score": 12.5,
      "review_decision": null,
      "status": "qualified",
      "contact_status": null,
      "delivery_state": "delivered",
      "created_at": "2026-11-03T07:00:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1,
    "total_pages": 1,
    "has_next_page": false,
    "has_prev_page": false
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.