Dreams
Create a Dream
client.beta.dreams.create(DreamCreateParamsparams, RequestOptionsoptions?): BetaDreamList Dreams
client.beta.dreams.list(DreamListParamsparams?, RequestOptionsoptions?): PageCursor<BetaDream>Get a Dream
client.beta.dreams.retrieve(stringdreamID, DreamRetrieveParamsparams?, RequestOptionsoptions?): BetaDreamCancel a Dream
client.beta.dreams.cancel(stringdreamID, DreamCancelParamsparams?, RequestOptionsoptions?): BetaDreamArchive a Dream
client.beta.dreams.archive(stringdreamID, DreamArchiveParamsparams?, RequestOptionsoptions?): BetaDreamModels
An asynchronous memory-consolidation job that reads a memory store plus a set of session transcripts and writes consolidated memories into an output memory store — a new store by default, or an existing store chosen via output_behavior. The Dreams API is in research preview: the request and response shapes are volatile and may change without the deprecation period that applies to generally-available endpoints.
An asynchronous memory-consolidation job that reads a memory store plus a set of session transcripts and writes consolidated memories into an output memory store — a new store by default, or an existing store chosen via output_behavior. The Dreams API is in research preview: the request and response shapes are volatile and may change without the deprecation period that applies to generally-available endpoints.
BetaDreamInput = BetaDreamMemoryStoreInput { memory_store_id, type } | BetaDreamSessionsInput { session_ids, type }An input memory store the dream reads from. The dream never mutates this store unless it is also the destination: with output_behavior {type: "update_existing"} the job consolidates this store in place.
An input memory store the dream reads from. The dream never mutates this store unless it is also the destination: with output_behavior {type: "update_existing"} the job consolidates this store in place.
BetaOutputBehavior = BetaOutputBehaviorCreateNew { type } | BetaOutputBehaviorUpdateExisting { memory_store_id, type }The default destination: the job creates a new output memory store as a clone of the memory_store input and writes the consolidated memories into it. The input store is never mutated.
The default destination: the job creates a new output memory store as a clone of the memory_store input and writes the consolidated memories into it. The input store is never mutated.