POST
TypeScript client

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

teamId
string
required

Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.

sourceId
string
required

Content source id (UUID), as returned by the create source and list sources endpoints.

Response

Success

id
string
required
teamId
string
required
sourceType
enum<string>
required
Available options:
text,
article,
youtube,
tiktok,
audio,
pdf,
skill
title
string | null
required
status
enum<string>
required
Available options:
pending,
extracting,
ready,
failed,
skipped_insufficient_credits
statusError
string | null
required
saved
boolean
required
usedCount
number
required

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.

Example:

0

lastUsedAt
string | null
required

When a post was last created from this source (ISO timestamp); null when the source has never been used.

createdAt
string
required
updatedAt
string
required