Background Tasks
Put task artifact
Creates or updates the markdown artifact mirror. Updates require the current artifact revision; creation can omit revision or send revision 0.
put/v1/background-tasks/{slug}/artifact
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/background-tasks/{slug}/artifact
- Auth: HTTP bearer
Path parameters
slugstring required
Task slug.
Example:daily-summary
Background task slug, matching bg-tasks/<slug> locally.
Request body
Example request
{
"body": "# Daily Account Summary\n\nUpdated context.",
"revision": 2
}Response
Saved task artifact.
Example response
{
"body": "# Daily Account Summary\n\nContext.",
"revision": 2,
"slug": "daily-summary",
"updatedAt": "2026-06-04T20:39:00Z"
}Changes
No recorded changes to this operation across all 50 revisions of this API.