Create a Dream

post/v1/dreams?beta=true

Headers

anthropic-versionstring
anthropic-betastring
anthropic-workspace-idstring

Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).

Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

Request body

instructionsstring nullable

Response

Successful response (OK)

type'dream' required
idstring required
status'pending' | 'running' | 'completed' | 'failed' | 'canceled' required

Lifecycle status of a Dream.

created_atstring date-time required

A timestamp in RFC 3339 format

ended_atstring date-time required

A timestamp in RFC 3339 format

archived_atstring date-time required

A timestamp in RFC 3339 format

instructionsstring nullable required
session_idstring nullable required

Changes