Dreams
Create a Dream
$client->beta->dreams->create(list<BetaDreamInput> inputs, Model model, ?string instructions, ?BetaOutputBehavior outputBehavior, ?list<AnthropicBeta> betas, ?string workspaceID): BetaDreamPOST/v1/dreams
Requires
anthropic-beta: dreaming-2026-04-21. How to send beta headersStart an asynchronous job that uses past sessions to produce a reorganized version of a memory store and get back the dream to poll for the result.
List Dreams
$client->beta->dreams->list(?\Datetime createdAtGt, ?\Datetime createdAtLt, ?bool includeArchived, ?int limit, ?string page, ?list<BetaDreamStatus> statuses, ?list<AnthropicBeta> betas, ?string workspaceID): PageCursor<BetaDream>GET/v1/dreams
Requires
anthropic-beta: dreaming-2026-04-21. How to send beta headersList the dreams in the workspace, newest first.
Get a Dream
$client->beta->dreams->retrieve(string dreamID, ?list<AnthropicBeta> betas, ?string workspaceID): BetaDreamGET/v1/dreams/{dream_id}
Requires
anthropic-beta: dreaming-2026-04-21. How to send beta headersGet a dream by ID to check its status, output memory store, and token usage.
Cancel a Dream
$client->beta->dreams->cancel(string dreamID, ?list<AnthropicBeta> betas, ?string workspaceID): BetaDreamPOST/v1/dreams/{dream_id}/cancel
Requires
anthropic-beta: dreaming-2026-04-21. How to send beta headersStop a pending or running dream.
Archive a Dream
$client->beta->dreams->archive(string dreamID, ?list<AnthropicBeta> betas, ?string workspaceID): BetaDreamPOST/v1/dreams/{dream_id}/archive
Requires
anthropic-beta: dreaming-2026-04-21. How to send beta headersHide a completed, failed, or canceled dream from the default list of dreams.