curl "https://api.affonso.io/v1/discovery/exclusion-proposals/cmn4exc0001xk92hf6d0abcd" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"data": {
"id": "cmn4exc0001xk92hf6d0abcd",
"agent_id": "cmn4agt0001xk92hf6d0abcd",
"kind": "host",
"value": "example.net",
"reason": "Several rejected matches came from this host.",
"status": "proposed",
"evidence": null,
"proposed_at": "2026-11-09T08:00:00.000Z",
"created_at": "2026-11-09T08:00:00.000Z",
"updated_at": "2026-11-09T08:00:00.000Z"
}
}
Hard List and Exclusions
Get exclusion proposal
Retrieve one Discovery exclusion proposal
GET
/
v1
/
discovery
/
exclusion-proposals
/
{id}
curl "https://api.affonso.io/v1/discovery/exclusion-proposals/cmn4exc0001xk92hf6d0abcd" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"data": {
"id": "cmn4exc0001xk92hf6d0abcd",
"agent_id": "cmn4agt0001xk92hf6d0abcd",
"kind": "host",
"value": "example.net",
"reason": "Several rejected matches came from this host.",
"status": "proposed",
"evidence": null,
"proposed_at": "2026-11-09T08:00:00.000Z",
"created_at": "2026-11-09T08:00:00.000Z",
"updated_at": "2026-11-09T08:00:00.000Z"
}
}
Returns one weekly exclusion proposal. Read-only. Does not accept or dismiss it. Requires the
read:discovery permission.
Path Parameters
Proposal ID from List exclusion proposals.
Response
The exclusion proposal.
Show Proposal fields
Show Proposal fields
Errors
- 404
NOT_FOUND: no proposal with this ID exists. The message isDiscovery exclusion proposal not found. - 403
FORBIDDEN: the proposal belongs to another team. The message isDiscovery exclusion proposal does not belong to your team. - 403
INSUFFICIENT_PERMISSIONS: the API key does not have theread:discoverypermission.
curl "https://api.affonso.io/v1/discovery/exclusion-proposals/cmn4exc0001xk92hf6d0abcd" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"data": {
"id": "cmn4exc0001xk92hf6d0abcd",
"agent_id": "cmn4agt0001xk92hf6d0abcd",
"kind": "host",
"value": "example.net",
"reason": "Several rejected matches came from this host.",
"status": "proposed",
"evidence": null,
"proposed_at": "2026-11-09T08:00:00.000Z",
"created_at": "2026-11-09T08:00:00.000Z",
"updated_at": "2026-11-09T08:00:00.000Z"
}
}
Was this page helpful?
