curl --request POST \
--url https://api.checkfu.com/v1/dreams \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"memory_store": "<string>",
"session_ids": [
"<string>"
],
"instructions": "<string>",
"model_routing_profile_key": "<string>",
"review": true
}
'import requests
url = "https://api.checkfu.com/v1/dreams"
payload = {
"memory_store": "<string>",
"session_ids": ["<string>"],
"instructions": "<string>",
"model_routing_profile_key": "<string>",
"review": True
}
headers = {
"checkfu-version": "<checkfu-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'checkfu-version': '<checkfu-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
memory_store: '<string>',
session_ids: ['<string>'],
instructions: '<string>',
model_routing_profile_key: '<string>',
review: true
})
};
fetch('https://api.checkfu.com/v1/dreams', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.checkfu.com/v1/dreams",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'memory_store' => '<string>',
'session_ids' => [
'<string>'
],
'instructions' => '<string>',
'model_routing_profile_key' => '<string>',
'review' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"checkfu-version: <checkfu-version>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.checkfu.com/v1/dreams"
payload := strings.NewReader("{\n \"memory_store\": \"<string>\",\n \"session_ids\": [\n \"<string>\"\n ],\n \"instructions\": \"<string>\",\n \"model_routing_profile_key\": \"<string>\",\n \"review\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("checkfu-version", "<checkfu-version>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.checkfu.com/v1/dreams")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"memory_store\": \"<string>\",\n \"session_ids\": [\n \"<string>\"\n ],\n \"instructions\": \"<string>\",\n \"model_routing_profile_key\": \"<string>\",\n \"review\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/dreams")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["checkfu-version"] = '<checkfu-version>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"memory_store\": \"<string>\",\n \"session_ids\": [\n \"<string>\"\n ],\n \"instructions\": \"<string>\",\n \"model_routing_profile_key\": \"<string>\",\n \"review\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"memory_store": "<string>",
"session_ids": [
"<string>"
],
"instructions": "<string>",
"model_routing_profile_key": "<string>",
"review": true,
"status": "pending",
"output_memory_store": "<string>",
"proposal": "<string>",
"curation_run": "<string>",
"error": "input_memory_store_unavailable",
"usage": {
"input_tokens": 1,
"cached_input_tokens": 1,
"cache_write_input_tokens": 1,
"output_tokens": 1,
"reasoning_output_tokens": 1,
"total_tokens": 1
},
"created_at": "<string>",
"ended_at": "<string>",
"archived_at": "<string>",
"version": 1
}{
"error": {
"type": "validation.malformed",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-malformed"
}
}{
"error": {
"type": "auth.invalid_key",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-invalid-key"
}
}{
"error": {
"type": "auth.disabled_tenancy",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-disabled-tenancy"
}
}{
"error": {
"type": "validation.not_found",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-not-found"
}
}{
"error": {
"type": "memory.conflict",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#memory-conflict"
}
}{
"error": {
"type": "model.no_eligible_model",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#model-no-eligible-model"
}
}{
"error": {
"type": "budget.exceeded",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#budget-exceeded"
}
}{
"error": {
"type": "runtime.internal",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#runtime-internal"
}
}{
"error": {
"type": "memory.backend_unavailable",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#memory-backend-unavailable"
}
}Create a Dream
Start a batch curation job: one input MemoryStore plus 1–100 unique session_ids whose event logs are mined as evidence, producing a new workspace-owned MemoryStore — the input store and sessions are never mutated. Naming a model_routing_profile_key curates through one schema-constrained model call steered by instructions and records exact usage; omitting it runs the deterministic platform curator with zero usage. Set review: true to leave the curated proposal open instead of auto-approving. A missing input store is memory.not_found, an archived one memory.conflict, and a zero-data-retention workspace rejects with policy.denied; collected evidence is hard-bounded at 10,000 items and 4 MB.
Checkfu support posture: preview; rollout_fenced. Required evidence journey: dreams. Deployment-specific readiness and the latest proven release are available from GET /v1/support/capabilities.
curl --request POST \
--url https://api.checkfu.com/v1/dreams \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"memory_store": "<string>",
"session_ids": [
"<string>"
],
"instructions": "<string>",
"model_routing_profile_key": "<string>",
"review": true
}
'import requests
url = "https://api.checkfu.com/v1/dreams"
payload = {
"memory_store": "<string>",
"session_ids": ["<string>"],
"instructions": "<string>",
"model_routing_profile_key": "<string>",
"review": True
}
headers = {
"checkfu-version": "<checkfu-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'checkfu-version': '<checkfu-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
memory_store: '<string>',
session_ids: ['<string>'],
instructions: '<string>',
model_routing_profile_key: '<string>',
review: true
})
};
fetch('https://api.checkfu.com/v1/dreams', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.checkfu.com/v1/dreams",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'memory_store' => '<string>',
'session_ids' => [
'<string>'
],
'instructions' => '<string>',
'model_routing_profile_key' => '<string>',
'review' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"checkfu-version: <checkfu-version>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.checkfu.com/v1/dreams"
payload := strings.NewReader("{\n \"memory_store\": \"<string>\",\n \"session_ids\": [\n \"<string>\"\n ],\n \"instructions\": \"<string>\",\n \"model_routing_profile_key\": \"<string>\",\n \"review\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("checkfu-version", "<checkfu-version>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.checkfu.com/v1/dreams")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"memory_store\": \"<string>\",\n \"session_ids\": [\n \"<string>\"\n ],\n \"instructions\": \"<string>\",\n \"model_routing_profile_key\": \"<string>\",\n \"review\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/dreams")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["checkfu-version"] = '<checkfu-version>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"memory_store\": \"<string>\",\n \"session_ids\": [\n \"<string>\"\n ],\n \"instructions\": \"<string>\",\n \"model_routing_profile_key\": \"<string>\",\n \"review\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"memory_store": "<string>",
"session_ids": [
"<string>"
],
"instructions": "<string>",
"model_routing_profile_key": "<string>",
"review": true,
"status": "pending",
"output_memory_store": "<string>",
"proposal": "<string>",
"curation_run": "<string>",
"error": "input_memory_store_unavailable",
"usage": {
"input_tokens": 1,
"cached_input_tokens": 1,
"cache_write_input_tokens": 1,
"output_tokens": 1,
"reasoning_output_tokens": 1,
"total_tokens": 1
},
"created_at": "<string>",
"ended_at": "<string>",
"archived_at": "<string>",
"version": 1
}{
"error": {
"type": "validation.malformed",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-malformed"
}
}{
"error": {
"type": "auth.invalid_key",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-invalid-key"
}
}{
"error": {
"type": "auth.disabled_tenancy",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-disabled-tenancy"
}
}{
"error": {
"type": "validation.not_found",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-not-found"
}
}{
"error": {
"type": "memory.conflict",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#memory-conflict"
}
}{
"error": {
"type": "model.no_eligible_model",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#model-no-eligible-model"
}
}{
"error": {
"type": "budget.exceeded",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#budget-exceeded"
}
}{
"error": {
"type": "runtime.internal",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#runtime-internal"
}
}{
"error": {
"type": "memory.backend_unavailable",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#memory-backend-unavailable"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
2026-08-24 255Body
Response
an error exactly on failure, an end time exactly on terminal status, and a completed dream always names its output store
^drm_[0-9a-f]{32}$^memstore_[0-9a-f]{32}$1 - 100 elements^sess_[0-9a-f]{32}$1 - 4096^[a-z0-9](?:[a-z0-9._-]{0,93})$pending, running, completed, failed, canceled ^memstore_[0-9a-f]{32}$^mprop_[0-9a-f]{32}$^mcur_[0-9a-f]{32}$input_memory_store_unavailable, input_session_unavailable, input_sessions_too_large, curation_failed, internal Show child attributes
Show child attributes
x > 0