Start an agent run
Opens a run in the agent-run ledger. When the run carries an objective and attach_brain is not false, an ambient brain capsule is attached best-effort and returned alongside the run.
curl --request POST \
--url https://api.usenaive.ai/v1/runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tenant_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"objective_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ceo_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_type": "manual",
"status": "running",
"assigned_profile": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"runtime": "<string>",
"external_runtime_id": "<string>",
"objective": "<string>",
"metadata": {},
"attach_brain": true,
"brain_knowledge_base_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brain_since_watermark": "2023-11-07T05:31:56Z"
}
'import requests
url = "https://api.usenaive.ai/v1/runs"
payload = {
"tenant_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"objective_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ceo_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_type": "manual",
"status": "running",
"assigned_profile": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"runtime": "<string>",
"external_runtime_id": "<string>",
"objective": "<string>",
"metadata": {},
"attach_brain": True,
"brain_knowledge_base_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brain_since_watermark": "2023-11-07T05:31:56Z"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tenant_user_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
objective_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
ceo_message_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
task_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
task_run_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
parent_run_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
run_type: 'manual',
status: 'running',
assigned_profile: '<string>',
agent_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
model: '<string>',
runtime: '<string>',
external_runtime_id: '<string>',
objective: '<string>',
metadata: {},
attach_brain: true,
brain_knowledge_base_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
brain_since_watermark: '2023-11-07T05:31:56Z'
})
};
fetch('https://api.usenaive.ai/v1/runs', 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.usenaive.ai/v1/runs",
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([
'tenant_user_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'objective_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'ceo_message_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'task_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'task_run_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'parent_run_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'run_type' => 'manual',
'status' => 'running',
'assigned_profile' => '<string>',
'agent_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'model' => '<string>',
'runtime' => '<string>',
'external_runtime_id' => '<string>',
'objective' => '<string>',
'metadata' => [
],
'attach_brain' => true,
'brain_knowledge_base_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'brain_since_watermark' => '2023-11-07T05:31:56Z'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.usenaive.ai/v1/runs"
payload := strings.NewReader("{\n \"tenant_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"objective_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"ceo_message_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"parent_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"run_type\": \"manual\",\n \"status\": \"running\",\n \"assigned_profile\": \"<string>\",\n \"agent_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"model\": \"<string>\",\n \"runtime\": \"<string>\",\n \"external_runtime_id\": \"<string>\",\n \"objective\": \"<string>\",\n \"metadata\": {},\n \"attach_brain\": true,\n \"brain_knowledge_base_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"brain_since_watermark\": \"2023-11-07T05:31:56Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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.usenaive.ai/v1/runs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tenant_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"objective_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"ceo_message_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"parent_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"run_type\": \"manual\",\n \"status\": \"running\",\n \"assigned_profile\": \"<string>\",\n \"agent_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"model\": \"<string>\",\n \"runtime\": \"<string>\",\n \"external_runtime_id\": \"<string>\",\n \"objective\": \"<string>\",\n \"metadata\": {},\n \"attach_brain\": true,\n \"brain_knowledge_base_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"brain_since_watermark\": \"2023-11-07T05:31:56Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usenaive.ai/v1/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tenant_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"objective_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"ceo_message_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"parent_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"run_type\": \"manual\",\n \"status\": \"running\",\n \"assigned_profile\": \"<string>\",\n \"agent_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"model\": \"<string>\",\n \"runtime\": \"<string>\",\n \"external_runtime_id\": \"<string>\",\n \"objective\": \"<string>\",\n \"metadata\": {},\n \"attach_brain\": true,\n \"brain_knowledge_base_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"brain_since_watermark\": \"2023-11-07T05:31:56Z\"\n}"
response = http.request(request)
puts response.read_body{
"run": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tenant_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"objective_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ceo_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requested_by": {
"id": "<string>"
},
"assigned_profile": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"runtime": "<string>",
"external_runtime_id": "<string>",
"objective": "<string>",
"summary": "<string>",
"error": "<string>",
"spend": {},
"token_usage": {},
"metadata": {},
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z"
},
"brain_capsule": {
"space": {
"knowledge_base_id": "<string>",
"scope_kb_ids": [
"<string>"
]
},
"as_of": "<string>",
"beliefs": [
{
"claim_id": "<string>",
"statement": "<string>",
"subject": "<string>",
"predicate": "<string>",
"object": "<string>",
"confidence": 123,
"status": "<string>",
"valid_from": "<string>",
"valid_to": "<string>",
"id": "<string>",
"observed_at": "<string>",
"updated_at": "<string>",
"supersedes_claim_id": "<string>"
}
],
"working_set": [
{
"id": "<string>",
"kind": "<string>",
"title": "<string>",
"object_id": "<string>"
}
],
"deltas": {
"newly_active": [
{
"claim_id": "<string>",
"statement": "<string>",
"subject": "<string>",
"predicate": "<string>",
"object": "<string>",
"confidence": 123,
"status": "<string>",
"valid_from": "<string>",
"valid_to": "<string>",
"id": "<string>",
"observed_at": "<string>",
"updated_at": "<string>",
"supersedes_claim_id": "<string>"
}
],
"invalidated": [
{
"claim_id": "<string>",
"statement": "<string>",
"subject": "<string>",
"predicate": "<string>",
"object": "<string>",
"confidence": 123,
"status": "<string>",
"valid_from": "<string>",
"valid_to": "<string>",
"id": "<string>",
"observed_at": "<string>",
"updated_at": "<string>",
"supersedes_claim_id": "<string>"
}
]
},
"open_questions": [
"<string>"
],
"citation_map": {},
"capsule_id": "<string>",
"render": "<string>"
}
}{
"error": {
"message": "<string>",
"hint": "<string>",
"reason": "<string>"
}
}{
"error": {
"message": "<string>",
"hint": "<string>",
"reason": "<string>"
}
}{
"error": {
"message": "<string>",
"hint": "<string>",
"reason": "<string>"
}
}Authorizations
Workspace API key. Create one via the dashboard or POST /v1/auth/keys.
Body
Defaults to the caller's resolved subject user id, else null.
ceo, hermes, worker, tool, maintenance, manual queued, running, blocked, completed, failed, cancelled Defaults to the calling principal (agent key, owner session, or system).
Show child attributes
Show child attributes
255255255Unique per (company, runtime); reusing one linked to another run returns 409.
2554000Set false to skip the ambient brain capsule.
Previous capsule's as_of, to receive deltas since then.
Response
Run created.
Serialised agent run (contracts/brain-ops.ts formatRun).
Show child attributes
Show child attributes
Ambient brain capsule attached when the run has an objective and attach_brain is not false. Null when no objective, when opted out, or when the (best-effort) attach failed.
Show child attributes
Show child attributes
curl --request POST \
--url https://api.usenaive.ai/v1/runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tenant_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"objective_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ceo_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_type": "manual",
"status": "running",
"assigned_profile": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"runtime": "<string>",
"external_runtime_id": "<string>",
"objective": "<string>",
"metadata": {},
"attach_brain": true,
"brain_knowledge_base_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brain_since_watermark": "2023-11-07T05:31:56Z"
}
'import requests
url = "https://api.usenaive.ai/v1/runs"
payload = {
"tenant_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"objective_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ceo_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_type": "manual",
"status": "running",
"assigned_profile": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"runtime": "<string>",
"external_runtime_id": "<string>",
"objective": "<string>",
"metadata": {},
"attach_brain": True,
"brain_knowledge_base_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brain_since_watermark": "2023-11-07T05:31:56Z"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tenant_user_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
objective_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
ceo_message_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
task_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
task_run_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
parent_run_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
run_type: 'manual',
status: 'running',
assigned_profile: '<string>',
agent_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
model: '<string>',
runtime: '<string>',
external_runtime_id: '<string>',
objective: '<string>',
metadata: {},
attach_brain: true,
brain_knowledge_base_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
brain_since_watermark: '2023-11-07T05:31:56Z'
})
};
fetch('https://api.usenaive.ai/v1/runs', 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.usenaive.ai/v1/runs",
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([
'tenant_user_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'objective_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'ceo_message_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'task_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'task_run_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'parent_run_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'run_type' => 'manual',
'status' => 'running',
'assigned_profile' => '<string>',
'agent_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'model' => '<string>',
'runtime' => '<string>',
'external_runtime_id' => '<string>',
'objective' => '<string>',
'metadata' => [
],
'attach_brain' => true,
'brain_knowledge_base_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'brain_since_watermark' => '2023-11-07T05:31:56Z'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.usenaive.ai/v1/runs"
payload := strings.NewReader("{\n \"tenant_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"objective_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"ceo_message_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"parent_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"run_type\": \"manual\",\n \"status\": \"running\",\n \"assigned_profile\": \"<string>\",\n \"agent_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"model\": \"<string>\",\n \"runtime\": \"<string>\",\n \"external_runtime_id\": \"<string>\",\n \"objective\": \"<string>\",\n \"metadata\": {},\n \"attach_brain\": true,\n \"brain_knowledge_base_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"brain_since_watermark\": \"2023-11-07T05:31:56Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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.usenaive.ai/v1/runs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tenant_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"objective_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"ceo_message_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"parent_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"run_type\": \"manual\",\n \"status\": \"running\",\n \"assigned_profile\": \"<string>\",\n \"agent_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"model\": \"<string>\",\n \"runtime\": \"<string>\",\n \"external_runtime_id\": \"<string>\",\n \"objective\": \"<string>\",\n \"metadata\": {},\n \"attach_brain\": true,\n \"brain_knowledge_base_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"brain_since_watermark\": \"2023-11-07T05:31:56Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.usenaive.ai/v1/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tenant_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"objective_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"ceo_message_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"task_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"parent_run_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"run_type\": \"manual\",\n \"status\": \"running\",\n \"assigned_profile\": \"<string>\",\n \"agent_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"model\": \"<string>\",\n \"runtime\": \"<string>\",\n \"external_runtime_id\": \"<string>\",\n \"objective\": \"<string>\",\n \"metadata\": {},\n \"attach_brain\": true,\n \"brain_knowledge_base_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"brain_since_watermark\": \"2023-11-07T05:31:56Z\"\n}"
response = http.request(request)
puts response.read_body{
"run": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tenant_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"objective_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ceo_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requested_by": {
"id": "<string>"
},
"assigned_profile": "<string>",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"runtime": "<string>",
"external_runtime_id": "<string>",
"objective": "<string>",
"summary": "<string>",
"error": "<string>",
"spend": {},
"token_usage": {},
"metadata": {},
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z"
},
"brain_capsule": {
"space": {
"knowledge_base_id": "<string>",
"scope_kb_ids": [
"<string>"
]
},
"as_of": "<string>",
"beliefs": [
{
"claim_id": "<string>",
"statement": "<string>",
"subject": "<string>",
"predicate": "<string>",
"object": "<string>",
"confidence": 123,
"status": "<string>",
"valid_from": "<string>",
"valid_to": "<string>",
"id": "<string>",
"observed_at": "<string>",
"updated_at": "<string>",
"supersedes_claim_id": "<string>"
}
],
"working_set": [
{
"id": "<string>",
"kind": "<string>",
"title": "<string>",
"object_id": "<string>"
}
],
"deltas": {
"newly_active": [
{
"claim_id": "<string>",
"statement": "<string>",
"subject": "<string>",
"predicate": "<string>",
"object": "<string>",
"confidence": 123,
"status": "<string>",
"valid_from": "<string>",
"valid_to": "<string>",
"id": "<string>",
"observed_at": "<string>",
"updated_at": "<string>",
"supersedes_claim_id": "<string>"
}
],
"invalidated": [
{
"claim_id": "<string>",
"statement": "<string>",
"subject": "<string>",
"predicate": "<string>",
"object": "<string>",
"confidence": 123,
"status": "<string>",
"valid_from": "<string>",
"valid_to": "<string>",
"id": "<string>",
"observed_at": "<string>",
"updated_at": "<string>",
"supersedes_claim_id": "<string>"
}
]
},
"open_questions": [
"<string>"
],
"citation_map": {},
"capsule_id": "<string>",
"render": "<string>"
}
}{
"error": {
"message": "<string>",
"hint": "<string>",
"reason": "<string>"
}
}{
"error": {
"message": "<string>",
"hint": "<string>",
"reason": "<string>"
}
}{
"error": {
"message": "<string>",
"hint": "<string>",
"reason": "<string>"
}
}