Edit source
Edit a source’s title, URL, text, custom instructions, or saved flag. Title, instructions, and saved are free metadata edits. A new text body for a text source is stored verbatim as its extraction (free). A changed URL resets the source to pending and re-runs extraction asynchronously, debiting credits in the worker exactly like createSource; it returns 409 while the source is still ingesting.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.
Content source id (UUID), as returned by the create source and list sources endpoints.
Body
New display title; null or an empty string clears it. Omit to leave it unchanged.
"Smart Cub blog: Kent test practice papers"
New URL for a URL-backed source (article, youtube, tiktok, or a by-URL audio/pdf). A changed URL resets the source to pending and re-runs extraction, which debits credits like createSource. Rejected while the source is still ingesting.
"https://example.com/blog/launch-post"
New body for a text source. Stored verbatim and becomes its extracted text; free.
New extraction guidance; null or an empty string clears it. Applies to the next extraction.
Keep the source permanently (true) or leave it as a retention candidate (false).
Response
Success
text, article, youtube, tiktok, audio, pdf pending, extracting, ready, failed, skipped_insufficient_credits How many posts have been created from this source (derived from post-from-source provenance, never a stored counter). List with sortBy=usedCount&sortOrder=asc to claim the least-used source first and keep content ideas fresh.
0
When a post was last created from this source (ISO timestamp); null when the source has never been used.