Artifact creation, storage, and sharing — compose.casa
Pass your API key via header:
X-Compose-Key: ck_xxxxxxxxxxxx
Or Bearer token:
Authorization: Bearer ck_xxxxxxxxxxxx
/api/createCreate a new artifact.
{
"content": "# Hello World",
"title": "My Document",
"content_type": "text/markdown",
"metadata": {}
}
Returns: { "id": "abc12345", "url": "https://compose.casa/v/abc12345" }
/api/{id}Retrieve an artifact by ID. Returns full content, metadata, and version info.
/api/{id}Update an artifact. Creates a new version. Body same as create.
/api/{id}/versionsList all versions of an artifact.
/api/listList recent artifacts. Query: ?limit=20
/api/keysList API keys for the authenticated user (admin sees all).
/api/keysCreate a new API key (admin only).
{ "tier": "free", "owner": "user@example.com" }
/api/keys/{key}Revoke an API key (admin only).
/api/og/{id}Dynamic OG image (SVG) for social sharing previews.
/api/healthHealth check. Returns { "status": "ok" }
| Path | Description |
|---|---|
/v/{id} | Rendered viewer with metadata |
/raw/{id} | Raw content (plain text) |
/embed/{id} | Embeddable iframe view |
| Tier | Artifacts/day | Max size |
|---|---|---|
| free | 50 | 256 KB |
| pro | 500 | 2 MB |
| enterprise | unlimited | 10 MB |
Compose is available as an MCP tool server:
HTTP: compose.casa/mcp
Stdio: /opt/axecloud-mcp/compose-mcp
Tools: compose, canvas, recall
AXE Technologies — compose.casa