Cancel a Dream changedapi/beta/dreams/cancel
Nearest release: v2.1.283, published 3 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+9added
Lines−11removed
From line
151
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits12to this page, all time
The whole hunk
from line 151, old and new numbered
/
from line 151
151151
152152 - `archived_at: string or null`
153153
154 A timestamp in RFC 3339 format
154 When the dream was archived, in RFC 3339, or `null` if it hasn't been archived.
155155
156156 format: date-time
157157
158158 - `created_at: string`
159159
160 A timestamp in RFC 3339 format
160 When the dream was created, in RFC 3339.
161161
162 Lists of dreams are sorted by this time, newest first.
163
162164 format: date-time
163165
164166 - `ended_at: string or null`
165167
166 A timestamp in RFC 3339 format
168 When the dream reached `completed`, `failed`, or `canceled`, in RFC 3339, or `null` if it is still `pending` or `running`.
167169
168170 format: date-time
169171
170172 - `error: BetaDreamError or null`
171173
172 Failure detail for a Dream whose `status` is `failed`.
174 Why the dream failed, or `null` if `status` isn't `failed`.
173175
174176 - `type: string`
175177
from line 235
233235
234236 - `speed: optional "standard" or "fast"`
235237
236 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time.
238 How fast the model generates output for the dream. Always `standard`.
237239
238240 - `"standard"`
239241
from line 243
241243
242244 - `output_behavior: BetaOutputBehavior`
243245
244 Which memory store a dream writes its result to. Defaults to `create_new` when left out of a create request.
246 Where the dream writes its result, as set in the request that created the dream. If that request left out `output_behavior`, the dream used the `create_new` behavior.
245247
246248 - `BetaOutputBehaviorCreateNew object`
247249
from line 329
327329
328330 - `usage: BetaDreamUsage`
329331
330 The tokens that a dream has used so far.
331
332 The counts are zero while the dream is `pending` and update while it is `running`. They can keep changing after a cancel.
333
334 See the [Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams#billing) for how dreams are billed. See the [prompt caching guide](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#tracking-cache-performance) for how the input token counts add up.
332 The dream's token counts, which stop changing once its `status` is `completed` or `failed`. After a cancel, they can keep changing.
335333
336334 - `cache_creation_input_tokens: number`
337335
No line in this hunk matches that.