Download OpenAPI specification:
Cognitive Agent Long-term Intelligence, Behavioral Episodic Recall - Production Memory Framework for AI Agents
| status | string Filter by trajectory status |
| agent_id | string Filter by agent ID |
| parent_trajectory_id | string Filter by parent trajectory ID |
| limit | integer <int32> Maximum number of results |
| offset | integer <int32> Offset for pagination |
{- "total": 0,
- "trajectories": [
- {
- "_links": { },
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "completed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "metadata": { },
- "name": "string",
- "outcome": { },
- "parent_trajectory_id": "d47865db-aef0-4c15-933a-0cc936082ee8",
- "root_trajectory_id": "0f25abaa-7f0a-46dc-9cd9-abd889afef7f",
- "status": "active",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| agent_id | string or null <uuid> |
| description | string or null |
| metadata | object or null |
| name required | string |
| parent_trajectory_id | string or null <uuid> |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "description": "string",
- "metadata": { },
- "name": "string",
- "parent_trajectory_id": "d47865db-aef0-4c15-933a-0cc936082ee8"
}{- "_links": { },
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "completed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "metadata": { },
- "name": "string",
- "outcome": { },
- "parent_trajectory_id": "d47865db-aef0-4c15-933a-0cc936082ee8",
- "root_trajectory_id": "0f25abaa-7f0a-46dc-9cd9-abd889afef7f",
- "status": "active",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> Trajectory ID |
{- "_links": { },
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "completed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "metadata": { },
- "name": "string",
- "outcome": { },
- "parent_trajectory_id": "d47865db-aef0-4c15-933a-0cc936082ee8",
- "root_trajectory_id": "0f25abaa-7f0a-46dc-9cd9-abd889afef7f",
- "status": "active",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> Trajectory ID |
| description | string or null |
| metadata | object or null |
| name | string or null |
null or TrajectoryStatus (string) |
{- "description": "string",
- "metadata": { },
- "name": "string",
- "status": { }
}{- "_links": { },
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "completed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "metadata": { },
- "name": "string",
- "outcome": { },
- "parent_trajectory_id": "d47865db-aef0-4c15-933a-0cc936082ee8",
- "root_trajectory_id": "0f25abaa-7f0a-46dc-9cd9-abd889afef7f",
- "status": "active",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> Trajectory ID |
[- {
- "_links": { },
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "completed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "metadata": { },
- "name": "string",
- "outcome": { },
- "parent_trajectory_id": "d47865db-aef0-4c15-933a-0cc936082ee8",
- "root_trajectory_id": "0f25abaa-7f0a-46dc-9cd9-abd889afef7f",
- "status": "active",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| id required | string <uuid> Trajectory ID |
[- {
- "_links": { },
- "checkpoint": { },
- "closed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "is_active": true,
- "metadata": { },
- "name": "string",
- "parent_scope_id": "45ef4eca-ba00-47a4-995f-062c85c59e19",
- "purpose": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "token_budget": 0,
- "tokens_used": 0,
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}
]| metadata | object or null Additional metadata |
| name required | string Name of the scope |
| parent_scope_id | string or null <uuid> Parent scope (for nested scopes) |
| purpose | string or null Purpose/description |
| token_budget required | integer <int32> Token budget for this scope |
| trajectory_id required | string <uuid> Trajectory this scope belongs to |
{- "metadata": { },
- "name": "string",
- "parent_scope_id": "45ef4eca-ba00-47a4-995f-062c85c59e19",
- "purpose": "string",
- "token_budget": 0,
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}{- "_links": { },
- "checkpoint": { },
- "closed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "is_active": true,
- "metadata": { },
- "name": "string",
- "parent_scope_id": "45ef4eca-ba00-47a4-995f-062c85c59e19",
- "purpose": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "token_budget": 0,
- "tokens_used": 0,
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}| id required | string <uuid> Scope ID |
{- "_links": { },
- "checkpoint": { },
- "closed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "is_active": true,
- "metadata": { },
- "name": "string",
- "parent_scope_id": "45ef4eca-ba00-47a4-995f-062c85c59e19",
- "purpose": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "token_budget": 0,
- "tokens_used": 0,
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}| id required | string <uuid> Scope ID |
| metadata | object or null New metadata (if changing) |
| name | string or null New name (if changing) |
| purpose | string or null New purpose (if changing) |
| token_budget | integer or null <int32> New token budget (if changing) |
{- "metadata": { },
- "name": "string",
- "purpose": "string",
- "token_budget": 0
}{- "_links": { },
- "checkpoint": { },
- "closed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "is_active": true,
- "metadata": { },
- "name": "string",
- "parent_scope_id": "45ef4eca-ba00-47a4-995f-062c85c59e19",
- "purpose": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "token_budget": 0,
- "tokens_used": 0,
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}| id required | string <uuid> Scope ID |
[- {
- "_links": { },
- "access_count": 0,
- "accessed_at": "2019-08-24T14:15:22Z",
- "artifact_id": "b7bd6bbb-c7f1-4314-8742-2aeeeece9d12",
- "artifact_type": "error_log",
- "content": "string",
- "content_hash": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "embedding": { },
- "metadata": { },
- "name": "string",
- "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "receipt_hash": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "superseded_by": "a99fa58d-1b9b-4688-ad5f-382f6b17ef46",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "ttl": "persistent",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| id required | string <uuid> Scope ID |
| context_state required | string <byte> Serialized context state |
| recoverable required | boolean Whether this checkpoint is recoverable |
{- "context_state": "string",
- "recoverable": true
}{- "context_state": "string",
- "recoverable": true
}| id required | string <uuid> Scope ID |
{- "_links": { },
- "checkpoint": { },
- "closed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "is_active": true,
- "metadata": { },
- "name": "string",
- "parent_scope_id": "45ef4eca-ba00-47a4-995f-062c85c59e19",
- "purpose": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "token_budget": 0,
- "tokens_used": 0,
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}| id required | string <uuid> Scope ID |
[- {
- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "metadata": { },
- "role": "user",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "sequence": 0,
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "token_count": 0,
- "tool_calls": { },
- "tool_results": { },
- "turn_id": "2df5d97e-1e68-4315-ace5-61a464d94d93"
}
]| artifact_type | string Filter by artifact type |
| trajectory_id | string Filter by trajectory ID |
| scope_id | string Filter by scope ID |
| created_after | string Filter by creation date (after) |
| created_before | string Filter by creation date (before) |
| limit | integer <int32> Maximum number of results |
| offset | integer <int32> Offset for pagination |
{- "artifacts": [
- {
- "_links": { },
- "access_count": 0,
- "accessed_at": "2019-08-24T14:15:22Z",
- "artifact_id": "b7bd6bbb-c7f1-4314-8742-2aeeeece9d12",
- "artifact_type": "error_log",
- "content": "string",
- "content_hash": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "embedding": { },
- "metadata": { },
- "name": "string",
- "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "receipt_hash": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "superseded_by": "a99fa58d-1b9b-4688-ad5f-382f6b17ef46",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "ttl": "persistent",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "total": 0
}| artifact_type required | string (ArtifactType) Enum: "error_log" "code_patch" "design_decision" "user_preference" "fact" "constraint" "tool_result" "intermediate_output" "custom" "code" "document" "data" "model" "config" "log" "summary" "decision" "plan" "audio" "image" "video" "transcript" "screenshot" Type of artifact |
| confidence | number or null <float> Confidence score (0.0-1.0) |
| content required | string Content of the artifact |
| extraction_method required | string (ExtractionMethod) Enum: "explicit" "inferred" "user_provided" "llm_extraction" "tool_extraction" "memory_recall" "external_api" "unknown" Extraction method used |
| metadata | object or null Additional metadata |
| name required | string Name of the artifact |
| scope_id required | string <uuid> Scope this artifact was created in |
| source_turn required | integer <int32> Source turn number |
| trajectory_id required | string <uuid> Trajectory this artifact belongs to |
required | string or string or string or object or string or string or string or string or string or object (TTL) |
{- "artifact_type": "error_log",
- "confidence": 0,
- "content": "string",
- "extraction_method": "explicit",
- "metadata": { },
- "name": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "source_turn": 0,
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "ttl": "persistent"
}{- "_links": { },
- "access_count": 0,
- "accessed_at": "2019-08-24T14:15:22Z",
- "artifact_id": "b7bd6bbb-c7f1-4314-8742-2aeeeece9d12",
- "artifact_type": "error_log",
- "content": "string",
- "content_hash": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "embedding": { },
- "metadata": { },
- "name": "string",
- "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "receipt_hash": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "superseded_by": "a99fa58d-1b9b-4688-ad5f-382f6b17ef46",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "ttl": "persistent",
- "updated_at": "2019-08-24T14:15:22Z"
}| entity_types required | Array of strings (EntityType) Items Enum: "trajectory" "scope" "artifact" "note" "turn" "tenant" "agent_working_set" "link" "belief" "goal" "plan" "lock" "message" "agent" "delegation" "handoff" "config" "conflict" "edge" "evolution_snapshot" "summarization_policy" "summarization_request" "tool_execution" "event" Entity types to search |
required | Array of objects (FilterExpr) Additional filters |
| limit | integer or null <int64> Maximum number of results |
| query required | string Search query text |
| use_vector_search | boolean or null Enable vector-based semantic search (default: false for backwards compat) When true, results are ranked by embedding similarity instead of keyword matching |
{- "entity_types": [
- "trajectory"
], - "filters": [
- {
- "field": "string",
- "operator": "eq",
- "value": { }
}
], - "limit": 0,
- "query": "string",
- "use_vector_search": true
}{- "results": [
- {
- "entity_type": "trajectory",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "score": 0.1,
- "snippet": "string",
- "vector_score": 0
}
], - "total": 0
}| id required | string <uuid> Artifact ID |
{- "_links": { },
- "access_count": 0,
- "accessed_at": "2019-08-24T14:15:22Z",
- "artifact_id": "b7bd6bbb-c7f1-4314-8742-2aeeeece9d12",
- "artifact_type": "error_log",
- "content": "string",
- "content_hash": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "embedding": { },
- "metadata": { },
- "name": "string",
- "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "receipt_hash": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "superseded_by": "a99fa58d-1b9b-4688-ad5f-382f6b17ef46",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "ttl": "persistent",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> Artifact ID |
null or ArtifactType (string) | |
| content | string or null New content (if changing) |
| metadata | object or null New metadata (if changing) |
| name | string or null New name (if changing) |
null or (TTL (TTL (string) or TTL (string) or TTL (string) or TTL (object) or TTL (string) or TTL (string) or TTL (string) or TTL (string) or TTL (string) or TTL (object))) |
{- "artifact_type": { },
- "content": "string",
- "metadata": { },
- "name": "string",
- "ttl": { }
}{- "_links": { },
- "access_count": 0,
- "accessed_at": "2019-08-24T14:15:22Z",
- "artifact_id": "b7bd6bbb-c7f1-4314-8742-2aeeeece9d12",
- "artifact_type": "error_log",
- "content": "string",
- "content_hash": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "embedding": { },
- "metadata": { },
- "name": "string",
- "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "receipt_hash": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "superseded_by": "a99fa58d-1b9b-4688-ad5f-382f6b17ef46",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "ttl": "persistent",
- "updated_at": "2019-08-24T14:15:22Z"
}| note_type | string Filter by note type |
| source_trajectory_id | string Filter by source trajectory ID |
| created_after | string Filter by creation date (after) |
| created_before | string Filter by creation date (before) |
| limit | integer <int32> Maximum number of results |
| offset | integer <int32> Offset for pagination |
{- "notes": [
- {
- "_links": { },
- "abstraction_level": "raw",
- "access_count": 0,
- "accessed_at": "2019-08-24T14:15:22Z",
- "content": "string",
- "content_hash": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "embedding": { },
- "metadata": { },
- "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
- "note_type": "convention",
- "receipt_hash": "string",
- "source_artifact_ids": [
- "string"
], - "source_note_ids": [
- "string"
], - "source_trajectory_ids": [
- "string"
], - "superseded_by": "a99fa58d-1b9b-4688-ad5f-382f6b17ef46",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "title": "string",
- "ttl": "persistent",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "total": 0
}| content required | string Content of the note |
| metadata | object or null Additional metadata |
| note_type required | string (NoteType) Enum: "convention" "strategy" "gotcha" "fact" "preference" "relationship" "procedure" "meta" "insight" "correction" "summary" Type of note |
| source_artifact_ids required | Array of strings Source artifacts |
| source_note_ids | Array of strings Source notes (for derived notes and abstraction chains) |
| source_trajectory_ids required | Array of strings Source trajectories |
| title required | string Title of the note |
required | string or string or string or object or string or string or string or string or string or object (TTL) |
{- "content": "string",
- "metadata": { },
- "note_type": "convention",
- "source_artifact_ids": [
- "string"
], - "source_note_ids": [
- "string"
], - "source_trajectory_ids": [
- "string"
], - "title": "string",
- "ttl": "persistent"
}{- "_links": { },
- "abstraction_level": "raw",
- "access_count": 0,
- "accessed_at": "2019-08-24T14:15:22Z",
- "content": "string",
- "content_hash": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "embedding": { },
- "metadata": { },
- "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
- "note_type": "convention",
- "receipt_hash": "string",
- "source_artifact_ids": [
- "string"
], - "source_note_ids": [
- "string"
], - "source_trajectory_ids": [
- "string"
], - "superseded_by": "a99fa58d-1b9b-4688-ad5f-382f6b17ef46",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "title": "string",
- "ttl": "persistent",
- "updated_at": "2019-08-24T14:15:22Z"
}| entity_types required | Array of strings (EntityType) Items Enum: "trajectory" "scope" "artifact" "note" "turn" "tenant" "agent_working_set" "link" "belief" "goal" "plan" "lock" "message" "agent" "delegation" "handoff" "config" "conflict" "edge" "evolution_snapshot" "summarization_policy" "summarization_request" "tool_execution" "event" Entity types to search |
required | Array of objects (FilterExpr) Additional filters |
| limit | integer or null <int64> Maximum number of results |
| query required | string Search query text |
| use_vector_search | boolean or null Enable vector-based semantic search (default: false for backwards compat) When true, results are ranked by embedding similarity instead of keyword matching |
{- "entity_types": [
- "trajectory"
], - "filters": [
- {
- "field": "string",
- "operator": "eq",
- "value": { }
}
], - "limit": 0,
- "query": "string",
- "use_vector_search": true
}{- "results": [
- {
- "entity_type": "trajectory",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "score": 0.1,
- "snippet": "string",
- "vector_score": 0
}
], - "total": 0
}| id required | string <uuid> Note ID |
{- "_links": { },
- "abstraction_level": "raw",
- "access_count": 0,
- "accessed_at": "2019-08-24T14:15:22Z",
- "content": "string",
- "content_hash": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "embedding": { },
- "metadata": { },
- "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
- "note_type": "convention",
- "receipt_hash": "string",
- "source_artifact_ids": [
- "string"
], - "source_note_ids": [
- "string"
], - "source_trajectory_ids": [
- "string"
], - "superseded_by": "a99fa58d-1b9b-4688-ad5f-382f6b17ef46",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "title": "string",
- "ttl": "persistent",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> Note ID |
| content | string or null New content (if changing) |
| metadata | object or null New metadata (if changing) |
null or NoteType (string) | |
| title | string or null New title (if changing) |
null or (TTL (TTL (string) or TTL (string) or TTL (string) or TTL (object) or TTL (string) or TTL (string) or TTL (string) or TTL (string) or TTL (string) or TTL (object))) |
{- "content": "string",
- "metadata": { },
- "note_type": { },
- "title": "string",
- "ttl": { }
}{- "_links": { },
- "abstraction_level": "raw",
- "access_count": 0,
- "accessed_at": "2019-08-24T14:15:22Z",
- "content": "string",
- "content_hash": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "embedding": { },
- "metadata": { },
- "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc",
- "note_type": "convention",
- "receipt_hash": "string",
- "source_artifact_ids": [
- "string"
], - "source_note_ids": [
- "string"
], - "source_trajectory_ids": [
- "string"
], - "superseded_by": "a99fa58d-1b9b-4688-ad5f-382f6b17ef46",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "title": "string",
- "ttl": "persistent",
- "updated_at": "2019-08-24T14:15:22Z"
}| content required | string Content of the turn |
| metadata | object or null Additional metadata |
| role required | string (TurnRole) Enum: "user" "assistant" "system" "tool" Role of the turn |
| scope_id required | string <uuid> Scope this turn belongs to |
| sequence | integer <int32> Sequence number within the scope (auto-assigned as 0 if omitted) |
| token_count | integer <int32> Token count (defaults to 0 if omitted) |
| tool_calls | object or null Tool calls (if any) |
| tool_results | object or null Tool results (if any) |
{- "content": "string",
- "metadata": { },
- "role": "user",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "sequence": 0,
- "token_count": 0,
- "tool_calls": { },
- "tool_results": { }
}{- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "metadata": { },
- "role": "user",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "sequence": 0,
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "token_count": 0,
- "tool_calls": { },
- "tool_results": { },
- "turn_id": "2df5d97e-1e68-4315-ace5-61a464d94d93"
}| id required | string <uuid> Turn ID |
{- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "metadata": { },
- "role": "user",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "sequence": 0,
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "token_count": 0,
- "tool_calls": { },
- "tool_results": { },
- "turn_id": "2df5d97e-1e68-4315-ace5-61a464d94d93"
}| agent_type | string Filter by agent type |
| status | string Filter by status |
| trajectory_id | string Filter by current trajectory |
| active_only | boolean Only return active agents |
{- "agents": [
- {
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "agent_type": "Tester",
- "can_delegate_to": [
- "string"
], - "capabilities": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "current_scope_id": "378c4d70-6e96-4fbe-914c-41be9d86b91a",
- "current_trajectory_id": "c1f5eb9b-8706-4841-8412-80dfc13e0a58",
- "last_heartbeat_at": "2019-08-24T14:15:22Z",
- "memory_access": {
- "read": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
], - "write": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
]
}, - "owner_principal_id": "fe39bf7b-6b2d-42fc-be7f-80505e2d7f4f",
- "reports_to": "788f594d-4490-438b-9a88-e4150fb7d6c0",
- "status": "idle",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}
], - "total": 0
}required | string or string or string or string or string or object (AgentType) |
| can_delegate_to required | Array of strings Agent types this agent can delegate to |
| capabilities required | Array of strings Capabilities this agent has |
required | object (MemoryAccessRequest) Memory access permissions |
| owner_principal_id | string or null <uuid> Optional explicit owner principal. If omitted, request principal is used. |
| reports_to | string or null <uuid> Supervisor agent (if any) |
{- "agent_type": "Tester",
- "can_delegate_to": [
- "string"
], - "capabilities": [
- "string"
], - "memory_access": {
- "read": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
], - "write": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
]
}, - "owner_principal_id": "fe39bf7b-6b2d-42fc-be7f-80505e2d7f4f",
- "reports_to": "788f594d-4490-438b-9a88-e4150fb7d6c0"
}{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "agent_type": "Tester",
- "can_delegate_to": [
- "string"
], - "capabilities": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "current_scope_id": "378c4d70-6e96-4fbe-914c-41be9d86b91a",
- "current_trajectory_id": "c1f5eb9b-8706-4841-8412-80dfc13e0a58",
- "last_heartbeat_at": "2019-08-24T14:15:22Z",
- "memory_access": {
- "read": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
], - "write": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
]
}, - "owner_principal_id": "fe39bf7b-6b2d-42fc-be7f-80505e2d7f4f",
- "reports_to": "788f594d-4490-438b-9a88-e4150fb7d6c0",
- "status": "idle",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}| id required | string <uuid> Agent ID |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "agent_type": "Tester",
- "can_delegate_to": [
- "string"
], - "capabilities": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "current_scope_id": "378c4d70-6e96-4fbe-914c-41be9d86b91a",
- "current_trajectory_id": "c1f5eb9b-8706-4841-8412-80dfc13e0a58",
- "last_heartbeat_at": "2019-08-24T14:15:22Z",
- "memory_access": {
- "read": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
], - "write": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
]
}, - "owner_principal_id": "fe39bf7b-6b2d-42fc-be7f-80505e2d7f4f",
- "reports_to": "788f594d-4490-438b-9a88-e4150fb7d6c0",
- "status": "idle",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}| id required | string <uuid> Agent ID |
| capabilities | Array of strings or null New capabilities (if changing) |
| current_scope_id | string or null <uuid> New current scope (if changing) |
| current_trajectory_id | string or null <uuid> New current trajectory (if changing) |
null or MemoryAccessRequest (object) | |
null or AgentStatus (string) |
{- "capabilities": [
- "string"
], - "current_scope_id": "378c4d70-6e96-4fbe-914c-41be9d86b91a",
- "current_trajectory_id": "c1f5eb9b-8706-4841-8412-80dfc13e0a58",
- "memory_access": { },
- "status": { }
}{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "agent_type": "Tester",
- "can_delegate_to": [
- "string"
], - "capabilities": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "current_scope_id": "378c4d70-6e96-4fbe-914c-41be9d86b91a",
- "current_trajectory_id": "c1f5eb9b-8706-4841-8412-80dfc13e0a58",
- "last_heartbeat_at": "2019-08-24T14:15:22Z",
- "memory_access": {
- "read": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
], - "write": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
]
}, - "owner_principal_id": "fe39bf7b-6b2d-42fc-be7f-80505e2d7f4f",
- "reports_to": "788f594d-4490-438b-9a88-e4150fb7d6c0",
- "status": "idle",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}| id required | string <uuid> Agent ID |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "agent_type": "Tester",
- "can_delegate_to": [
- "string"
], - "capabilities": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "current_scope_id": "378c4d70-6e96-4fbe-914c-41be9d86b91a",
- "current_trajectory_id": "c1f5eb9b-8706-4841-8412-80dfc13e0a58",
- "last_heartbeat_at": "2019-08-24T14:15:22Z",
- "memory_access": {
- "read": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
], - "write": [
- {
- "filter": "string",
- "memory_type": "artifact",
- "scope": "string"
}
]
}, - "owner_principal_id": "fe39bf7b-6b2d-42fc-be7f-80505e2d7f4f",
- "reports_to": "788f594d-4490-438b-9a88-e4150fb7d6c0",
- "status": "idle",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}{- "locks": [
- {
- "acquired_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "holder_agent_id": "7d3e49bb-e0f5-470b-bcaa-ee120b9f574d",
- "lock_id": "c7590aa3-358c-4ba6-a3b5-87d5f487fd16",
- "mode": "string",
- "resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
- "resource_type": "trajectory",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}
], - "total": 0
}| holder_agent_id required | string <uuid> Agent requesting the lock |
| mode required | string Lock mode (Exclusive or Shared) |
| resource_id required | string <uuid> ID of the resource to lock |
| resource_type required | string (ResourceType) Enum: "trajectory" "scope" "artifact" "note" "agent" Type of resource to lock |
| timeout_ms required | integer <int64> Lock timeout in milliseconds |
{- "holder_agent_id": "7d3e49bb-e0f5-470b-bcaa-ee120b9f574d",
- "mode": "string",
- "resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
- "resource_type": "trajectory",
- "timeout_ms": 0
}{- "acquired_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "holder_agent_id": "7d3e49bb-e0f5-470b-bcaa-ee120b9f574d",
- "lock_id": "c7590aa3-358c-4ba6-a3b5-87d5f487fd16",
- "mode": "string",
- "resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
- "resource_type": "trajectory",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}| id required | string <uuid> Lock ID |
{- "acquired_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "holder_agent_id": "7d3e49bb-e0f5-470b-bcaa-ee120b9f574d",
- "lock_id": "c7590aa3-358c-4ba6-a3b5-87d5f487fd16",
- "mode": "string",
- "resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
- "resource_type": "trajectory",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}| id required | string <uuid> Lock ID |
| additional_ms required | integer <int64> Additional time in milliseconds |
{- "additional_ms": 0
}{- "acquired_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "holder_agent_id": "7d3e49bb-e0f5-470b-bcaa-ee120b9f574d",
- "lock_id": "c7590aa3-358c-4ba6-a3b5-87d5f487fd16",
- "mode": "string",
- "resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
- "resource_type": "trajectory",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}| id required | string <uuid> Lock ID |
| releasing_agent_id required | string <uuid> Agent releasing the lock (must be the holder) |
{- "releasing_agent_id": "6364ddb7-59d4-4a83-bd2a-f7236f9c2286"
}{- "code": "UNAUTHORIZED",
- "details": { },
- "message": "string"
}| message_type | string Filter by message type |
| from_agent_id | string Filter by sender agent |
| to_agent_id | string Filter by recipient agent |
| to_agent_type | string Filter by recipient agent type |
| trajectory_id | string Filter by trajectory |
| priority | string Filter by priority |
| undelivered_only | boolean Only return undelivered messages |
| unacknowledged_only | boolean Only return unacknowledged messages |
| limit | integer <int32> Maximum number of results |
| offset | integer <int32> Offset for pagination |
{- "messages": [
- {
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "artifact_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "delivered_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2",
- "message_type": "task_delegation",
- "payload": "string",
- "priority": "low",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "sender_id": "3194e023-c19f-4a42-9172-9e18d68e3a3a",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "to": { },
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}
], - "total": 0
}| artifact_ids required | Array of strings Related artifacts (if any) |
| expires_at | string or null <date-time> When the message expires (optional) |
| from_agent_id required | string <uuid> Agent sending the message |
| message_type required | string (MessageType) Enum: "task_delegation" "task_result" "context_request" "context_share" "coordination_signal" "handoff" "interrupt" "heartbeat" Type of message |
| payload required | string Message payload (JSON serialized) |
| priority required | string (MessagePriority) Enum: "low" "normal" "high" "critical" Message priority |
| scope_id | string or null <uuid> Related scope (if any) |
null or (AgentTarget (AgentTarget (object) or AgentTarget (object))) | |
| trajectory_id | string or null <uuid> Related trajectory (if any) |
{- "artifact_ids": [
- "string"
], - "expires_at": "2019-08-24T14:15:22Z",
- "from_agent_id": "5263c7c6-e676-46d8-a6d1-3555c9c1605e",
- "message_type": "task_delegation",
- "payload": "string",
- "priority": "low",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "to": { },
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}{- "acknowledged_at": "2019-08-24T14:15:22Z",
- "artifact_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "delivered_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2",
- "message_type": "task_delegation",
- "payload": "string",
- "priority": "low",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "sender_id": "3194e023-c19f-4a42-9172-9e18d68e3a3a",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "to": { },
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}| id required | string <uuid> Message ID |
{- "acknowledged_at": "2019-08-24T14:15:22Z",
- "artifact_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "delivered_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2",
- "message_type": "task_delegation",
- "payload": "string",
- "priority": "low",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "sender_id": "3194e023-c19f-4a42-9172-9e18d68e3a3a",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "to": { },
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}| id required | string <uuid> Message ID |
| agent_id required | string <uuid> The agent performing the action (must be the message recipient) |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978"
}{- "code": "UNAUTHORIZED",
- "details": { },
- "message": "string"
}| context | object or null Additional context |
| expected_completion | string or null <date-time> Expected completion time |
| from_agent_id required | string <uuid> Agent delegating the task |
| scope_id required | string <uuid> Scope for the delegated task |
| task_description required | string Task description |
| to_agent_id required | string <uuid> Agent receiving the delegation |
| trajectory_id required | string <uuid> Trajectory for the delegated task |
{- "context": { },
- "expected_completion": "2019-08-24T14:15:22Z",
- "from_agent_id": "5263c7c6-e676-46d8-a6d1-3555c9c1605e",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "task_description": "string",
- "to_agent_id": "59132b1d-373f-4e40-ba51-efb09b82ca7a",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}{- "accepted_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "context": { },
- "created_at": "2019-08-24T14:15:22Z",
- "delegatee_id": "4cb98d17-4291-4316-b7cc-d10cdf9c4d72",
- "delegation_id": "4cff8b0a-bdd8-4ae9-8b8e-6f3c0f89b0a7",
- "delegator_id": "a216129c-840c-4df6-a346-870cfb194797",
- "expected_completion": "2019-08-24T14:15:22Z",
- "result": { },
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "status": "pending",
- "task_description": "string",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}| id required | string <uuid> Delegation ID |
{- "accepted_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "context": { },
- "created_at": "2019-08-24T14:15:22Z",
- "delegatee_id": "4cb98d17-4291-4316-b7cc-d10cdf9c4d72",
- "delegation_id": "4cff8b0a-bdd8-4ae9-8b8e-6f3c0f89b0a7",
- "delegator_id": "a216129c-840c-4df6-a346-870cfb194797",
- "expected_completion": "2019-08-24T14:15:22Z",
- "result": { },
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "status": "pending",
- "task_description": "string",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}| id required | string <uuid> Delegation ID |
| accepting_agent_id required | string <uuid> Agent accepting the delegation |
{- "accepting_agent_id": "d9e821c5-f88a-4dba-8a51-7c82e765fb7a"
}{- "code": "UNAUTHORIZED",
- "details": { },
- "message": "string"
}| id required | string <uuid> Delegation ID |
| completing_agent_id required | string <uuid> Agent completing the delegation (must be the delegatee) |
required | object (DelegationResultResponse) Result of the delegation |
{- "completing_agent_id": "a9798242-682a-4858-aa27-afedd7b81e30",
- "result": {
- "artifacts": [
- "string"
], - "error": "string",
- "output": "string",
- "status": "success"
}
}{- "code": "UNAUTHORIZED",
- "details": { },
- "message": "string"
}| id required | string <uuid> Delegation ID |
| reason required | string Reason for rejection |
| rejecting_agent_id required | string <uuid> Agent rejecting the delegation |
{- "reason": "string",
- "rejecting_agent_id": "9c6e9ffc-c7e7-4292-8a96-1d6ab9126e18"
}{- "code": "UNAUTHORIZED",
- "details": { },
- "message": "string"
}| context_snapshot required | string <byte> Context to transfer |
| from_agent_id required | string <uuid> Agent initiating the handoff |
| reason required | string Reason for handoff |
| scope_id required | string <uuid> Current scope |
| to_agent_id required | string <uuid> Agent receiving the handoff |
| trajectory_id required | string <uuid> Trajectory being handed off |
{- "context_snapshot": "string",
- "from_agent_id": "5263c7c6-e676-46d8-a6d1-3555c9c1605e",
- "reason": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "to_agent_id": "59132b1d-373f-4e40-ba51-efb09b82ca7a",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}{- "accepted_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "context_snapshot": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "from_agent_id": "5263c7c6-e676-46d8-a6d1-3555c9c1605e",
- "handoff_id": "141e6d39-e6f2-4d75-8027-a089e03fcad6",
- "reason": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "status": "initiated",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "to_agent_id": "59132b1d-373f-4e40-ba51-efb09b82ca7a",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}| id required | string <uuid> Handoff ID |
{- "accepted_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "context_snapshot": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "from_agent_id": "5263c7c6-e676-46d8-a6d1-3555c9c1605e",
- "handoff_id": "141e6d39-e6f2-4d75-8027-a089e03fcad6",
- "reason": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "status": "initiated",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "to_agent_id": "59132b1d-373f-4e40-ba51-efb09b82ca7a",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}| id required | string <uuid> Handoff ID |
| accepting_agent_id required | string <uuid> Agent accepting the handoff |
{- "accepting_agent_id": "d9e821c5-f88a-4dba-8a51-7c82e765fb7a"
}{- "code": "UNAUTHORIZED",
- "details": { },
- "message": "string"
}| entity_types required | Array of strings (EntityType) Items Enum: "trajectory" "scope" "artifact" "note" "turn" "tenant" "agent_working_set" "link" "belief" "goal" "plan" "lock" "message" "agent" "delegation" "handoff" "config" "conflict" "edge" "evolution_snapshot" "summarization_policy" "summarization_request" "tool_execution" "event" Entity types to search |
required | Array of objects (FilterExpr) Additional filters |
| limit | integer or null <int64> Maximum number of results |
| query required | string Search query text |
| use_vector_search | boolean or null Enable vector-based semantic search (default: false for backwards compat) When true, results are ranked by embedding similarity instead of keyword matching |
{- "entity_types": [
- "trajectory"
], - "filters": [
- {
- "field": "string",
- "operator": "eq",
- "value": { }
}
], - "limit": 0,
- "query": "string",
- "use_vector_search": true
}{- "results": [
- {
- "entity_type": "trajectory",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "score": 0.1,
- "snippet": "string",
- "vector_score": 0
}
], - "total": 0
}| cstate_toml required | string cstate.toml contents |
| markdown required | Array of strings Markdown prompt files (each part content) |
{- "ast": { },
- "compiled": { },
- "errors": [
- {
- "column": 0,
- "file": "string",
- "line": 0,
- "message": "string"
}
], - "pack_source": "string",
- "success": true
}On success the response's ast field contains the parsed Abstract Syntax Tree (AST) serialized as JSON.
On failure the response includes one or more ParseErrorResponse entries with error messages (line and column are set to 0 for parse errors produced by the internal pack parser).
// Prefer using the HTTP endpoint in integration tests; for local parsing the helper can be used:
let source = "# My Pack\n...";
let ast = cellstate_server::utils::parse_markdown_source(source).expect("should parse");
let ast_json = serde_json::to_value(&ast).unwrap();
assert!(ast_json.is_object());
| source required | string pack source code |
{- "source": "string"
}{- "ast": { },
- "errors": [
- {
- "column": 0,
- "line": 0,
- "message": "string"
}
], - "valid": true
}Validates that the provided request source is not empty; if empty, the request is rejected with a missing-field error. On successful parsing the response contains valid: true and ast set to the serialized AST. On parse failure the response contains valid: false and a single ParseErrorResponse with line: 0, column: 0, and message set to the parser error string.
use axum::Json;
use cellstate_server::ValidatePackRequest;
// Construct a request with pack source and send it to the handler.
let req = ValidatePackRequest { source: "# Example Pack".into() };
// Calling the handler requires a `State<DbClient>`; in integration tests provide a test DbClient.
// let response = tokio::runtime::Runtime::new().unwrap().block_on(validate_pack(state, Json(req)));
| source required | string pack source code |
{- "source": "string"
}{- "ast": { },
- "errors": [
- {
- "column": 0,
- "line": 0,
- "message": "string"
}
], - "valid": true
}This endpoint replaces multiple SDK calls with a single server-side assembly that respects token budgets and includes relevant context.
| agent_id | string or null <uuid> Agent ID for multi-agent scenarios |
| format | string (ContextFormat) Enum: "markdown" "xml" "json" Output format for the assembled context |
| graph_limit | integer or null <int64> Maximum number of graph links to include |
| graph_max_depth | integer or null <int32> Maximum graph traversal depth |
| graph_rel_types | Array of strings or null Optional relation type filter for graph traversal |
| graph_start_id | string or null <uuid> Optional graph traversal start node override |
| include_artifacts | boolean Whether to include recent artifacts |
| include_graph | boolean Whether to include graph-derived context hints |
| include_hierarchy | boolean Whether to include parent trajectory hierarchy |
| include_history | boolean Whether to include scope summaries (compressed history) |
| include_notes | boolean Whether to include relevant notes (semantic memory) |
| include_scoring | boolean or null Whether to include per-entity scoring debug (all 7 factors) in the response |
| include_turns | boolean Whether to include conversation turns from the scope |
| include_working_set | boolean Whether to include working-set entries (agent workbench memory) |
null or KernelConfigRequest (object) | |
| max_artifacts | integer or null <int32> Maximum number of artifacts to include |
| max_notes | integer or null <int32> Maximum number of notes to include |
| max_summaries | integer or null <int32> Maximum number of scope summaries to include |
| max_turns | integer or null <int32> Maximum number of turns to include |
| max_working_set | integer or null <int32> Maximum number of working-set entries to include |
| min_relevance | number or null <float> Minimum relevance score (0.0-1.0) for semantic filtering |
| relevance_query | string or null Semantic search query for filtering notes/artifacts by relevance |
| scope_id | string or null <uuid> Scope to assemble context for (optional - auto-selects most recent active scope if not provided) |
| segment_budget | object or null Optional segment-based token budget allocation. When provided, segment budgets are enforced in addition to total budget. |
| token_budget | integer or null <int32> Maximum token budget for the assembled context |
| trajectory_id required | string <uuid> Trajectory to assemble context for |
| user_input | string or null Current user input/query (used for relevance ranking) |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "format": "markdown",
- "graph_limit": 0,
- "graph_max_depth": 0,
- "graph_rel_types": [
- "string"
], - "graph_start_id": "9df5e5ea-be42-440e-8886-b359ee21c957",
- "include_artifacts": true,
- "include_graph": true,
- "include_hierarchy": true,
- "include_history": true,
- "include_notes": true,
- "include_scoring": true,
- "include_turns": true,
- "include_working_set": true,
- "kernel_config": { },
- "max_artifacts": 0,
- "max_notes": 0,
- "max_summaries": 0,
- "max_turns": 0,
- "max_working_set": 0,
- "min_relevance": 0,
- "relevance_query": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "segment_budget": { },
- "token_budget": 0,
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "user_input": "string"
}{- "artifacts_count": 0,
- "context": "string",
- "graph_links_count": 0,
- "hierarchy": [
- {
- "_links": { },
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "completed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "metadata": { },
- "name": "string",
- "outcome": { },
- "parent_trajectory_id": "d47865db-aef0-4c15-933a-0cc936082ee8",
- "root_trajectory_id": "0f25abaa-7f0a-46dc-9cd9-abd889afef7f",
- "status": "active",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "included_sections": [
- "string"
], - "max_tokens": 0,
- "notes_count": 0,
- "scoring_debug": [
- {
- "components": {
- "property1": {
- "raw": 0.1,
- "weighted": 0.1
}, - "property2": {
- "raw": 0.1,
- "weighted": 0.1
}
}, - "final_score": 0.1,
- "item_id": "string",
- "weights_used": "string"
}
], - "summaries_count": 0,
- "token_count": 0,
- "truncated": true,
- "turns_count": 0,
- "window_details": { },
- "working_set_count": 0
}| agent_id | string or null <uuid> |
| content required | string |
| metadata | any |
| mode | string or null |
| query | string or null |
| scope_id required | string <uuid> |
| tokens_input | integer <int64> |
| tokens_output | integer <int64> |
| tools_invoked | Array of strings |
| trajectory_id required | string <uuid> |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "content": "string",
- "metadata": null,
- "mode": "string",
- "query": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "tokens_input": 0,
- "tokens_output": 0,
- "tools_invoked": [
- "string"
], - "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848"
}{- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7"
}| agent_id | string or null <uuid> Agent ID for multi-agent scenarios |
| format | string (ContextFormat) Enum: "markdown" "xml" "json" Output format for the assembled context |
| graph_limit | integer or null <int64> Maximum number of graph links to include |
| graph_max_depth | integer or null <int32> Maximum graph traversal depth |
| graph_rel_types | Array of strings or null Optional relation type filter for graph traversal |
| graph_start_id | string or null <uuid> Optional graph traversal start node override |
| include_artifacts | boolean Whether to include recent artifacts |
| include_graph | boolean Whether to include graph-derived context hints |
| include_hierarchy | boolean Whether to include parent trajectory hierarchy |
| include_history | boolean Whether to include scope summaries (compressed history) |
| include_notes | boolean Whether to include relevant notes (semantic memory) |
| include_scoring | boolean or null Whether to include per-entity scoring debug (all 7 factors) in the response |
| include_turns | boolean Whether to include conversation turns from the scope |
| include_working_set | boolean Whether to include working-set entries (agent workbench memory) |
null or KernelConfigRequest (object) | |
| max_artifacts | integer or null <int32> Maximum number of artifacts to include |
| max_notes | integer or null <int32> Maximum number of notes to include |
| max_summaries | integer or null <int32> Maximum number of scope summaries to include |
| max_turns | integer or null <int32> Maximum number of turns to include |
| max_working_set | integer or null <int32> Maximum number of working-set entries to include |
| min_relevance | number or null <float> Minimum relevance score (0.0-1.0) for semantic filtering |
| relevance_query | string or null Semantic search query for filtering notes/artifacts by relevance |
| scope_id | string or null <uuid> Scope to assemble context for (optional - auto-selects most recent active scope if not provided) |
| segment_budget | object or null Optional segment-based token budget allocation. When provided, segment budgets are enforced in addition to total budget. |
| token_budget | integer or null <int32> Maximum token budget for the assembled context |
| trajectory_id required | string <uuid> Trajectory to assemble context for |
| user_input | string or null Current user input/query (used for relevance ranking) |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "format": "markdown",
- "graph_limit": 0,
- "graph_max_depth": 0,
- "graph_rel_types": [
- "string"
], - "graph_start_id": "9df5e5ea-be42-440e-8886-b359ee21c957",
- "include_artifacts": true,
- "include_graph": true,
- "include_hierarchy": true,
- "include_history": true,
- "include_notes": true,
- "include_scoring": true,
- "include_turns": true,
- "include_working_set": true,
- "kernel_config": { },
- "max_artifacts": 0,
- "max_notes": 0,
- "max_summaries": 0,
- "max_turns": 0,
- "max_working_set": 0,
- "min_relevance": 0,
- "relevance_query": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "segment_budget": { },
- "token_budget": 0,
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "user_input": "string"
}{- "artifact_count": 0,
- "artifact_names": [
- "string"
], - "graph_link_count": 0,
- "has_kernel_config": true,
- "has_user_input": true,
- "hierarchy_depth": 0,
- "note_count": 0,
- "note_titles": [
- "string"
], - "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "summary_count": 0,
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "turn_count": 0,
- "working_set_count": 0
}| query_text | string Free-text query for semantic matching |
| scope_id | string <uuid> Scope filter |
| trajectory_id | string <uuid> Trajectory filter |
| max_results | integer <int32> Maximum number of results |
| recency_weight | number <double> Weight applied to recency scoring (0.0-1.0) |
[- {
- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
- "score": 0.1
}
]| config required | object Configuration as JSON |
{- "config": { }
}{- "config": { },
- "errors": [
- "string"
], - "valid": true
}| config required | object Configuration as JSON to validate |
{- "config": { }
}{- "config": { },
- "errors": [
- "string"
], - "valid": true
}| pack_name required | string Pack name |
{- "deployments": [
- {
- "activated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "error_count": 0,
- "error_threshold": 0.1,
- "launch_config": { },
- "pack_name": "string",
- "request_count": 0,
- "rolled_back_at": "2019-08-24T14:15:22Z",
- "rollout_percentage": 0,
- "status": "Pending",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "version": 0
}
], - "total": 0
}| error_threshold | number <double> |
null or DeploymentLaunchConfig (object) | |
| pack_name required | string |
{- "error_threshold": 0.1,
- "launch_config": { },
- "pack_name": "string"
}{- "deployment": {
- "activated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "error_count": 0,
- "error_threshold": 0.1,
- "launch_config": { },
- "pack_name": "string",
- "request_count": 0,
- "rolled_back_at": "2019-08-24T14:15:22Z",
- "rollout_percentage": 0,
- "status": "Pending",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "version": 0
}
}| pack_name required | string |
{- "pack_name": "string"
}{- "deployment": {
- "activated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "error_count": 0,
- "error_threshold": 0.1,
- "launch_config": { },
- "pack_name": "string",
- "request_count": 0,
- "rolled_back_at": "2019-08-24T14:15:22Z",
- "rollout_percentage": 0,
- "status": "Pending",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "version": 0
}
}| id required | string Deployment ID |
{- "deployment": {
- "activated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "error_count": 0,
- "error_threshold": 0.1,
- "launch_config": { },
- "pack_name": "string",
- "request_count": 0,
- "rolled_back_at": "2019-08-24T14:15:22Z",
- "rollout_percentage": 0,
- "status": "Pending",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "version": 0
}
}| id required | string Deployment ID |
| rollout_percentage required | integer <int32> >= 0 |
{- "rollout_percentage": 0
}{- "deployment": {
- "activated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "error_count": 0,
- "error_threshold": 0.1,
- "launch_config": { },
- "pack_name": "string",
- "request_count": 0,
- "rolled_back_at": "2019-08-24T14:15:22Z",
- "rollout_percentage": 0,
- "status": "Pending",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "version": 0
}
}| id required | string Deployment ID |
| rollout_percentage required | integer <int32> >= 0 |
{- "rollout_percentage": 0
}{- "deployment": {
- "activated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "error_count": 0,
- "error_threshold": 0.1,
- "launch_config": { },
- "pack_name": "string",
- "request_count": 0,
- "rolled_back_at": "2019-08-24T14:15:22Z",
- "rollout_percentage": 0,
- "status": "Pending",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "version": 0
}
}| is_active | boolean Filter by active status |
| name | string Filter by name (substring match) |
| limit | integer <int32> Maximum number of results |
| offset | integer <int32> Offset for pagination |
{- "api_keys": [
- {
- "api_key_id": "b0dd218e-3bcf-4bdb-a1e3-0689d60a8afd",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "is_active": true,
- "key_prefix": "string",
- "last_used_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "scopes": [
- "string"
], - "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}
], - "total": 0
}| expires_at | string or null <date-time> |
| name required | string |
| scopes | Array of strings or null |
{- "expires_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "scopes": [
- "string"
]
}{- "api_key": {
- "api_key_id": "b0dd218e-3bcf-4bdb-a1e3-0689d60a8afd",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "is_active": true,
- "key_prefix": "string",
- "last_used_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "scopes": [
- "string"
], - "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}, - "key": "string"
}| tenant_id required | string <uuid> Tenant ID |
| is_active | boolean Filter by active status |
| name | string Filter by name (substring match) |
| owner_user_id | string Filter by owner user ID |
| limit | integer <int32> Maximum number of results |
| offset | integer <int32> Offset for pagination |
{- "api_keys": [
- {
- "api_key_id": "b0dd218e-3bcf-4bdb-a1e3-0689d60a8afd",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "is_active": true,
- "key_prefix": "string",
- "last_used_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "scopes": [
- "string"
], - "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}
], - "total": 0
}| tenant_id required | string <uuid> Tenant ID |
| id required | string <uuid> API key ID |
{- "code": "UNAUTHORIZED",
- "details": { },
- "message": "string"
}{- "api_key": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "string",
- "first_name": "string",
- "id": "string",
- "last_name": "string",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}| code | string OAuth authorization code |
| state | string OAuth state token |
| error | string Provider-side OAuth error |
| error_description | string Provider-side OAuth error description |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "expires_at": "2019-08-24T14:15:22Z",
- "provider": "string",
- "scopes": [
- "string"
], - "stored_at": "2019-08-24T14:15:22Z",
- "token_type": "string"
}| agent_id | string or null <uuid> |
| allow_signup | boolean or null |
| provider required | string |
| redirect_uri | string or null |
| scopes | Array of strings or null |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "allow_signup": true,
- "provider": "string",
- "redirect_uri": "string",
- "scopes": [
- "string"
]
}{- "authorization_url": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "pkce_method": "string",
- "provider": "string",
- "state": "string"
}| provider | string Optional provider filter |
| agent_id | string <uuid> Optional agent filter |
{- "tokens": [
- {
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "expires_at": "2019-08-24T14:15:22Z",
- "is_expired": true,
- "provider": "string",
- "scopes": [
- "string"
], - "stored_at": "2019-08-24T14:15:22Z",
- "token_type": "string"
}
], - "total": 0
}| access_token required | string |
| agent_id | string or null <uuid> |
| expires_at | string or null <date-time> |
| provider required | string |
| refresh_token | string or null |
| scopes | Array of strings or null |
| token_type | string or null |
{- "access_token": "string",
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "expires_at": "2019-08-24T14:15:22Z",
- "provider": "string",
- "refresh_token": "string",
- "scopes": [
- "string"
], - "token_type": "string"
}{- "token": {
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "expires_at": "2019-08-24T14:15:22Z",
- "is_expired": true,
- "provider": "string",
- "scopes": [
- "string"
], - "stored_at": "2019-08-24T14:15:22Z",
- "token_type": "string"
}
}| agent_id | string or null <uuid> |
| provider required | string |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "provider": "string"
}{- "code": "UNAUTHORIZED",
- "details": { },
- "message": "string"
}SECURITY: Returns only tenants where the caller has membership. If no membership rows are present (for example API-key only contexts), falls back to the authenticated current tenant.
{- "tenants": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "domain": "string",
- "external_org_id": "string",
- "name": "string",
- "settings": { },
- "status": "active",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}
]
}SECURITY: Users can only access their own tenant. This prevents information disclosure about other tenants' existence and details.
| id required | string <uuid> Tenant ID |
{- "created_at": "2019-08-24T14:15:22Z",
- "domain": "string",
- "external_org_id": "string",
- "name": "string",
- "settings": { },
- "status": "active",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}SECURITY: Users can only update their own tenant.
| id required | string <uuid> Tenant ID |
| domain | string or null Updated email domain |
| name | string or null Updated tenant name |
| settings | object or null Updated tenant settings |
null or TenantStatus (string) |
{- "domain": "string",
- "name": "string",
- "settings": { },
- "status": { }
}{- "created_at": "2019-08-24T14:15:22Z",
- "domain": "string",
- "external_org_id": "string",
- "name": "string",
- "settings": { },
- "status": "active",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}{- "snapshots": [
- {
- "config_hash": "string",
- "config_source": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "metadata": { },
- "metrics": { },
- "name": "string",
- "phase": "online",
- "snapshot_id": "163831af-8c1b-4992-a9cf-88c6306604c0"
}
], - "total": 0
}| config_source required | string |
| metadata | object or null |
null or EvolutionMetrics (object) | |
| name required | string |
| phase required | string (EvolutionPhase) Enum: "online" "frozen" "evolving" Phase of pack config evolution cycle. |
{- "config_source": "string",
- "metadata": { },
- "metrics": { },
- "name": "string",
- "phase": "online"
}{- "config_hash": "string",
- "config_source": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "metadata": { },
- "metrics": { },
- "name": "string",
- "phase": "online",
- "snapshot_id": "163831af-8c1b-4992-a9cf-88c6306604c0"
}| kind required | integer <int32> >= 0 Event kind code (u16, e.g. 0x1001 = 4097 for TRAJECTORY_CREATED) |
| min_depth | integer <int32> >= 0 Minimum depth (default: 0) |
| max_depth | integer <int32> >= 0 Maximum depth (default: 999) |
| limit | integer >= 0 Maximum number of events to return (default: 100) |
{- "count": 0,
- "events": [
- {
- "hash_chain": { },
- "header": {
- "causality": { },
- "correlation_id": "807686c4-116c-44b3-a01c-b14b50e31bcc",
- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
- "event_kind": 0,
- "flags": 255,
- "payload_size": 0,
- "position": {
- "depth": 0,
- "lane": 0,
- "sequence": 0
}, - "random_seed": 0,
- "timestamp": 0
}, - "payload": null,
- "category": "string"
}
]
}| id required | string Event ID (UUID) |
{- "event": {
- "hash_chain": { },
- "header": {
- "causality": { },
- "correlation_id": "807686c4-116c-44b3-a01c-b14b50e31bcc",
- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
- "event_kind": 0,
- "flags": 255,
- "payload_size": 0,
- "position": {
- "depth": 0,
- "lane": 0,
- "sequence": 0
}, - "random_seed": 0,
- "timestamp": 0
}, - "payload": null,
- "category": "string"
}
}| id required | string Event ID (UUID) |
| limit | integer >= 0 Maximum number of ancestors to return (default: 100) |
{- "count": 0,
- "events": [
- {
- "hash_chain": { },
- "header": {
- "causality": { },
- "correlation_id": "807686c4-116c-44b3-a01c-b14b50e31bcc",
- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
- "event_kind": 0,
- "flags": 255,
- "payload_size": 0,
- "position": {
- "depth": 0,
- "lane": 0,
- "sequence": 0
}, - "random_seed": 0,
- "timestamp": 0
}, - "payload": null,
- "category": "string"
}
]
}| id required | string Event ID (UUID) |
| limit | integer >= 0 Maximum number of descendants to return (default: 100) |
{- "count": 0,
- "events": [
- {
- "hash_chain": { },
- "header": {
- "causality": { },
- "correlation_id": "807686c4-116c-44b3-a01c-b14b50e31bcc",
- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
- "event_kind": 0,
- "flags": 255,
- "payload_size": 0,
- "position": {
- "depth": 0,
- "lane": 0,
- "sequence": 0
}, - "random_seed": 0,
- "timestamp": 0
}, - "payload": null,
- "category": "string"
}
]
}Reads the event to determine its parent (via correlation_id and position), then walks descendants of the parent to find siblings at the same depth.
| id required | string Event ID (UUID) |
{- "count": 0,
- "events": [
- {
- "hash_chain": { },
- "header": {
- "causality": { },
- "correlation_id": "807686c4-116c-44b3-a01c-b14b50e31bcc",
- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
- "event_kind": 0,
- "flags": 255,
- "payload_size": 0,
- "position": {
- "depth": 0,
- "lane": 0,
- "sequence": 0
}, - "random_seed": 0,
- "timestamp": 0
}, - "payload": null,
- "category": "string"
}
]
}| agent_id | string Filter by agent ID |
| scope_id | string Filter by scope ID |
| limit | integer <int64> Max results |
| offset | integer <int64> Pagination offset |
{- "entries": [
- {
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "expires_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "metadata": { },
- "owner_principal_id": "fe39bf7b-6b2d-42fc-be7f-80505e2d7f4f",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "updated_at": "2019-08-24T14:15:22Z",
- "value": { },
- "version": 0,
- "working_set_id": "a79ceddf-c6d9-475d-a02a-5558094c8980"
}
], - "total": 0
}| agent_id required | string <uuid> Owning agent. |
| expires_at | string or null <date-time> Optional expiry. |
| key required | string Stable key under |
| metadata | object or null Optional metadata. |
| scope_id | string or null <uuid> Optional scope for this entry. |
| value required | object JSON value for the entry. |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "expires_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "metadata": { },
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "value": { }
}{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "expires_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "metadata": { },
- "owner_principal_id": "fe39bf7b-6b2d-42fc-be7f-80505e2d7f4f",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "updated_at": "2019-08-24T14:15:22Z",
- "value": { },
- "version": 0,
- "working_set_id": "a79ceddf-c6d9-475d-a02a-5558094c8980"
}| agent_id required | string <uuid> Agent ID |
| key required | string Working set key |
{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "expires_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "metadata": { },
- "owner_principal_id": "fe39bf7b-6b2d-42fc-be7f-80505e2d7f4f",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "updated_at": "2019-08-24T14:15:22Z",
- "value": { },
- "version": 0,
- "working_set_id": "a79ceddf-c6d9-475d-a02a-5558094c8980"
}| agent_id required | string <uuid> Agent ID |
| key required | string Working set key |
| expires_at | string or null <date-time> Optional expiry update. |
| metadata | object or null Optional metadata update. |
| scope_id | string or null <uuid> Optional new scope binding. |
| value | object or null Optional new value. |
{- "expires_at": "2019-08-24T14:15:22Z",
- "metadata": { },
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "value": { }
}{- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "expires_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "metadata": { },
- "owner_principal_id": "fe39bf7b-6b2d-42fc-be7f-80505e2d7f4f",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "updated_at": "2019-08-24T14:15:22Z",
- "value": { },
- "version": 0,
- "working_set_id": "a79ceddf-c6d9-475d-a02a-5558094c8980"
}Returns models from all configured providers, or a single provider
if ?provider= is specified.
| provider | string Filter by provider name |
{- "models": [
- {
- "capabilities": [
- "string"
], - "contextLength": 0,
- "id": "string",
- "maxOutput": 0,
- "name": "string",
- "pricing": { },
- "provider": "string"
}
]
}| start_time | string RFC3339 start time |
| end_time | string RFC3339 end time |
| reasons_limit | integer >= 0 Max rejection reasons to return |
{- "by_gate": [
- {
- "gate_name": "string",
- "passed": 0,
- "rejected": 0
}
], - "by_mutation_type": [
- {
- "mutation_type": "string",
- "pass_rate": 0.1,
- "total": 0
}
], - "top_rejections": [
- {
- "count": 0,
- "gate_name": "string",
- "reason": "string"
}
], - "total_mutations": 0,
- "total_passed": 0,
- "total_rejected": 0
}Ingest content into CELLSTATE memory as an artifact.
Supports multiple content types:
text: Raw text contenturl: URL to fetch and extract text fromaudio: Audio content (base64 encoded or URL reference)image: Image content (base64 encoded or URL reference)video: Video content (base64 encoded or URL reference)screenshot: Screenshot content (base64 encoded)null or ArtifactType (string) | |
| content required | string The content to ingest (text or URL depending on content_type) |
| content_type | string (ContentType) Enum: "text" "url" "audio" "image" "video" "screenshot" Type of content being ingested |
| metadata | any Optional metadata for multimodal content |
| name | string or null Optional name for the artifact |
| scope_id | string or null Optional scope ID (creates one if not provided) |
| trajectory_id | string or null Optional trajectory ID (creates one if not provided) |
{- "artifact_type": { },
- "content": "string",
- "content_type": "text",
- "metadata": null,
- "name": "string",
- "scope_id": "string",
- "trajectory_id": "string"
}{- "artifact_id": "string",
- "scope_id": "string",
- "trajectory_id": "string"
}| args | Array of strings Optional explicit args. |
| command required | string Command binary or command line. |
object Optional environment overrides (filtered by sandbox policy). | |
| isolation_level | string or null Optional isolation level override: |
| max_output_bytes | integer or null <int64> >= 0 Optional output cap override in bytes. |
| memory_bytes | integer or null <int64> >= 0 Optional memory limit override in bytes. |
| timeout_ms | integer or null <int64> >= 0 Optional timeout override in milliseconds. |
{- "args": [
- "string"
], - "command": "string",
- "env": {
- "property1": "string",
- "property2": "string"
}, - "isolation_level": "string",
- "max_output_bytes": 0,
- "memory_bytes": 0,
- "timeout_ms": 0
}{- "duration_ms": 0,
- "exit_code": 0,
- "resource_violations": [
- { }
], - "stderr": "string",
- "stdout": "string",
- "timed_out": true
}| trajectory_id | string Filter by trajectory |
| scope_id | string Filter by scope |
| agent_id | string Filter by agent |
| limit | integer >= 0 Max results |
| offset | integer >= 0 Pagination offset |
{- "executions": [
- {
- "agent_id": "string",
- "command": "string",
- "duration_ms": 0,
- "exit_code": 0,
- "files_modified": [
- "string"
], - "scope_id": "string",
- "session_id": "string",
- "stderr_preview": "string",
- "stdout_preview": "string",
- "timed_out": true,
- "trajectory_id": "string"
}
], - "total": 0
}| agent_id required | string |
| command required | string |
| duration_ms required | integer <int64> >= 0 |
| exit_code required | integer <int32> |
Array of objects or null (ReportFileMutation) | |
| files_modified required | Array of strings |
| scope_id required | string |
| session_id required | string |
| source_turn | integer or null <int32> |
| stderr_preview required | string |
| stdout_preview required | string |
| timed_out required | boolean |
| trajectory_id required | string |
{- "agent_id": "string",
- "command": "string",
- "duration_ms": 0,
- "exit_code": 0,
- "file_mutations": [
- {
- "content": "string",
- "modified_at": "string",
- "path": "string"
}
], - "files_modified": [
- "string"
], - "scope_id": "string",
- "session_id": "string",
- "source_turn": 0,
- "stderr_preview": "string",
- "stdout_preview": "string",
- "timed_out": true,
- "trajectory_id": "string"
}{- "classification": { },
- "event_id": "string",
- "has_mutations": true,
- "mutation_receipts": [
- "string"
], - "parsed_output": { }
}| action required | string |
| duration_ms required | integer <int64> >= 0 |
| error | string or null |
| navigation_count | integer or null <int32> >= 0 |
| result_summary required | any |
| screenshot | string or null |
| session_id required | string |
| success required | boolean |
| url | string or null |
{- "action": "string",
- "duration_ms": 0,
- "error": "string",
- "navigation_count": 0,
- "result_summary": null,
- "screenshot": "string",
- "session_id": "string",
- "success": true,
- "url": "string"
}{- "event_id": "string"
}| input required | object Arbitrary JSON input. |
{- "input": { }
}{- "created_at": "2019-08-24T14:15:22Z",
- "error_message": "string",
- "input": { },
- "output": { },
- "status": "submitted",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "updated_at": "2019-08-24T14:15:22Z"
}| task_id required | string Task ID |
{- "created_at": "2019-08-24T14:15:22Z",
- "error_message": "string",
- "input": { },
- "output": { },
- "status": "submitted",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "updated_at": "2019-08-24T14:15:22Z"
}The route now composes through the mutation pipeline so cancellation emits the same receipt/event semantics as other stateful mutations.
| task_id required | string Task ID |
{- "created_at": "2019-08-24T14:15:22Z",
- "error_message": "string",
- "input": { },
- "output": { },
- "status": "submitted",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "updated_at": "2019-08-24T14:15:22Z"
}| task_id required | string Task ID |
| output required | object Task output. |
{- "output": { }
}{- "created_at": "2019-08-24T14:15:22Z",
- "error_message": "string",
- "input": { },
- "output": { },
- "status": "submitted",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "updated_at": "2019-08-24T14:15:22Z"
}Emits the current task state immediately, then polls every second for
state changes. The stream closes automatically once the task reaches a
terminal state (completed, canceled, or failed).
| task_id required | string Task ID |
| task_id required | string Task ID |
| error_message required | string Human-readable error description. |
{- "error_message": "string"
}{- "created_at": "2019-08-24T14:15:22Z",
- "error_message": "string",
- "input": { },
- "output": { },
- "status": "submitted",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "updated_at": "2019-08-24T14:15:22Z"
}| task_id required | string Task ID |
{- "created_at": "2019-08-24T14:15:22Z",
- "error_message": "string",
- "input": { },
- "output": { },
- "status": "submitted",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "updated_at": "2019-08-24T14:15:22Z"
}Accepts a full property snapshot for a component instance. On first write, stores the snapshot and returns version 1 with no patches (full state is the baseline). On subsequent writes, computes JSON Patch (RFC 6902) diffs against the previous state and broadcasts changes to SSE subscribers.
| instanceId required | string Component instance ID. |
| props required | any Current component properties (full snapshot). |
{- "instanceId": "string",
- "props": null
}{- "instanceId": "string",
- "patches": [
- null
], - "version": 0
}Subscribes to the A2UI broadcast channel and emits JSON Patch events as they arrive. Each event contains the instance_id, version, and patch operations.
On connection, emits an initial state_snapshot SSE event containing
the full current state of all component instances for the authenticated
tenant. This allows late-joining subscribers to bootstrap their local
state before receiving incremental patches.
SSE endpoint that streams AG-UI protocol events for a given trajectory. Subscribes to internal event bus, filters by tenant and trajectory, and transforms events into AG-UI format.
| trajectory_id required | string Trajectory ID (UUID) to stream events for |
required | object (CompletionArgument) The argument being completed |
required | object or object (CompletionReference) |
{- "argument": {
- "name": "string",
- "value": "string"
}, - "ref": {
- "name": "string",
- "type": "ref/prompt"
}
}{- "completion": {
- "has_more": true,
- "total": 0,
- "values": [
- "string"
]
}
}| level required | string (LoggingLevel) Enum: "emergency" "alert" "critical" "error" "warning" "notice" "info" "debug" The log level to set |
{- "level": "emergency"
}{- "level": "emergency"
}| edge_type required | string (EdgeType) Enum: "supports" "contradicts" "supersedes" "derived_from" "relates_to" "temporal" "causal" "synthesized_from" "grouped" "compared" Type of edge |
| metadata | any Optional metadata |
required | Array of objects (EdgeParticipantRequest) Edge participants (entities involved) |
required | object (ProvenanceRequest) Provenance information |
| trajectory_id | string or null <uuid> Optional trajectory ID for context |
| weight | number or null <float> Optional weight/strength of relationship [0.0, 1.0] |
{- "edge_type": "supports",
- "metadata": null,
- "participants": [
- {
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "entity_type": "trajectory",
- "role": "string"
}
], - "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "weight": 0
}{- "created_at": "2019-08-24T14:15:22Z",
- "edge_id": "b311b798-212e-414c-ba53-c572923101d4",
- "edge_type": "supports",
- "metadata": { },
- "participants": [
- {
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "entity_type": "trajectory",
- "role": "string"
}
], - "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "weight": 0
}| edge_type required | string (EdgeType) Enum: "supports" "contradicts" "supersedes" "derived_from" "relates_to" "temporal" "causal" "synthesized_from" "grouped" "compared" Type of edge |
| metadata | any Optional metadata |
required | Array of objects (EdgeParticipantRequest) Edge participants (entities involved) |
required | object (ProvenanceRequest) Provenance information |
| trajectory_id | string or null <uuid> Optional trajectory ID for context |
| weight | number or null <float> Optional weight/strength of relationship [0.0, 1.0] |
[- {
- "edge_type": "supports",
- "metadata": null,
- "participants": [
- {
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "entity_type": "trajectory",
- "role": "string"
}
], - "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "weight": 0
}
]{- "edges": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "edge_id": "b311b798-212e-414c-ba53-c572923101d4",
- "edge_type": "supports",
- "metadata": { },
- "participants": [
- {
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "entity_type": "trajectory",
- "role": "string"
}
], - "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "weight": 0
}
]
}| entity_id required | string Entity ID to find edges for |
{- "edges": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "edge_id": "b311b798-212e-414c-ba53-c572923101d4",
- "edge_type": "supports",
- "metadata": { },
- "participants": [
- {
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "entity_type": "trajectory",
- "role": "string"
}
], - "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "weight": 0
}
]
}| start_id required | string Start entity ID |
| max_depth | integer <int32> Maximum traversal depth |
| rel_types | Array of strings Optional relation type filter |
| limit | integer <int64> Optional maximum returned rows |
{- "links": [
- {
- "depth": 0,
- "dst_id": "0c1826d2-037e-4c63-abbe-e4efc3726f63",
- "dst_type": "trajectory",
- "edge_id": "b311b798-212e-414c-ba53-c572923101d4",
- "props": { },
- "rel_type": "supports",
- "src_id": "ca611de0-a436-493d-ac6a-d8dbbe49cf5d",
- "src_type": "trajectory",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "weight": 0
}
]
}| id required | string Edge ID |
{- "created_at": "2019-08-24T14:15:22Z",
- "edge_id": "b311b798-212e-414c-ba53-c572923101d4",
- "edge_type": "supports",
- "metadata": { },
- "participants": [
- {
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "entity_type": "trajectory",
- "role": "string"
}
], - "provenance": {
- "confidence": 0,
- "extraction_method": "explicit",
- "source_turn": 0
}, - "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "weight": 0
}| create_edges required | boolean Whether to create SynthesizedFrom edges |
| max_sources required | integer <int32> Maximum sources to summarize at once |
| metadata | any Optional metadata |
| name required | string Policy name |
| source_level required | string (AbstractionLevel) Enum: "raw" "summary" "principle" Source abstraction level (e.g., Raw/L0) |
| target_level required | string (AbstractionLevel) Enum: "raw" "summary" "principle" Target abstraction level (e.g., Summary/L1) |
| trajectory_id | string or null <uuid> Optional trajectory ID to scope this policy |
required | Array of objects or strings or objects or objects or strings (SummarizationTrigger) Triggers that fire this policy |
{- "create_edges": true,
- "max_sources": 0,
- "metadata": null,
- "name": "string",
- "source_level": "raw",
- "target_level": "raw",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "triggers": [
- {
- "dosage_threshold": {
- "percent": 0
}
}
]
}{- "create_edges": true,
- "created_at": "2019-08-24T14:15:22Z",
- "max_sources": 0,
- "metadata": { },
- "name": "string",
- "source_level": "raw",
- "summarization_policy_id": "d5e4506d-9171-4b67-8185-83ba27dceeb0",
- "target_level": "raw",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "triggers": [
- {
- "dosage_threshold": {
- "percent": 0
}
}
]
}| id required | string Policy ID |
{- "create_edges": true,
- "created_at": "2019-08-24T14:15:22Z",
- "max_sources": 0,
- "metadata": { },
- "name": "string",
- "source_level": "raw",
- "summarization_policy_id": "d5e4506d-9171-4b67-8185-83ba27dceeb0",
- "target_level": "raw",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "triggers": [
- {
- "dosage_threshold": {
- "percent": 0
}
}
]
}| id required | string Trajectory ID |
{- "policies": [
- {
- "create_edges": true,
- "created_at": "2019-08-24T14:15:22Z",
- "max_sources": 0,
- "metadata": { },
- "name": "string",
- "source_level": "raw",
- "summarization_policy_id": "d5e4506d-9171-4b67-8185-83ba27dceeb0",
- "target_level": "raw",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "triggers": [
- {
- "dosage_threshold": {
- "percent": 0
}
}
]
}
]
}| status | string Filter by status (pending, in_progress, completed, failed) |
| scope_id | string Filter by scope ID |
| summarization_policy_id | string Filter by policy ID |
| limit | integer <int64> Max results (default 50) |
| offset | integer <int64> Offset for pagination |
{- "requests": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "create_edges": true,
- "max_sources": 0,
- "metadata": { },
- "requested_at": "2019-08-24T14:15:22Z",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "source_level": "raw",
- "status": "pending",
- "summarization_policy_id": "d5e4506d-9171-4b67-8185-83ba27dceeb0",
- "summarization_request_id": "6d29a8f7-a2a8-4c5a-9e9b-61c3fe12a8ee",
- "target_level": "raw",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "trigger": {
- "dosage_threshold": {
- "percent": 0
}
}
}
]
}| id required | string Summarization Request ID |
{- "completed_at": "2019-08-24T14:15:22Z",
- "create_edges": true,
- "max_sources": 0,
- "metadata": { },
- "requested_at": "2019-08-24T14:15:22Z",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "source_level": "raw",
- "status": "pending",
- "summarization_policy_id": "d5e4506d-9171-4b67-8185-83ba27dceeb0",
- "summarization_request_id": "6d29a8f7-a2a8-4c5a-9e9b-61c3fe12a8ee",
- "target_level": "raw",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "trajectory_id": "60bbb3ae-5c7a-4eeb-b50a-0e5f76826848",
- "trigger": {
- "dosage_threshold": {
- "percent": 0
}
}
}| id required | string Summarization Request ID |
| status required | string (SummarizationRequestStatus) Enum: "pending" "in_progress" "completed" "failed" New status for the request |
{- "status": "pending"
}{- "code": "UNAUTHORIZED",
- "details": { },
- "message": "string"
}