> This page is for Ask Sunny.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.sunnyhealthai.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.sunnyhealthai.com/_mcp/server.

# February 9, 2025

## Breaking changes

### Artifacts no longer fetched via REST API

Chat artifacts are no longer fetched via `GET /v1/chat-artifacts/{id}` or `client.getArtifact()`. The WebSocket backend now expands artifact tags just-in-time (JIT) during streaming and delivers artifact content **inline in message text**.

**Migration:**

* Remove any `client.getArtifact(artifactId)` calls
* Parse `message.text` for embedded JSON objects with `item_type` and `item_content`
* The vanilla widget already parses and renders embedded artifacts automatically
* See the [Artifacts](/ask-sunny/artifacts) documentation for parsing examples

## Removed

* `SunnyAgentsClient.getArtifact()` method
* `apiBaseUrl` configuration option (was only used for artifact fetch)
* REST endpoint `/v1/chat-artifacts/{artifactId}`