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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | A document id. |
Responses
| Status | Description |
|---|---|
202 | Accepted. The work happens in the background. |
401 | The bearer token is missing, revoked, or expired. |
404 | Not one of yours, or not there at all. |
429 | Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits. |
202 body
| Field | Type | Required | Description |
|---|---|---|---|
ok | boolean | No |
Example request
curl -X POST https://api.median.sh/v1/knowledge/documents/id/retry \
-H "Authorization: Bearer $BEARER_AUTH"