# End the LinkedIn half of a search read in the user's browser

Tells HireSweep the browser has read every ticked Target's LinkedIn search it is going to (or stopped, with stopped set). The run ends once its other half, the companies' job boards, has ended too: done, with its credit spent when it found at least one job and handed back when it found none; or failed when stopped is set and it found no job. Calling it again, or on a run that is not searching or whose browser half is not pending, changes nothing. HireSweep never requests LinkedIn. LinkedIn is read only from Discover in the web app, in your own browser. Requires authentication.

```http
POST https://hiresweep.com/api/openapi/discovery/runs/{id}/browser-search/finish
x-api-key: YOUR_API_KEY
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | Yes |  |

## Request body

```json
{
  "type": "object",
  "properties": {
    "clientId": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "The client whose data this is, for an operator applying on behalf of clients. Omit for your own."
    },
    "stopped": {
      "type": "boolean",
      "description": "True when the browser read stopped before every Target was read; a run that found nothing then fails."
    }
  }
}
```

## Responses

- `200`: The run, ended or still waiting on its job boards.
