content
Publish Content
Publish a content item.
This endpoint:
- Verifies the content belongs to the workspace
- Calculates credit cost based on mode + content type
- Checks if workspace has sufficient credits
- Deducts credits and updates content status
- Returns the updated content item
If credit deduction fails, the content status remains unchanged.
post/v1/content/{content_id}/publish
Request
- Base URL: https://api.theagentc.io (the document declares no server; this is the origin it was published from)
- URL: https://api.theagentc.io/v1/content/{content_id}/publish
- Auth: HTTP bearer
Path parameters
content_idstring uuid required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.