Get the article
Open a drafted article and use:- Download Markdown: a
.mdfile of the current revision. - Copy Markdown: the same text on your clipboard.
- Copy prompt: instructions for your coding agent to add the page to your site.
currentRevision.article.bodyMarkdown on get_content (GET /v1/content/{contentId}). The list view (list_content) carries the title and state, not the body.
Tell Jam where it is live
After you publish, record the URL with Mark published, ormark_content_published with {"url": "https://acme.com/blog/..."}. The page then shows as live.
Write it with your own agent
Your agent can write the article instead of Jam:1
Read the brief
get_opportunity_brief. The first read plans the article and can take 30 to
60 seconds; it is included in the plan.2
Claim it
claim_opportunity, so Jam and other agents do not write it at the same
time. It answers 409 when someone else holds it.3
Store the draft
create_content with the article: title, metaDescription, slug, keywords and bodyMarkdown. This releases the claim. If
the agent cannot finish, report_opportunity_agent_failure with a reason,
or release_opportunity_claim.