Skip to main content
An artifact is a single, self-contained web page built from what a space holds: an overview of a project, a summary of decisions, a status page. You ask for it in plain language, it is built in the background, and you share it through a stable link. Every artifact starts private. Its creator can share it with everyone who can read the space, and the space owner can make it public to anyone with the link. An artifact is a snapshot. Deleting a memory later does not change pages already built.

Create an artifact

Response 202 Accepted
Building takes from several seconds to a few minutes. Poll Get an artifact until status is completed or failed. Creating an artifact needs write access to the space; read-only members receive 403 space_read_only. You can have one artifact building per space at a time.

Cost

An artifact is billed in credits for the tokens used to build it, plus a flat surcharge per page. Before anything is queued, the request is checked against the most it could cost; if your balance is below that, it is refused with 429 credits_exhausted and a message naming the amount. A failed build is not charged.

List artifacts

Returns {"items": [...]}, newest first, at most 50. You see your own artifacts and those shared with the space or made public. The space owner sees all of them, private ones included, so any link built from the space can be found and withdrawn.

Get an artifact

Returns the artifact in the shape shown above.

Change sharing

The creator and the space owner can change sharing. Sharing with the space needs write access to it. Making an artifact public needs the space owner’s authority; anyone else receives 403 space_owner_only. Returns the updated artifact.

Delete an artifact

Deletes the artifact and its page; the link stops working at once. Allowed for the creator and the space owner. Returns 204 No Content. Deleting a space deletes its artifacts too, public ones included: their links stop working at once, and any still building are cancelled without charge. Deleting an artifact that is still building cancels the build: it disappears at once, nothing is charged for it, and it still counts toward the hourly limit.

Open an artifact

This is the access check behind the link. Authentication is optional: a public artifact opens for anyone. Response 200 OK
Anyone else who can open the page, including a signed-out visitor to a public link, gets null for these three fields: a link never reveals which space it came from or how it is shared.

API keys

Every route above accepts an API key as well as a dashboard session. An API key acts as the member it belongs to: it has that member’s access to each space, their role, and their authority, and the artifacts it creates are theirs. A key can do exactly what its member can do in the dashboard, and no more.

Errors

A failed build reports one of these in error_code: A failed build is not charged.