Create an Artifact
create_artifactPublish an HTML page or a Markdown document as a Bisque Artifact: a persistent, versioned page at a stable URL that people can open, comment on, and that you can update later with update_artifact. Pass the whole document as content. The call waits for the page to be ready and returns its URL. It is private to you unless you pass audience or share_with. For a narrated presentation use create_presentation instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | An emoji for the tab and listing, e.g. ๐. | |
| type | No | Default html. | |
| title | Yes | A short name, the way a document or app is named. | |
| listed | No | Show it in listings (the org library, public discovery) rather than link-only. Default false. | |
| content | Yes | The full document. For html: a complete page (styles and scripts inline; it runs in a sandboxed frame with no network). For markdown: the Markdown source. | |
| audience | No | Who can open the link. owner: only you. users: the people in share_with. public: anyone with the link. | |
| share_with | No | People to grant access by email (or uid), with a role. [{ "email": "ana@acme.com", "role": "viewer" }]. viewer opens it; editor can also publish new content. Implies audience "users" when audience is omitted. | |
| description | No | One sentence saying what the page is; shown in listings. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The viewer page. | |
| icon | No | ||
| type | Yes | ||
| title | Yes | ||
| group_id | No | ||
| created_at | No | ||
| updated_at | No | ||
| version_id | Yes | The Version this call authored. | |
| artifact_id | Yes | ||
| description | No | ||
| audience_mode | Yes | Who can open it: owner, users, org, or public. | |
| version_number | No | ||
| discoverability | Yes | ||
| organization_id | No | ||
| latest_version_id | No | ||
| publication_error | No | ||
| publication_status | Yes | ready means the URL serves this content now. queued or processing means it is still being prepared; call get_artifact to check. failed carries publication_error. | |
| viewer_version_mode | No | ||
| published_version_id | Yes | The Version viewers see; null until a publication is ready. |