curl "https://api.affonso.io/v1/discovery/agents/cmn4agt0001xk92hf6d0abcd/hard-list?subject_kind=domain" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"data": [
{
"id": "cmn4hrd0001xk92hf6d0abcd",
"agent_id": "cmn4agt0001xk92hf6d0abcd",
"subject_kind": "domain",
"subject_key": "example.net",
"match_id": "cmn4mat0002xk92hf6d0abcd",
"reason": "Irrelevant to the brief",
"created_at": "2026-11-04T10:00:00.000Z",
"updated_at": "2026-11-04T10:00:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"total_pages": 1,
"has_next_page": false,
"has_prev_page": false
}
}
Hard List and Exclusions
List hard list
List the domains and creators a Discovery Agent no longer delivers
GET
/
v1
/
discovery
/
agents
/
{id}
/
hard-list
curl "https://api.affonso.io/v1/discovery/agents/cmn4agt0001xk92hf6d0abcd/hard-list?subject_kind=domain" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"data": [
{
"id": "cmn4hrd0001xk92hf6d0abcd",
"agent_id": "cmn4agt0001xk92hf6d0abcd",
"subject_kind": "domain",
"subject_key": "example.net",
"match_id": "cmn4mat0002xk92hf6d0abcd",
"reason": "Irrelevant to the brief",
"created_at": "2026-11-04T10:00:00.000Z",
"updated_at": "2026-11-04T10:00:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"total_pages": 1,
"has_next_page": false,
"has_prev_page": false
}
}
Returns the domains and creators blocked for a Discovery Agent, newest first. An item is added when you reject a match and removed when you approve a match for the same domain or creator. Read-only. Does not add or remove items or start a search. Requires the
read:discovery permission.
Path Parameters
Query Parameters
Response
Hard-list items.
Errors
- 400
VALIDATION_ERROR: a query parameter is invalid. The message isInvalid requestanddetailslists the invalid fields. - 404
NOT_FOUND: no agent with this ID exists, or the agent was deleted. The message isDiscovery agent not found. - 403
FORBIDDEN: the agent belongs to another team. The message isDiscovery agent does not belong to your team. - 403
INSUFFICIENT_PERMISSIONS: the API key does not have theread:discoverypermission.
curl "https://api.affonso.io/v1/discovery/agents/cmn4agt0001xk92hf6d0abcd/hard-list?subject_kind=domain" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"data": [
{
"id": "cmn4hrd0001xk92hf6d0abcd",
"agent_id": "cmn4agt0001xk92hf6d0abcd",
"subject_kind": "domain",
"subject_key": "example.net",
"match_id": "cmn4mat0002xk92hf6d0abcd",
"reason": "Irrelevant to the brief",
"created_at": "2026-11-04T10:00:00.000Z",
"updated_at": "2026-11-04T10:00:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"total_pages": 1,
"has_next_page": false,
"has_prev_page": false
}
}
Was this page helpful?
