Create or update a content source
Send configId to change an existing source, or omit it to create one — a configId that matches no source of this knowledge base is refused, never created under the id you sent. Every field is optional and an omitted one keeps what is stored. maxAgeMs is the exception worth reading: omit it to keep the current freshness window, send null to restore the crawler’s default, send a number of milliseconds to apply it — 0 forces a full re-crawl on the next run.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Knowledge base to operate on. Get the ids from listMyKnowledgeBases.
Body
What to change on a content source, or the source to create.
Source to change, as returned by listContentSources. Omit to create a new one — the id is assigned then and comes back in the response.
"6683f1c2a4b19e0012ab34cd"
A disabled source stays configured but is not crawled. Defaults to true on a new source.
true
Where the crawl starts.
"https://ajuda.acme.com"
When the crawl runs, as a cron expression. Leave empty to run it only on demand.
"0 0 3 * * *"
Hosts the crawl may follow links into. Comma-separated.
"ajuda.acme.com"
Only crawl paths matching this. Leave empty for the whole site.
"/artigos"
Paths to never crawl, even when they match pathFilter.
"/artigos/rascunhos"
Tag to apply to every entry this source imports.
"ajuda"
Topic to group every entry this source imports under.
"Autoatendimento"
Crawler to run this source on. Defaults to FIRECRAWL on a new source.
SCRAPY, FIRECRAWL, CLOUDCHAT How old a previously fetched page may be before it is fetched again, in milliseconds. Omit to keep the current setting, send null to restore the crawler's default, send 0 to force a full re-crawl.
86400000
Languages to keep when the site publishes several.
Languages to keep when the site publishes several.
Response
Every source of this knowledge base, as stored after the change.
Where the crawl starts.
"https://ajuda.acme.com"
When the crawl runs, as a cron expression. Empty means it only runs on demand.
"0 0 3 * * *"
Hosts the crawl may follow links into. Comma-separated.
"ajuda.acme.com"
Only paths matching this are crawled. Empty means the whole site.
"/artigos"
Paths never crawled, even when they match pathFilter.
"/artigos/rascunhos"
Tag applied to every entry this source imports.
"ajuda"
Crawler this source runs on.
SCRAPY, FIRECRAWL, CLOUDCHAT When the source was configured (ISO-8601).
"2026-08-10T14:32:05"
Use this id to update or delete this source.
"6683f1c2a4b19e0012ab34cd"
A disabled source stays configured but is not crawled.
true
Topic every entry this source imports is grouped under.
"Autoatendimento"
How old a previously fetched page may be before it is fetched again, in milliseconds. Absent means the crawler's own default.
86400000
Languages to keep when the site publishes several.
Languages to keep when the site publishes several.
When it last changed (ISO-8601). Absent until the first change.
"2026-08-10T18:20:41"