v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-261319281.7 MB

Cancel a Dream

post/v1/dreams/{dream_id}/cancel?beta=true

Path parameters

dream_idstring required

Path parameter dream_id

Headers

anthropic-versionstring
anthropic-betastring

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