---
title: "Refresh discovery"
method: POST
path: "/v1/discovery/refresh"
tags: ["Discovery"]
---

# Refresh discovery

`POST /v1/discovery/refresh`

Use this endpoint to force an immediate sync with the Fetcher service, updating the list of connections and their schemas.

## Headers

- `X-Request-Id` string

## Response `200`

Refresh result

- RefreshDiscoveryResponse — Result of a discovery refresh operation
  - `connectionsSynced` integer — Number of connections synced during the refresh

## Other responses

- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `409` — A refresh is already in progress
- `500` — An unexpected error occurred on the server.
- `503` — Fetcher service is unavailable

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/versions/25daba385532/schema)
