> ## 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.

# Get lookalikes

> Read the lookalike page URLs of a Discovery Agent

Returns the lookalike page URLs saved on a Discovery Agent. Lookalikes are example pages that look like the partners you want. They are separate from competitor URLs and do not count as a search source. Requires the `read:discovery` permission.

## Path Parameters

**id** `string` *required*

Agent ID.

## Response

**success** `boolean`

`true` when the request succeeds.

**data** `object`

Lookalike URLs.

**Data fields**

**agent\_id** `string`

Agent ID.

**lookalikes** `string[]`

Saved lookalike page URLs, oldest first.

## Errors

* **404** `NOT_FOUND`: no agent with this ID exists, or the agent was deleted. The message is `Discovery agent not found`.
* **403** `FORBIDDEN`: the agent belongs to another team. The message is `Discovery agent does not belong to your team`.
* **403** `INSUFFICIENT_PERMISSIONS`: the API key does not have the `read:discovery` permission.

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

```json Response theme={null}
{
  "success": true,
  "data": {
    "agent_id": "cmn4agt0001xk92hf6d0abcd",
    "lookalikes": ["https://example.net/best-newsletter-tools"]
  }
}
```


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