Median

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

StatusDescription
202What was set in motion.
401The bearer token is missing, revoked, or expired.
403The token's person does not hold the role this needs.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

202 body

FieldTypeRequiredDescription
reposintegerNo
pagesintegerNo

Example request

curl -X POST https://api.median.sh/v1/knowledge/sync \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc