Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Get content source

GEThttps://api.butterix.com/v1/sites/:site/sources/:id

Authentication

AuthorizationBearer

An organization API key, created in the console under Organization settings → API Keys, starting with biti_. It acts as editor and can't do anything that requires admin.

biti_sessionstring

The HttpOnly session cookie set on login. Requests that change data must be same-origin (the Origin header is checked) to prevent CSRF.

Path parameters

sitestringRequired

Site slug or id

idstringRequired

Content source id

Response

Content source with its pages
idstringOptional
kindenumOptional
Allowed values:
titlestringOptional
urlstringOptional
configobjectOptional

Fetch settings, website only

pathslist of stringsOptional
excludelist of stringsOptional
maxPagesintegerOptional
refreshenumOptional
Allowed values:
statusenumOptional
Allowed values:
errorstringOptional

Why the last fetch failed

pageCountintegerOptional
createdAtintegerOptional
refreshedAtinteger or nullOptional

When the content was last updated

nextAtinteger or nullOptional

When it's fetched next

pageslist of objectsOptional

Pages, 500 at most; not in lists

urlstringOptional
titlestringOptional
sizeintegerOptional

Number of characters of text

documentstringOptional

Markdown content, document only; not in lists

Errors