# Take a fresh snapshot and check the link is still reachable

`POST /datasources/{id}/refresh` · Rivier · hosting

Take a fresh snapshot and check the link is still reachable.

- Scope: hosting:write
- Sdk: hosting.dataSource.refresh
- Cli: hosting data source refresh

## Parameters

- `id` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/datasources/{id}/refresh' \
  -H 'Authorization: Bearer $KEY'
```
