Update an Artifact
update_artifactChange an Artifact you own or edit. Pass content to publish a new Version of the page at the same URL (the whole document, not a diff; earlier Versions stay in the history). Pass title, description, or icon to change those. Any combination in one call. With content the call waits for the new Version to be live before returning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | null clears it. | |
| title | No | ||
| content | No | The complete new document, same type as before. | |
| artifact_id | Yes | The Artifact id (art_…). | |
| description | No | null clears it. |
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 | No | 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 | No | 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. |