POST /knowledge/sync
Updated Oct 1, 20261 minute read
Sync external sources
Everything external, refreshed on demand: every connected repository gets a sync, every Notion import gets pulled again. Answers how many of each it set in motion.
Part of Knowledge.
Responses
| Status | Description |
|---|---|
202 | What was set in motion. |
401 | The bearer token is missing, revoked, or expired. |
403 | The token's person does not hold the role this needs. |
429 | Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits. |
202 body
| Field | Type | Required | Description |
|---|---|---|---|
repos | integer | No | |
pages | integer | No |
Example request
curl -X POST https://api.median.sh/v1/knowledge/sync \
-H "Authorization: Bearer $BEARER_AUTH"