Median

POST /knowledge/documents/{id}/retry

Updated Oct 1, 20261 minute read

Retry indexing

Sends a document with status: "error" back on whichever leg of the trip failed. A no-op for anything else.

Part of Knowledge.

Parameters

NameInTypeRequiredDescription
idpathstringYesA document id.

Responses

StatusDescription
202Accepted. The work happens in the background.
401The bearer token is missing, revoked, or expired.
404Not one of yours, or not there at all.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

202 body

FieldTypeRequiredDescription
okbooleanNo

Example request

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

Still need help?

    Esc