Skip to Content
Docs

Edit a source's behavior config

PATCH
/api/sources/{source_id}/config

Edit a source's behavior config. Retrieval-time fields take effect live; chunking changes require an explicit re-ingest (surfaced as requires_reingest). A section the body leaves out (chunking, retrieval, graph) keeps its saved value, so a body with only retrieval saves just that.

Personal access token scope: sources:write.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Path Parameters

source_id*string

Request Body

application/json
  1. body
chunking?

Ingest-time chunking config

kind?string

Behavior selector (e.g. classic)

retrieval?

Query-time retrieval config

Response Body

Success

Example Request
curl -X PATCH 'http://localhost:7091/api/sources/string/config' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
Empty