Update Refresh Config

Update the per-document auto-refresh state. Only meaningful for url-sourced documents; file and text rows reject the request.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

idstringRequired
docIdstringRequired

Request

This endpoint expects an object.
enabledbooleanOptional
interval_daysintegerOptional
auto_remove_enabledbooleanOptional

Response

The updated refresh config.
enabledboolean
interval_daysinteger
auto_remove_enabledboolean
last_refreshed_atdatetime or null
consecutive_fetch_failuresinteger

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error