@naturali/sdk 0.128.0 → 0.130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +92 -2
- package/dist/index.d.cts +697 -145
- package/dist/index.d.mts +697 -145
- package/dist/index.mjs +92 -3
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -763,27 +763,6 @@ type Agent = {
|
|
|
763
763
|
* Public ID of the memory store the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
|
|
764
764
|
*/
|
|
765
765
|
write_memory_store_id?: string | null;
|
|
766
|
-
/**
|
|
767
|
-
* Automatic fact extraction from completed generation turns (requires write_memory_store_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory store through the standard dedup/merge/skip algorithm.
|
|
768
|
-
*/
|
|
769
|
-
extraction?: boolean | {
|
|
770
|
-
/**
|
|
771
|
-
* Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
|
|
772
|
-
*/
|
|
773
|
-
enabled?: boolean;
|
|
774
|
-
/**
|
|
775
|
-
* AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
|
|
776
|
-
*/
|
|
777
|
-
ai_provider_id?: string;
|
|
778
|
-
/**
|
|
779
|
-
* Model override for extraction calls.
|
|
780
|
-
*/
|
|
781
|
-
model?: string;
|
|
782
|
-
/**
|
|
783
|
-
* Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
|
|
784
|
-
*/
|
|
785
|
-
prompt?: string;
|
|
786
|
-
};
|
|
787
766
|
} | null;
|
|
788
767
|
/**
|
|
789
768
|
* JSON Schema describing the structured object the model must return. When set, non-streaming generations constrain output to this schema and the parsed value is returned as `output.object`. The schema is enforced on the way back, not just sent to the model: an object that violates it fails the generation with 502 `OUTPUT_SCHEMA_VALIDATION_FAILED`, naming the violated field. Constraints beyond `required`/`type` (`minLength`, `enum`, `pattern`, `minItems`) are honored and are what reject a structurally valid but degenerate answer. See the Structured Output section in the Agents module docs.
|
|
@@ -982,27 +961,6 @@ type CreateAgentRequest = {
|
|
|
982
961
|
* Public ID of the memory store the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
|
|
983
962
|
*/
|
|
984
963
|
write_memory_store_id?: string | null;
|
|
985
|
-
/**
|
|
986
|
-
* Automatic fact extraction from completed generation turns (requires write_memory_store_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory store through the standard dedup/merge/skip algorithm.
|
|
987
|
-
*/
|
|
988
|
-
extraction?: boolean | {
|
|
989
|
-
/**
|
|
990
|
-
* Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
|
|
991
|
-
*/
|
|
992
|
-
enabled?: boolean;
|
|
993
|
-
/**
|
|
994
|
-
* AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
|
|
995
|
-
*/
|
|
996
|
-
ai_provider_id?: string;
|
|
997
|
-
/**
|
|
998
|
-
* Model override for extraction calls.
|
|
999
|
-
*/
|
|
1000
|
-
model?: string;
|
|
1001
|
-
/**
|
|
1002
|
-
* Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
|
|
1003
|
-
*/
|
|
1004
|
-
prompt?: string;
|
|
1005
|
-
};
|
|
1006
964
|
};
|
|
1007
965
|
/**
|
|
1008
966
|
* JSON Schema describing the structured object the model must return. When set, non-streaming generations constrain output to this schema and the parsed value is returned as `output.object`. The schema is enforced on the way back, not just sent to the model: an object that violates it fails the generation with 502 `OUTPUT_SCHEMA_VALIDATION_FAILED`, naming the violated field. Constraints beyond `required`/`type` (`minLength`, `enum`, `pattern`, `minItems`) are honored and are what reject a structurally valid but degenerate answer. See the Structured Output section in the Agents module docs.
|
|
@@ -1099,27 +1057,6 @@ type UpdateAgentRequest = {
|
|
|
1099
1057
|
* Public ID of the memory store the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
|
|
1100
1058
|
*/
|
|
1101
1059
|
write_memory_store_id?: string | null;
|
|
1102
|
-
/**
|
|
1103
|
-
* Automatic fact extraction from completed generation turns (requires write_memory_store_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory store through the standard dedup/merge/skip algorithm.
|
|
1104
|
-
*/
|
|
1105
|
-
extraction?: boolean | {
|
|
1106
|
-
/**
|
|
1107
|
-
* Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
|
|
1108
|
-
*/
|
|
1109
|
-
enabled?: boolean;
|
|
1110
|
-
/**
|
|
1111
|
-
* AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
|
|
1112
|
-
*/
|
|
1113
|
-
ai_provider_id?: string;
|
|
1114
|
-
/**
|
|
1115
|
-
* Model override for extraction calls.
|
|
1116
|
-
*/
|
|
1117
|
-
model?: string;
|
|
1118
|
-
/**
|
|
1119
|
-
* Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
|
|
1120
|
-
*/
|
|
1121
|
-
prompt?: string;
|
|
1122
|
-
};
|
|
1123
1060
|
} | null;
|
|
1124
1061
|
/**
|
|
1125
1062
|
* JSON Schema describing the structured object the model must return. When set, non-streaming generations constrain output to this schema and the parsed value is returned as `output.object`. The schema is enforced on the way back, not just sent to the model: an object that violates it fails the generation with 502 `OUTPUT_SCHEMA_VALIDATION_FAILED`, naming the violated field. Constraints beyond `required`/`type` (`minLength`, `enum`, `pattern`, `minItems`) are honored and are what reject a structurally valid but degenerate answer. See the Structured Output section in the Agents module docs.
|
|
@@ -1204,10 +1141,6 @@ type CreateAgentGenerationRequest = {
|
|
|
1204
1141
|
metadata?: {
|
|
1205
1142
|
[key: string]: unknown;
|
|
1206
1143
|
} | null;
|
|
1207
|
-
/**
|
|
1208
|
-
* Per-turn override of the agent's `knowledge_config.extraction` default. Omit to follow the agent's stored config. Set `false` to suppress automatic memory store extraction for this turn (e.g. an operational or tool-listing turn that would only add noise to a curated memory store). Set `true` to force extraction on for this turn even when the agent does not enable it by default, provided the agent has a `write_memory_store_id`. Has no effect on streaming or `requires_action` turns, which never extract.
|
|
1209
|
-
*/
|
|
1210
|
-
extract?: boolean;
|
|
1211
1144
|
/**
|
|
1212
1145
|
* Per-generation knowledge retrieval override. Array filters (memory_store_ids, document_ids, document_paths) are unioned with the agent's stored knowledge_config; `tags` pairs are merged with the override winning per key; scalar fields (min_score, limit) use the per-generation value when present.
|
|
1213
1146
|
*/
|
|
@@ -1404,7 +1337,7 @@ type CreateToolRequest = {
|
|
|
1404
1337
|
*/
|
|
1405
1338
|
denied_actions?: Array<string>;
|
|
1406
1339
|
/**
|
|
1407
|
-
* Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Naturali-Context-<key>` by default). When `null` or omitted, every key in the caller's `tool_context` is forwarded
|
|
1340
|
+
* Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Naturali-Context-<key>` by default). When `null` or omitted, every key in the caller's `tool_context` is forwarded. When set, only the listed keys are, so a per-user credential in `tool_context` can be confined to the tools that need it; `[]` forwards none. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are always forwarded. A key consumed by a `{{context:<key>}}` token in this tool's own headers is substituted regardless of this list — the tool declared that header itself.
|
|
1408
1341
|
*/
|
|
1409
1342
|
context_keys?: Array<string> | null;
|
|
1410
1343
|
/**
|
|
@@ -3066,27 +2999,6 @@ type AgentResourceProperties = {
|
|
|
3066
2999
|
* Public ID of the memory store the agent can write to. When set, a `write_memory` tool is automatically available to the agent.
|
|
3067
3000
|
*/
|
|
3068
3001
|
write_memory_store_id?: string | null;
|
|
3069
|
-
/**
|
|
3070
|
-
* Automatic fact extraction from completed generation turns (requires write_memory_store_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion.
|
|
3071
|
-
*/
|
|
3072
|
-
extraction?: boolean | {
|
|
3073
|
-
/**
|
|
3074
|
-
* Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
|
|
3075
|
-
*/
|
|
3076
|
-
enabled?: boolean;
|
|
3077
|
-
/**
|
|
3078
|
-
* AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
|
|
3079
|
-
*/
|
|
3080
|
-
ai_provider_id?: string;
|
|
3081
|
-
/**
|
|
3082
|
-
* Model override for extraction calls.
|
|
3083
|
-
*/
|
|
3084
|
-
model?: string;
|
|
3085
|
-
/**
|
|
3086
|
-
* Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
|
|
3087
|
-
*/
|
|
3088
|
-
prompt?: string;
|
|
3089
|
-
};
|
|
3090
3002
|
} | null;
|
|
3091
3003
|
/**
|
|
3092
3004
|
* JSON Schema describing the structured object the model must return. Non-streaming generations are constrained to this schema; the parsed value is returned as `output.object`.
|
|
@@ -3384,6 +3296,14 @@ type MemoryStoreResourceProperties = {
|
|
|
3384
3296
|
*/
|
|
3385
3297
|
description?: string | null;
|
|
3386
3298
|
tags?: NullableTagBag;
|
|
3299
|
+
/**
|
|
3300
|
+
* Cosine similarity at or above which an incoming fact is already known and the write is skipped. Null uses the algorithm constant (0.95). This is where a template sets the corpus's dedup policy: a `memory` resource has no threshold of its own.
|
|
3301
|
+
*/
|
|
3302
|
+
duplicate_threshold?: number | null;
|
|
3303
|
+
/**
|
|
3304
|
+
* Cosine similarity at or above which an incoming fact restates a known one that has changed, retiring it. Null uses the algorithm constant (0.90). Must be lower than the effective `duplicate_threshold`.
|
|
3305
|
+
*/
|
|
3306
|
+
supersede_threshold?: number | null;
|
|
3387
3307
|
};
|
|
3388
3308
|
/**
|
|
3389
3309
|
* Adds a single memory to a memory store.
|
|
@@ -3633,6 +3553,57 @@ type IngestionRuleResourceProperties = {
|
|
|
3633
3553
|
[key: string]: unknown;
|
|
3634
3554
|
} | null;
|
|
3635
3555
|
};
|
|
3556
|
+
/**
|
|
3557
|
+
* Declares what a memory store accepts from completed agent turns: a selector, an event, and a handler. With neither `agent_id` nor `tool_id` the built-in extractor runs, configurable through `prompt`, `ai_provider_id` and `model`. See the Memory Rules section of the Memories module docs.
|
|
3558
|
+
*/
|
|
3559
|
+
type MemoryRuleResourceProperties = {
|
|
3560
|
+
/**
|
|
3561
|
+
* Public ID of the destination memory store
|
|
3562
|
+
*/
|
|
3563
|
+
memory_store_id: string;
|
|
3564
|
+
/**
|
|
3565
|
+
* `agents.generation.completed` (once per completed turn, and the only event the built-in extractor may bind to) or `conversations.message.generated` (per persisted assistant reply, custom handlers only).
|
|
3566
|
+
*/
|
|
3567
|
+
on: string;
|
|
3568
|
+
/**
|
|
3569
|
+
* Agents whose turns this rule reads; null is every agent in the project
|
|
3570
|
+
*/
|
|
3571
|
+
source_agent_ids?: Array<string> | null;
|
|
3572
|
+
/**
|
|
3573
|
+
* Handler agent ID (mutually exclusive with tool_id)
|
|
3574
|
+
*/
|
|
3575
|
+
agent_id?: string | null;
|
|
3576
|
+
/**
|
|
3577
|
+
* Handler tool ID (mutually exclusive with agent_id)
|
|
3578
|
+
*/
|
|
3579
|
+
tool_id?: string | null;
|
|
3580
|
+
/**
|
|
3581
|
+
* Operation id, for a tool handler
|
|
3582
|
+
*/
|
|
3583
|
+
action?: string | null;
|
|
3584
|
+
/**
|
|
3585
|
+
* Merged into a tool handler's input before invocation
|
|
3586
|
+
*/
|
|
3587
|
+
preset_parameters?: {
|
|
3588
|
+
[key: string]: unknown;
|
|
3589
|
+
} | null;
|
|
3590
|
+
/**
|
|
3591
|
+
* Replaces the built-in extractor's task instructions (no handler only)
|
|
3592
|
+
*/
|
|
3593
|
+
prompt?: string | null;
|
|
3594
|
+
/**
|
|
3595
|
+
* Provider override for the built-in extractor (no handler only)
|
|
3596
|
+
*/
|
|
3597
|
+
ai_provider_id?: string | null;
|
|
3598
|
+
/**
|
|
3599
|
+
* Model override for the built-in extractor (no handler only)
|
|
3600
|
+
*/
|
|
3601
|
+
model?: string | null;
|
|
3602
|
+
/**
|
|
3603
|
+
* A disabled rule is kept and never fires
|
|
3604
|
+
*/
|
|
3605
|
+
enabled?: boolean;
|
|
3606
|
+
};
|
|
3636
3607
|
/**
|
|
3637
3608
|
* Creates a DAG orchestration that wires agents, tools, and knowledge lookups into a repeatable pipeline within the formation's project. Node resource references (`agent_id`, `tool_id`, `memory_store_id`, `orchestration_id`) accept `{ "ref": "LogicalId" }` expressions to point at other resources declared in the same template — the basis for deploying an agent "squad" (a team of agents plus the flow that coordinates them) as a single stack.
|
|
3638
3609
|
*/
|
|
@@ -3781,7 +3752,7 @@ type GuardrailResourceProperties = {
|
|
|
3781
3752
|
};
|
|
3782
3753
|
type ResourceDeclaration = {
|
|
3783
3754
|
/**
|
|
3784
|
-
* Resource type. The types this API accepts are `ai_provider`, `tool`, `agent`, `actor`, `conversation`, `dataset`, `dataset_item`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory_store`, `memory`, `model_route`, `eval`, `orchestration`, `quota`, `secret`, `session`, `trigger` and `workflow` — plus two naturali registers itself and handles through its own lifecycle: `channel`, taking the same property names the channels API takes (its credential properties are write-only, so a tenant credential never lands in the resource ledger), and `naturali_ai_provider`, which takes a `default_model` from the model catalog and provisions a provider running on naturali's own model access (it carries no credential of yours, so it accepts none). A template naming any other type is refused with `400 unsupported_resource_type` before it reaches the runtime — including the runtime's own `api_key`, `chat`, `policy`, `project_price` and `webhook` types, which this API does not expose.
|
|
3755
|
+
* Resource type. The types this API accepts are `ai_provider`, `tool`, `agent`, `actor`, `conversation`, `dataset`, `dataset_item`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory_store`, `memory`, `memory_rule`, `model_route`, `eval`, `orchestration`, `quota`, `secret`, `session`, `trigger` and `workflow` — plus two naturali registers itself and handles through its own lifecycle: `channel`, taking the same property names the channels API takes (its credential properties are write-only, so a tenant credential never lands in the resource ledger), and `naturali_ai_provider`, which takes a `default_model` from the model catalog and provisions a provider running on naturali's own model access (it carries no credential of yours, so it accepts none). A template naming any other type is refused with `400 unsupported_resource_type` before it reaches the runtime — including the runtime's own `api_key`, `chat`, `policy`, `project_price` and `webhook` types, which this API does not expose.
|
|
3785
3756
|
*
|
|
3786
3757
|
* This is deliberately not an enum: a deployment operator can register additional resource types backed by their own handler, and those are declared here exactly like a built-in one. The set a given deployment accepts is authoritative in the server, which rejects an unregistered type with `VALIDATION_FAILED` and lists what it does support.
|
|
3787
3758
|
*
|
|
@@ -3817,7 +3788,7 @@ type FormationResource = {
|
|
|
3817
3788
|
*/
|
|
3818
3789
|
logical_id?: string;
|
|
3819
3790
|
/**
|
|
3820
|
-
* Resource type (e.g. agent
|
|
3791
|
+
* Resource type (e.g. `agent`, `memory_store`)
|
|
3821
3792
|
*/
|
|
3822
3793
|
resource_type?: string;
|
|
3823
3794
|
/**
|
|
@@ -4029,6 +4000,11 @@ type Generation = {
|
|
|
4029
4000
|
*
|
|
4030
4001
|
*/
|
|
4031
4002
|
chain_id?: string | null;
|
|
4003
|
+
/**
|
|
4004
|
+
* Public ID of the conversation this turn served, or null for a generation started outside one — a direct call, a trigger, an orchestration node. This is the edge a memory assertion walks up to reach the conversation a fact was learned in.
|
|
4005
|
+
*
|
|
4006
|
+
*/
|
|
4007
|
+
conversation_id?: string | null;
|
|
4032
4008
|
/**
|
|
4033
4009
|
* Public ID of the session this generation was dispatched through, or null for a generation started outside one. This is the link a per-session cost reading follows; the session's own `usage` field reports the roll-up directly.
|
|
4034
4010
|
*
|
|
@@ -4103,27 +4079,35 @@ type Generation = {
|
|
|
4103
4079
|
*/
|
|
4104
4080
|
agent_version?: number | null;
|
|
4105
4081
|
/**
|
|
4106
|
-
*
|
|
4082
|
+
* What each [memory rule](/docs/modules/memories#memory-rules) bound to `agents.generation.completed` wrote for this turn, keyed by the rule's id — a store may have several rules, and one flat pair of counts could not say which produced them. Absent when no rule fired. Rules bound to `conversations.message.generated` are recorded in `memory_assertions` only. The rows behind every count are in `memory_assertions`, so the summary and what it summarizes can be reconciled.
|
|
4107
4083
|
*
|
|
4108
4084
|
*/
|
|
4109
4085
|
extraction?: {
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4086
|
+
[key: string]: {
|
|
4087
|
+
/**
|
|
4088
|
+
* Number of candidates the rule's handler proposed
|
|
4089
|
+
*/
|
|
4090
|
+
candidates?: number;
|
|
4091
|
+
/**
|
|
4092
|
+
* Number of new memories created
|
|
4093
|
+
*/
|
|
4094
|
+
created?: number;
|
|
4095
|
+
/**
|
|
4096
|
+
* Number of candidates that restated a known fact that had changed, retiring the memory holding it
|
|
4097
|
+
*
|
|
4098
|
+
*/
|
|
4099
|
+
superseded?: number;
|
|
4100
|
+
/**
|
|
4101
|
+
* Number of candidates skipped (e.g. duplicates)
|
|
4102
|
+
*/
|
|
4103
|
+
skipped?: number;
|
|
4104
|
+
};
|
|
4126
4105
|
} | null;
|
|
4106
|
+
/**
|
|
4107
|
+
* Every memory write this turn made, oldest first — each memory rule's firings and the agent's own `write_memory` calls alike, which the `extraction` counts never covered. Present on the single read only; a listing would make it one extra query per generation.
|
|
4108
|
+
*
|
|
4109
|
+
*/
|
|
4110
|
+
memory_assertions?: Array<MemoryAssertion>;
|
|
4127
4111
|
/**
|
|
4128
4112
|
* What this turn's tool definitions cost to send — the one part of a prompt no provider reports and no caller can derive, since the tool block is a constant inside the reported totals and identical on every step.
|
|
4129
4113
|
*
|
|
@@ -4358,6 +4342,55 @@ type GenerationTranscript = {
|
|
|
4358
4342
|
*/
|
|
4359
4343
|
content_redacted_by_principal_id?: string | null;
|
|
4360
4344
|
};
|
|
4345
|
+
/**
|
|
4346
|
+
* One write attempt against a memory store: some principal, through some mechanism, claimed a fact. Append-only, and recorded whatever the outcome — including the skips, which left no record anywhere before.
|
|
4347
|
+
*/
|
|
4348
|
+
type MemoryAssertion = {
|
|
4349
|
+
id?: string;
|
|
4350
|
+
memory_store_id?: string;
|
|
4351
|
+
/**
|
|
4352
|
+
* The memory this assertion resolved into: the new memory for `created` and `superseded`, the existing memory that matched for `skipped`. Null only once that memory has been deleted.
|
|
4353
|
+
*/
|
|
4354
|
+
memory_id?: string | null;
|
|
4355
|
+
/**
|
|
4356
|
+
* The memory this assertion retired, on a `superseded` outcome; null otherwise. Read back from `memories.superseded_by_memory_id` rather than stored here, because validity lives on the memory — where every read filters it — and exactly one memory is superseded per assertion.
|
|
4357
|
+
*/
|
|
4358
|
+
superseded_memory_id?: string | null;
|
|
4359
|
+
/**
|
|
4360
|
+
* The text as asserted, which is not necessarily the memory's text: a `skipped` assertion records what was claimed, while the memory keeps what it already held.
|
|
4361
|
+
*/
|
|
4362
|
+
content?: string;
|
|
4363
|
+
/**
|
|
4364
|
+
* Which door the write came through. `tool` is the agent's `write_memory` call mid-turn; `rule` is a post-turn pass over the finished turn; `api` is `POST /v1/projects/{project_id}/memories`; `formation` is a `memory` resource in an applied template. It answers *how*, never *who* — the principal fields answer that.
|
|
4365
|
+
*/
|
|
4366
|
+
mechanism?: 'tool' | 'rule' | 'api' | 'formation';
|
|
4367
|
+
/**
|
|
4368
|
+
* The memory rule whose firing wrote this, set only when `mechanism` is `rule` — the built-in extractor included, since that is a rule with no handler. Null once the rule has been deleted, and on assertions written before memory rules shipped.
|
|
4369
|
+
*/
|
|
4370
|
+
rule_id?: string | null;
|
|
4371
|
+
/**
|
|
4372
|
+
* The turn that asserted the fact — the origin of anything an agent wrote, and the edge a conversation is reachable from. Null on the `api` and `formation` doors, which have no generation behind them.
|
|
4373
|
+
*/
|
|
4374
|
+
generation_id?: string | null;
|
|
4375
|
+
/**
|
|
4376
|
+
* Who claimed the fact, in the vocabulary a generation records its starter with, plus `agent`. On both agent doors the principal is the agent itself — the extractor runs under its identity.
|
|
4377
|
+
*/
|
|
4378
|
+
principal_type?: string;
|
|
4379
|
+
principal_id?: string;
|
|
4380
|
+
/**
|
|
4381
|
+
* What the write resolved to. `created` is a distinct fact, `superseded` is the same fact changed (the top match was invalidated and replaced), `skipped` is a fact already known.
|
|
4382
|
+
*/
|
|
4383
|
+
outcome?: 'created' | 'superseded' | 'skipped';
|
|
4384
|
+
/**
|
|
4385
|
+
* The cosine similarity the outcome was decided against — the top match's, or the declared target's when `declared` is true, where it decides nothing and only records how far apart the two statements were. Null when there was nothing to compare against, or when the content could not be embedded.
|
|
4386
|
+
*/
|
|
4387
|
+
similarity?: number | null;
|
|
4388
|
+
/**
|
|
4389
|
+
* Whether the write named the memory it replaced (`supersedes` on create) instead of the thresholds choosing one. Always false on a `created` or `skipped` outcome.
|
|
4390
|
+
*/
|
|
4391
|
+
declared?: boolean;
|
|
4392
|
+
created_at?: Date;
|
|
4393
|
+
};
|
|
4361
4394
|
/**
|
|
4362
4395
|
* Token counts and cost for one slice of the meter. Tokens and cost only: a `compute_second` or `gb_day` meter is reported by the aggregate's `components` array.
|
|
4363
4396
|
*
|
|
@@ -4648,6 +4681,19 @@ type DocumentKnowledgeResult = {
|
|
|
4648
4681
|
* Reciprocal-rank-fusion relevance ranking — higher is better. The **ordering** it produces is the contract; the absolute value is not, is deliberately not rescaled into 0–1, and the formula behind it may change. Results are sorted by it. Nothing filters on it: `min_similarity` filters `similarity_score`. Only present when `query` was provided. Use `similarity_score` when you need the raw cosine value.
|
|
4649
4682
|
*/
|
|
4650
4683
|
score?: number;
|
|
4684
|
+
/**
|
|
4685
|
+
* Which retrieval channels ranked this result before fusion, and its 1-based position in that channel's own ordering. A channel that did not return the result is absent, so presence reads as "this channel found it". `score` says where the result landed; this says how it got there — `{ "lexical": 1 }` is a pure token hit, `{ "vector": 2, "lexical": 1 }` a result both channels found and fusion promoted. Only present when `query` was provided; a channel that degraded is absent from every result. Diagnostic: nothing filters or sorts on it.
|
|
4686
|
+
*/
|
|
4687
|
+
signals?: {
|
|
4688
|
+
/**
|
|
4689
|
+
* Rank in the vector (cosine) channel, best first.
|
|
4690
|
+
*/
|
|
4691
|
+
vector?: number;
|
|
4692
|
+
/**
|
|
4693
|
+
* Rank in the lexical (full-text) channel, best first.
|
|
4694
|
+
*/
|
|
4695
|
+
lexical?: number;
|
|
4696
|
+
};
|
|
4651
4697
|
/**
|
|
4652
4698
|
* Raw cosine similarity (0–1) between the query and this result. Pinned to that meaning — unlike `score`, it is never redefined — and populated on every result of a `query` search, a lexical-only hit included. Absent only when the embedding provider was unreachable and the search answered from the lexical channel alone, where there is no query vector to measure against.
|
|
4653
4699
|
*/
|
|
@@ -4686,6 +4732,19 @@ type MemoryKnowledgeResult = {
|
|
|
4686
4732
|
* Reciprocal-rank-fusion relevance ranking — higher is better. The **ordering** it produces is the contract; the absolute value is not, is deliberately not rescaled into 0–1, and the formula behind it may change. Results are sorted by it. Nothing filters on it: `min_similarity` filters `similarity_score`. Only present when `query` was provided. Use `similarity_score` when you need the raw cosine value.
|
|
4687
4733
|
*/
|
|
4688
4734
|
score?: number;
|
|
4735
|
+
/**
|
|
4736
|
+
* Which retrieval channels ranked this result before fusion, and its 1-based position in that channel's own ordering. A channel that did not return the result is absent, so presence reads as "this channel found it". `score` says where the result landed; this says how it got there — `{ "lexical": 1 }` is a pure token hit, `{ "vector": 2, "lexical": 1 }` a result both channels found and fusion promoted. Only present when `query` was provided; a channel that degraded is absent from every result. Diagnostic: nothing filters or sorts on it.
|
|
4737
|
+
*/
|
|
4738
|
+
signals?: {
|
|
4739
|
+
/**
|
|
4740
|
+
* Rank in the vector (cosine) channel, best first.
|
|
4741
|
+
*/
|
|
4742
|
+
vector?: number;
|
|
4743
|
+
/**
|
|
4744
|
+
* Rank in the lexical (full-text) channel, best first.
|
|
4745
|
+
*/
|
|
4746
|
+
lexical?: number;
|
|
4747
|
+
};
|
|
4689
4748
|
/**
|
|
4690
4749
|
* Raw cosine similarity (0–1) between the query and this result. Pinned to that meaning — unlike `score`, it is never redefined — and populated on every result of a `query` search, a lexical-only hit included. Absent only when the embedding provider was unreachable and the search answered from the lexical channel alone, where there is no query vector to measure against.
|
|
4691
4750
|
*/
|
|
@@ -4702,6 +4761,9 @@ type MemoryKnowledgeResult = {
|
|
|
4702
4761
|
type Memory = {
|
|
4703
4762
|
id?: string;
|
|
4704
4763
|
memory_store_id?: string;
|
|
4764
|
+
/**
|
|
4765
|
+
* The text this memory currently holds. Stored once per distinct text per store and shared with every assertion that stated it, so a memory carries no copy of its own.
|
|
4766
|
+
*/
|
|
4705
4767
|
content?: string;
|
|
4706
4768
|
/**
|
|
4707
4769
|
* Whether there is a source to point at. `conversation` means `source_id` names the conversation this fact was learned in; `manual` means there is nothing to point at — a direct API write, or an agent write made outside a conversation.
|
|
@@ -4722,7 +4784,7 @@ type Memory = {
|
|
|
4722
4784
|
[key: string]: unknown;
|
|
4723
4785
|
} | null;
|
|
4724
4786
|
/**
|
|
4725
|
-
* When the memory was superseded. Null means the memory is currently valid. Invalidated memories are excluded from listing, from write deduplication, and from knowledge search, but remain readable by ID for audit.
|
|
4787
|
+
* When the memory was superseded. Null means the memory is currently valid. Invalidated memories are excluded from listing, from write deduplication, and from knowledge search, but remain readable by ID — with their original text — for audit.
|
|
4726
4788
|
*/
|
|
4727
4789
|
invalidated_at?: Date | null;
|
|
4728
4790
|
/**
|
|
@@ -4734,9 +4796,32 @@ type Memory = {
|
|
|
4734
4796
|
};
|
|
4735
4797
|
type MemoryWriteResult = Memory & {
|
|
4736
4798
|
/**
|
|
4737
|
-
* The outcome of the write
|
|
4799
|
+
* The outcome of the write. `created` means the fact was distinct and a new memory holds it. `superseded` means it restated a fact that had changed: the matched memory was invalidated, points at the replacement, and the replacement is what is returned. `skipped` means the fact was already known and the existing memory is returned unchanged. Every outcome is recorded as an assertion, readable at `GET /v1/projects/{project_id}/memories/{memory_id}/assertions`.
|
|
4738
4800
|
*/
|
|
4739
|
-
action?: 'created' | '
|
|
4801
|
+
action?: 'created' | 'superseded' | 'skipped';
|
|
4802
|
+
};
|
|
4803
|
+
/**
|
|
4804
|
+
* The event a firing reads. `agents.generation.completed` fires once per completed turn whatever the transport, and is the only event the built-in extractor may bind to. `conversations.message.generated` fires per persisted assistant reply and is conversation-backed, so it is for custom handlers.
|
|
4805
|
+
*/
|
|
4806
|
+
type MemoryRuleEvent = 'agents.generation.completed' | 'conversations.message.generated';
|
|
4807
|
+
type MemoryRule = {
|
|
4808
|
+
id?: string;
|
|
4809
|
+
memory_store_id?: string;
|
|
4810
|
+
project_id?: string;
|
|
4811
|
+
on?: MemoryRuleEvent;
|
|
4812
|
+
source_agent_ids?: Array<string> | null;
|
|
4813
|
+
agent_id?: string | null;
|
|
4814
|
+
tool_id?: string | null;
|
|
4815
|
+
action?: string | null;
|
|
4816
|
+
preset_parameters?: {
|
|
4817
|
+
[key: string]: unknown;
|
|
4818
|
+
} | null;
|
|
4819
|
+
prompt?: string | null;
|
|
4820
|
+
ai_provider_id?: string | null;
|
|
4821
|
+
model?: string | null;
|
|
4822
|
+
enabled?: boolean;
|
|
4823
|
+
created_at?: Date;
|
|
4824
|
+
updated_at?: Date;
|
|
4740
4825
|
};
|
|
4741
4826
|
type MemoryStore = {
|
|
4742
4827
|
id?: string;
|
|
@@ -4747,6 +4832,14 @@ type MemoryStore = {
|
|
|
4747
4832
|
* Key-value tags for filtering in knowledge search.
|
|
4748
4833
|
*/
|
|
4749
4834
|
tags?: NullableTagBag;
|
|
4835
|
+
/**
|
|
4836
|
+
* The store's duplicate cutoff, or `null` when it has never been set. Reported as `null` rather than as the constant it resolves to: a store with no policy must read differently from one pinned to today's default.
|
|
4837
|
+
*/
|
|
4838
|
+
duplicate_threshold?: number | null;
|
|
4839
|
+
/**
|
|
4840
|
+
* The store's supersede cutoff, or `null` when it has never been set.
|
|
4841
|
+
*/
|
|
4842
|
+
supersede_threshold?: number | null;
|
|
4750
4843
|
created_at?: Date;
|
|
4751
4844
|
updated_at?: Date;
|
|
4752
4845
|
};
|
|
@@ -4977,7 +5070,7 @@ type OrchestrationNode = {
|
|
|
4977
5070
|
*/
|
|
4978
5071
|
parallelism?: number;
|
|
4979
5072
|
/**
|
|
4980
|
-
* For loop and sub_orchestration nodes — allowlist of the run's `tool_context` keys the child run inherits. When `null` (the default), the child inherits the parent's whole bag
|
|
5073
|
+
* For loop and sub_orchestration nodes — allowlist of the run's `tool_context` keys the child run inherits. When `null` (the default), the child inherits the parent's whole bag. When set, only the listed keys are handed down, so a run holding a broad credential can delegate one step to a shared sub-graph without passing on what that sub-graph does not need; `[]` hands down nothing. Matching is case-insensitive, since an entry names a key that becomes an HTTP header name; an entry outside that grammar is rejected at write time with `INVALID_TOOL_CONTEXT_KEY`. The server-derived identity keys (`session_id`, `actor_id`, `actor_external_id`) are unaffected — they are re-derived per generation in the child regardless of this list. Ignored for other node types.
|
|
4981
5074
|
*/
|
|
4982
5075
|
context_keys?: Array<string> | null;
|
|
4983
5076
|
/**
|
|
@@ -6439,7 +6532,7 @@ type Tool = {
|
|
|
6439
6532
|
*/
|
|
6440
6533
|
denied_actions?: Array<string> | null;
|
|
6441
6534
|
/**
|
|
6442
|
-
* Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Naturali-Context-<key>` by default). When `null`, every key in the caller's `tool_context` is forwarded
|
|
6535
|
+
* Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Naturali-Context-<key>` by default). When `null`, every key in the caller's `tool_context` is forwarded. When set, only the listed keys are, so a per-user credential in `tool_context` can be confined to the tools that need it; `[]` forwards none. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are always forwarded. A key consumed by a `{{context:<key>}}` token in this tool's own headers is substituted regardless of this list — the tool declared that header itself.
|
|
6443
6536
|
*/
|
|
6444
6537
|
context_keys?: Array<string> | null;
|
|
6445
6538
|
/**
|
|
@@ -6509,7 +6602,7 @@ type UpdateToolRequest = {
|
|
|
6509
6602
|
*/
|
|
6510
6603
|
denied_actions?: Array<string> | null;
|
|
6511
6604
|
/**
|
|
6512
|
-
* Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Naturali-Context-<key>` by default). When `null` or omitted, every key in the caller's `tool_context` is forwarded
|
|
6605
|
+
* Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Naturali-Context-<key>` by default). When `null` or omitted, every key in the caller's `tool_context` is forwarded. When set, only the listed keys are, so a per-user credential in `tool_context` can be confined to the tools that need it; `[]` forwards none. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are always forwarded. A key consumed by a `{{context:<key>}}` token in this tool's own headers is substituted regardless of this list — the tool declared that header itself.
|
|
6513
6606
|
*/
|
|
6514
6607
|
context_keys?: Array<string> | null;
|
|
6515
6608
|
/**
|
|
@@ -14891,24 +14984,26 @@ type SearchKnowledgeData = {
|
|
|
14891
14984
|
* Minimum raw cosine `similarity_score` a **vector** candidate must reach to take part in ranking, applied before fusion. Only applies when `query` is provided. Lexical candidates are deliberately exempt: a result that literally contains the searched token is the evidence, and dropping it for a low cosine is the failure hybrid search exists to prevent. Not a floor on `score`, whose fused value encodes rank position rather than similarity.
|
|
14892
14985
|
*/
|
|
14893
14986
|
min_similarity?: number;
|
|
14894
|
-
/**
|
|
14895
|
-
* Deprecated alias for `min_similarity`, with identical behavior. While ranking was single-signal `score` equaled `similarity_score`, so this has only ever filtered cosine and an existing value keeps returning the same results. `min_similarity` wins when both are sent. Removed in v2.
|
|
14896
|
-
*
|
|
14897
|
-
* @deprecated
|
|
14898
|
-
*/
|
|
14899
|
-
min_score?: number;
|
|
14900
14987
|
/**
|
|
14901
14988
|
* The `k` in the reciprocal rank fusion term `1 / (k + rank)`, which sets how steeply a result's contribution decays with its position in each ranked list. A smaller value weights the very top of each list more heavily. Defaults to the deployment's `KNOWLEDGE_RRF_K`, itself 60 by default. Only applies when `query` is provided.
|
|
14902
14989
|
*/
|
|
14903
14990
|
rrf_k?: number;
|
|
14904
14991
|
/**
|
|
14905
|
-
* Half-life, in days, of a recency decay applied to **memory store** results after fusion: a result's `score` is multiplied by `2 ^ (-age_in_days / recency_half_life_days)`, where age is measured from its `updated_at`. Document results are never decayed. `0` — the default, and the default of the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` — disables the blend entirely; it is a switch, not a lower bound, and sending `0` turns off a deployment-wide decay for this one request. Accepts fractions (`0.5` is twelve hours). How many ranks a given half-life costs depends on `rrf_k`. Only applies when `query` is provided.
|
|
14992
|
+
* Half-life, in days, of a recency decay applied to **memory store** results after fusion: a result's `score` is multiplied by `2 ^ (-age_in_days / recency_half_life_days)`, where age is measured from its `updated_at`. Document results are never decayed. `0` — the default, and the default of the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` — disables the blend entirely; it is a switch, not a lower bound, and sending `0` turns off a deployment-wide decay for this one request. Accepts fractions (`0.5` is twelve hours). How many ranks a given half-life costs depends on `rrf_k`. Only applies when `query` is provided. **No value is known to be safe in general**: every half-life measured against the reference corpus that lifted recency-sensitive queries also cost relevance-sensitive ones, which is why this ships disabled. Measure against your own corpus before setting it — see the Retrieval Quality guide.
|
|
14906
14993
|
*/
|
|
14907
14994
|
recency_half_life_days?: number;
|
|
14908
14995
|
/**
|
|
14909
14996
|
* Maximum number of results to return (default 10). A value above 100 is clamped to 100 — the ceiling bounds the vector scan this one request performs, so a larger `limit` returns everything there is up to that many rows rather than being refused.
|
|
14910
14997
|
*/
|
|
14911
14998
|
limit?: number;
|
|
14999
|
+
/**
|
|
15000
|
+
* Set `false` to leave the document store out of this search. A `query` names no store, so it reaches both; the store-specific filters narrow *within* a store rather than choosing between them. This is the switch, and a filter naming the other store never overrides it. `false` for both stores is `400`.
|
|
15001
|
+
*/
|
|
15002
|
+
include_documents?: boolean;
|
|
15003
|
+
/**
|
|
15004
|
+
* Set `false` to leave the memory store out of this search. The mirror of `include_documents`, for a caller that wants documents alone.
|
|
15005
|
+
*/
|
|
15006
|
+
include_memories?: boolean;
|
|
14912
15007
|
/**
|
|
14913
15008
|
* Search memories within these specific memory stores
|
|
14914
15009
|
*/
|
|
@@ -14922,7 +15017,7 @@ type SearchKnowledgeData = {
|
|
|
14922
15017
|
*/
|
|
14923
15018
|
document_ids?: Array<string>;
|
|
14924
15019
|
/**
|
|
14925
|
-
* Filter results to documents and memories whose `tags` contain every one of these key-value pairs (exact, case-sensitive match).
|
|
15020
|
+
* Filter results to documents and memories whose `tags` contain every one of these key-value pairs (exact, case-sensitive match). Scopes both stores, so passing it alone searches both — as `query` does. For memories it matches at memory granularity: a memory is returned when its parent memory store's tags match or its own do.
|
|
14926
15021
|
*/
|
|
14927
15022
|
tags?: TagBag;
|
|
14928
15023
|
};
|
|
@@ -15051,9 +15146,17 @@ type CreateMemoryData = {
|
|
|
15051
15146
|
[key: string]: unknown;
|
|
15052
15147
|
};
|
|
15053
15148
|
/**
|
|
15054
|
-
*
|
|
15149
|
+
* The memory this write replaces, named outright. The declaration outranks the thresholds in both directions: the target is retired and the write returns `superseded` however similar or distant the two texts are. This is what reaches a contradiction cosine cannot see ("The office is in Lisbon" then "We closed the Lisbon office"). The target must be a still-valid memory in the same memory store, and the caller needs `memories:UpdateMemory` on it as well as `memories:CreateMemory` on the store.
|
|
15150
|
+
*/
|
|
15151
|
+
supersedes?: string;
|
|
15152
|
+
/**
|
|
15153
|
+
* Cosine similarity at or above which the incoming content is a duplicate of an existing memory and the write is skipped. Overrides the store's `duplicate_threshold` for this call; falls back to the store's value, then to `0.95`.
|
|
15055
15154
|
*/
|
|
15056
15155
|
duplicate_threshold?: number;
|
|
15156
|
+
/**
|
|
15157
|
+
* Cosine similarity at or above which the incoming content restates a fact that has changed: the top match is invalidated and a new memory replaces it. Overrides the store's `supersede_threshold` for this call; falls back to the store's value, then to `0.90`. The effective pair must satisfy `supersede_threshold < duplicate_threshold`, and the check runs against the effective pair — so overriding only one value cannot invert it against the store's other one.
|
|
15158
|
+
*/
|
|
15159
|
+
supersede_threshold?: number;
|
|
15057
15160
|
};
|
|
15058
15161
|
path: {
|
|
15059
15162
|
/**
|
|
@@ -15066,7 +15169,7 @@ type CreateMemoryData = {
|
|
|
15066
15169
|
};
|
|
15067
15170
|
type CreateMemoryErrors = {
|
|
15068
15171
|
/**
|
|
15069
|
-
* Bad request
|
|
15172
|
+
* Bad request — a missing required field, a threshold pair whose effective values are not `supersede_threshold < duplicate_threshold`, or a `supersedes` that is not a memory id, or names a memory in another memory store or one already superseded.
|
|
15070
15173
|
*/
|
|
15071
15174
|
400: unknown;
|
|
15072
15175
|
/**
|
|
@@ -15074,11 +15177,11 @@ type CreateMemoryErrors = {
|
|
|
15074
15177
|
*/
|
|
15075
15178
|
401: unknown;
|
|
15076
15179
|
/**
|
|
15077
|
-
* Forbidden
|
|
15180
|
+
* Forbidden — the caller may not write to the memory store, or may not update the memory named by `supersedes`.
|
|
15078
15181
|
*/
|
|
15079
15182
|
403: unknown;
|
|
15080
15183
|
/**
|
|
15081
|
-
* Memory store not found
|
|
15184
|
+
* Memory store not found, or no memory matches `supersedes`
|
|
15082
15185
|
*/
|
|
15083
15186
|
404: unknown;
|
|
15084
15187
|
/**
|
|
@@ -15092,7 +15195,7 @@ type CreateMemoryErrors = {
|
|
|
15092
15195
|
};
|
|
15093
15196
|
type CreateMemoryResponses = {
|
|
15094
15197
|
/**
|
|
15095
|
-
*
|
|
15198
|
+
* The write resolved against an existing memory — `action` is `skipped` (the fact was already known) or `superseded` (the fact had changed, and the returned memory is the replacement).
|
|
15096
15199
|
*/
|
|
15097
15200
|
200: MemoryWriteResult;
|
|
15098
15201
|
/**
|
|
@@ -15227,6 +15330,57 @@ type UpdateMemoryResponses = {
|
|
|
15227
15330
|
200: Memory;
|
|
15228
15331
|
};
|
|
15229
15332
|
type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
|
|
15333
|
+
type ListMemoryAssertionsData = {
|
|
15334
|
+
body?: never;
|
|
15335
|
+
path: {
|
|
15336
|
+
/**
|
|
15337
|
+
* Project public ID (proj_ prefix).
|
|
15338
|
+
*/
|
|
15339
|
+
project_id: string;
|
|
15340
|
+
memory_id: string;
|
|
15341
|
+
};
|
|
15342
|
+
query?: {
|
|
15343
|
+
/**
|
|
15344
|
+
* Maximum number of results to return
|
|
15345
|
+
*/
|
|
15346
|
+
limit?: number;
|
|
15347
|
+
/**
|
|
15348
|
+
* Number of results to skip
|
|
15349
|
+
*/
|
|
15350
|
+
offset?: number;
|
|
15351
|
+
};
|
|
15352
|
+
url: '/v1/projects/{project_id}/memories/{memory_id}/assertions';
|
|
15353
|
+
};
|
|
15354
|
+
type ListMemoryAssertionsErrors = {
|
|
15355
|
+
/**
|
|
15356
|
+
* Unauthorized
|
|
15357
|
+
*/
|
|
15358
|
+
401: unknown;
|
|
15359
|
+
/**
|
|
15360
|
+
* Forbidden
|
|
15361
|
+
*/
|
|
15362
|
+
403: unknown;
|
|
15363
|
+
/**
|
|
15364
|
+
* Memory store or memory not found
|
|
15365
|
+
*/
|
|
15366
|
+
404: unknown;
|
|
15367
|
+
/**
|
|
15368
|
+
* Internal server error
|
|
15369
|
+
*/
|
|
15370
|
+
500: unknown;
|
|
15371
|
+
};
|
|
15372
|
+
type ListMemoryAssertionsResponses = {
|
|
15373
|
+
/**
|
|
15374
|
+
* List of assertions
|
|
15375
|
+
*/
|
|
15376
|
+
200: {
|
|
15377
|
+
data: Array<MemoryAssertion>;
|
|
15378
|
+
total: number;
|
|
15379
|
+
limit: number;
|
|
15380
|
+
offset: number;
|
|
15381
|
+
};
|
|
15382
|
+
};
|
|
15383
|
+
type ListMemoryAssertionsResponse = ListMemoryAssertionsResponses[keyof ListMemoryAssertionsResponses];
|
|
15230
15384
|
type GetMemoryTagsData = {
|
|
15231
15385
|
body?: never;
|
|
15232
15386
|
path: {
|
|
@@ -15343,7 +15497,7 @@ type ReplaceMemoryTagsResponses = {
|
|
|
15343
15497
|
200: TagBag;
|
|
15344
15498
|
};
|
|
15345
15499
|
type ReplaceMemoryTagsResponse = ReplaceMemoryTagsResponses[keyof ReplaceMemoryTagsResponses];
|
|
15346
|
-
type
|
|
15500
|
+
type ListMemoryRulesData = {
|
|
15347
15501
|
body?: never;
|
|
15348
15502
|
path: {
|
|
15349
15503
|
/**
|
|
@@ -15353,12 +15507,11 @@ type ListMemoryStoresData = {
|
|
|
15353
15507
|
};
|
|
15354
15508
|
query?: {
|
|
15355
15509
|
/**
|
|
15356
|
-
*
|
|
15357
|
-
*
|
|
15510
|
+
* Only the rules of this memory store
|
|
15358
15511
|
*/
|
|
15359
|
-
|
|
15512
|
+
memory_store_id?: string;
|
|
15360
15513
|
/**
|
|
15361
|
-
*
|
|
15514
|
+
* Number of results per page
|
|
15362
15515
|
*/
|
|
15363
15516
|
limit?: number;
|
|
15364
15517
|
/**
|
|
@@ -15366,9 +15519,9 @@ type ListMemoryStoresData = {
|
|
|
15366
15519
|
*/
|
|
15367
15520
|
offset?: number;
|
|
15368
15521
|
};
|
|
15369
|
-
url: '/v1/projects/{project_id}/memory-
|
|
15522
|
+
url: '/v1/projects/{project_id}/memory-rules';
|
|
15370
15523
|
};
|
|
15371
|
-
type
|
|
15524
|
+
type ListMemoryRulesErrors = {
|
|
15372
15525
|
/**
|
|
15373
15526
|
* Unauthorized
|
|
15374
15527
|
*/
|
|
@@ -15382,24 +15535,287 @@ type ListMemoryStoresErrors = {
|
|
|
15382
15535
|
*/
|
|
15383
15536
|
500: unknown;
|
|
15384
15537
|
};
|
|
15385
|
-
type
|
|
15538
|
+
type ListMemoryRulesResponses = {
|
|
15386
15539
|
/**
|
|
15387
|
-
* List of memory
|
|
15540
|
+
* List of memory rules
|
|
15388
15541
|
*/
|
|
15389
15542
|
200: {
|
|
15390
|
-
data: Array<
|
|
15543
|
+
data: Array<MemoryRule>;
|
|
15391
15544
|
total: number;
|
|
15392
15545
|
limit: number;
|
|
15393
15546
|
offset: number;
|
|
15394
15547
|
};
|
|
15395
15548
|
};
|
|
15396
|
-
type
|
|
15397
|
-
type
|
|
15549
|
+
type ListMemoryRulesResponse = ListMemoryRulesResponses[keyof ListMemoryRulesResponses];
|
|
15550
|
+
type CreateMemoryRuleData = {
|
|
15398
15551
|
body: {
|
|
15399
15552
|
/**
|
|
15400
|
-
*
|
|
15553
|
+
* The destination store, and the rule's owning scope
|
|
15401
15554
|
*/
|
|
15402
|
-
|
|
15555
|
+
memory_store_id: string;
|
|
15556
|
+
on: MemoryRuleEvent;
|
|
15557
|
+
/**
|
|
15558
|
+
* Agents whose turns this rule reads. Omit or send `null` for every agent in the store's project.
|
|
15559
|
+
*/
|
|
15560
|
+
source_agent_ids?: Array<string> | null;
|
|
15561
|
+
/**
|
|
15562
|
+
* Handler agent (mutually exclusive with tool_id)
|
|
15563
|
+
*/
|
|
15564
|
+
agent_id?: string | null;
|
|
15565
|
+
/**
|
|
15566
|
+
* Handler tool (mutually exclusive with agent_id)
|
|
15567
|
+
*/
|
|
15568
|
+
tool_id?: string | null;
|
|
15569
|
+
/**
|
|
15570
|
+
* Operation id, for a tool handler
|
|
15571
|
+
*/
|
|
15572
|
+
action?: string | null;
|
|
15573
|
+
/**
|
|
15574
|
+
* Merged into a tool handler's input before invocation. The turn's own fields are reserved and win.
|
|
15575
|
+
*/
|
|
15576
|
+
preset_parameters?: {
|
|
15577
|
+
[key: string]: unknown;
|
|
15578
|
+
} | null;
|
|
15579
|
+
/**
|
|
15580
|
+
* Replaces the built-in extractor's task instructions. The JSON response contract and the transcript are always appended. Not valid with a handler.
|
|
15581
|
+
*/
|
|
15582
|
+
prompt?: string | null;
|
|
15583
|
+
/**
|
|
15584
|
+
* Provider override for the built-in extractor's completion. Not valid with a handler.
|
|
15585
|
+
*/
|
|
15586
|
+
ai_provider_id?: string | null;
|
|
15587
|
+
/**
|
|
15588
|
+
* Model override for the built-in extractor's completion. Not valid with a handler.
|
|
15589
|
+
*/
|
|
15590
|
+
model?: string | null;
|
|
15591
|
+
/**
|
|
15592
|
+
* A disabled rule is kept and never fires
|
|
15593
|
+
*/
|
|
15594
|
+
enabled?: boolean;
|
|
15595
|
+
};
|
|
15596
|
+
path: {
|
|
15597
|
+
/**
|
|
15598
|
+
* Project public ID (proj_ prefix).
|
|
15599
|
+
*/
|
|
15600
|
+
project_id: string;
|
|
15601
|
+
};
|
|
15602
|
+
query?: never;
|
|
15603
|
+
url: '/v1/projects/{project_id}/memory-rules';
|
|
15604
|
+
};
|
|
15605
|
+
type CreateMemoryRuleErrors = {
|
|
15606
|
+
/**
|
|
15607
|
+
* Validation failed (e.g. agent_id and tool_id both set, or an extractor override combined with a handler)
|
|
15608
|
+
*/
|
|
15609
|
+
400: unknown;
|
|
15610
|
+
/**
|
|
15611
|
+
* Unauthorized
|
|
15612
|
+
*/
|
|
15613
|
+
401: unknown;
|
|
15614
|
+
/**
|
|
15615
|
+
* Forbidden
|
|
15616
|
+
*/
|
|
15617
|
+
403: unknown;
|
|
15618
|
+
/**
|
|
15619
|
+
* Memory store not found
|
|
15620
|
+
*/
|
|
15621
|
+
404: unknown;
|
|
15622
|
+
/**
|
|
15623
|
+
* Internal server error
|
|
15624
|
+
*/
|
|
15625
|
+
500: unknown;
|
|
15626
|
+
};
|
|
15627
|
+
type CreateMemoryRuleResponses = {
|
|
15628
|
+
/**
|
|
15629
|
+
* Memory rule created
|
|
15630
|
+
*/
|
|
15631
|
+
201: MemoryRule;
|
|
15632
|
+
};
|
|
15633
|
+
type CreateMemoryRuleResponse = CreateMemoryRuleResponses[keyof CreateMemoryRuleResponses];
|
|
15634
|
+
type DeleteMemoryRuleData = {
|
|
15635
|
+
body?: never;
|
|
15636
|
+
path: {
|
|
15637
|
+
/**
|
|
15638
|
+
* Project public ID (proj_ prefix).
|
|
15639
|
+
*/
|
|
15640
|
+
project_id: string;
|
|
15641
|
+
/**
|
|
15642
|
+
* Memory rule ID
|
|
15643
|
+
*/
|
|
15644
|
+
memory_rule_id: string;
|
|
15645
|
+
};
|
|
15646
|
+
query?: never;
|
|
15647
|
+
url: '/v1/projects/{project_id}/memory-rules/{memory_rule_id}';
|
|
15648
|
+
};
|
|
15649
|
+
type DeleteMemoryRuleErrors = {
|
|
15650
|
+
/**
|
|
15651
|
+
* Unauthorized
|
|
15652
|
+
*/
|
|
15653
|
+
401: unknown;
|
|
15654
|
+
/**
|
|
15655
|
+
* Forbidden
|
|
15656
|
+
*/
|
|
15657
|
+
403: unknown;
|
|
15658
|
+
/**
|
|
15659
|
+
* Memory rule not found
|
|
15660
|
+
*/
|
|
15661
|
+
404: unknown;
|
|
15662
|
+
};
|
|
15663
|
+
type DeleteMemoryRuleResponses = {
|
|
15664
|
+
/**
|
|
15665
|
+
* Memory rule deleted
|
|
15666
|
+
*/
|
|
15667
|
+
204: void;
|
|
15668
|
+
};
|
|
15669
|
+
type DeleteMemoryRuleResponse = DeleteMemoryRuleResponses[keyof DeleteMemoryRuleResponses];
|
|
15670
|
+
type GetMemoryRuleData = {
|
|
15671
|
+
body?: never;
|
|
15672
|
+
path: {
|
|
15673
|
+
/**
|
|
15674
|
+
* Project public ID (proj_ prefix).
|
|
15675
|
+
*/
|
|
15676
|
+
project_id: string;
|
|
15677
|
+
/**
|
|
15678
|
+
* Memory rule ID
|
|
15679
|
+
*/
|
|
15680
|
+
memory_rule_id: string;
|
|
15681
|
+
};
|
|
15682
|
+
query?: never;
|
|
15683
|
+
url: '/v1/projects/{project_id}/memory-rules/{memory_rule_id}';
|
|
15684
|
+
};
|
|
15685
|
+
type GetMemoryRuleErrors = {
|
|
15686
|
+
/**
|
|
15687
|
+
* Unauthorized
|
|
15688
|
+
*/
|
|
15689
|
+
401: unknown;
|
|
15690
|
+
/**
|
|
15691
|
+
* Forbidden
|
|
15692
|
+
*/
|
|
15693
|
+
403: unknown;
|
|
15694
|
+
/**
|
|
15695
|
+
* Memory rule not found
|
|
15696
|
+
*/
|
|
15697
|
+
404: unknown;
|
|
15698
|
+
};
|
|
15699
|
+
type GetMemoryRuleResponses = {
|
|
15700
|
+
/**
|
|
15701
|
+
* Memory rule details
|
|
15702
|
+
*/
|
|
15703
|
+
200: MemoryRule;
|
|
15704
|
+
};
|
|
15705
|
+
type GetMemoryRuleResponse = GetMemoryRuleResponses[keyof GetMemoryRuleResponses];
|
|
15706
|
+
type UpdateMemoryRuleData = {
|
|
15707
|
+
body: {
|
|
15708
|
+
on?: MemoryRuleEvent;
|
|
15709
|
+
/**
|
|
15710
|
+
* Send `null` to widen the rule to every agent in the project
|
|
15711
|
+
*/
|
|
15712
|
+
source_agent_ids?: Array<string> | null;
|
|
15713
|
+
agent_id?: string | null;
|
|
15714
|
+
tool_id?: string | null;
|
|
15715
|
+
action?: string | null;
|
|
15716
|
+
preset_parameters?: {
|
|
15717
|
+
[key: string]: unknown;
|
|
15718
|
+
} | null;
|
|
15719
|
+
prompt?: string | null;
|
|
15720
|
+
ai_provider_id?: string | null;
|
|
15721
|
+
model?: string | null;
|
|
15722
|
+
enabled?: boolean;
|
|
15723
|
+
};
|
|
15724
|
+
path: {
|
|
15725
|
+
/**
|
|
15726
|
+
* Project public ID (proj_ prefix).
|
|
15727
|
+
*/
|
|
15728
|
+
project_id: string;
|
|
15729
|
+
/**
|
|
15730
|
+
* Memory rule ID
|
|
15731
|
+
*/
|
|
15732
|
+
memory_rule_id: string;
|
|
15733
|
+
};
|
|
15734
|
+
query?: never;
|
|
15735
|
+
url: '/v1/projects/{project_id}/memory-rules/{memory_rule_id}';
|
|
15736
|
+
};
|
|
15737
|
+
type UpdateMemoryRuleErrors = {
|
|
15738
|
+
/**
|
|
15739
|
+
* Validation failed
|
|
15740
|
+
*/
|
|
15741
|
+
400: unknown;
|
|
15742
|
+
/**
|
|
15743
|
+
* Unauthorized
|
|
15744
|
+
*/
|
|
15745
|
+
401: unknown;
|
|
15746
|
+
/**
|
|
15747
|
+
* Forbidden
|
|
15748
|
+
*/
|
|
15749
|
+
403: unknown;
|
|
15750
|
+
/**
|
|
15751
|
+
* Memory rule not found
|
|
15752
|
+
*/
|
|
15753
|
+
404: unknown;
|
|
15754
|
+
};
|
|
15755
|
+
type UpdateMemoryRuleResponses = {
|
|
15756
|
+
/**
|
|
15757
|
+
* Memory rule updated
|
|
15758
|
+
*/
|
|
15759
|
+
200: MemoryRule;
|
|
15760
|
+
};
|
|
15761
|
+
type UpdateMemoryRuleResponse = UpdateMemoryRuleResponses[keyof UpdateMemoryRuleResponses];
|
|
15762
|
+
type ListMemoryStoresData = {
|
|
15763
|
+
body?: never;
|
|
15764
|
+
path: {
|
|
15765
|
+
/**
|
|
15766
|
+
* Project public ID (proj_ prefix).
|
|
15767
|
+
*/
|
|
15768
|
+
project_id: string;
|
|
15769
|
+
};
|
|
15770
|
+
query?: {
|
|
15771
|
+
/**
|
|
15772
|
+
* Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
|
|
15773
|
+
*
|
|
15774
|
+
*/
|
|
15775
|
+
tags?: Array<string>;
|
|
15776
|
+
/**
|
|
15777
|
+
* Maximum number of results to return
|
|
15778
|
+
*/
|
|
15779
|
+
limit?: number;
|
|
15780
|
+
/**
|
|
15781
|
+
* Number of results to skip
|
|
15782
|
+
*/
|
|
15783
|
+
offset?: number;
|
|
15784
|
+
};
|
|
15785
|
+
url: '/v1/projects/{project_id}/memory-stores';
|
|
15786
|
+
};
|
|
15787
|
+
type ListMemoryStoresErrors = {
|
|
15788
|
+
/**
|
|
15789
|
+
* Unauthorized
|
|
15790
|
+
*/
|
|
15791
|
+
401: unknown;
|
|
15792
|
+
/**
|
|
15793
|
+
* Forbidden
|
|
15794
|
+
*/
|
|
15795
|
+
403: unknown;
|
|
15796
|
+
/**
|
|
15797
|
+
* Internal server error
|
|
15798
|
+
*/
|
|
15799
|
+
500: unknown;
|
|
15800
|
+
};
|
|
15801
|
+
type ListMemoryStoresResponses = {
|
|
15802
|
+
/**
|
|
15803
|
+
* List of memory stores
|
|
15804
|
+
*/
|
|
15805
|
+
200: {
|
|
15806
|
+
data: Array<MemoryStore>;
|
|
15807
|
+
total: number;
|
|
15808
|
+
limit: number;
|
|
15809
|
+
offset: number;
|
|
15810
|
+
};
|
|
15811
|
+
};
|
|
15812
|
+
type ListMemoryStoresResponse = ListMemoryStoresResponses[keyof ListMemoryStoresResponses];
|
|
15813
|
+
type CreateMemoryStoreData = {
|
|
15814
|
+
body: {
|
|
15815
|
+
/**
|
|
15816
|
+
* Memory store name
|
|
15817
|
+
*/
|
|
15818
|
+
name: string;
|
|
15403
15819
|
/**
|
|
15404
15820
|
* Optional description
|
|
15405
15821
|
*/
|
|
@@ -15408,6 +15824,14 @@ type CreateMemoryStoreData = {
|
|
|
15408
15824
|
* Optional key-value tags. Scopes the memory store in knowledge search, where every requested pair must match exactly.
|
|
15409
15825
|
*/
|
|
15410
15826
|
tags?: TagBag;
|
|
15827
|
+
/**
|
|
15828
|
+
* The store's dedup policy: cosine similarity at or above which an incoming fact is already known and the write is skipped. `null` (the default) uses the algorithm constant `0.95`. A single `POST /v1/projects/{project_id}/memories` call may override it; the agent tool and the post-turn rule never can.
|
|
15829
|
+
*/
|
|
15830
|
+
duplicate_threshold?: number | null;
|
|
15831
|
+
/**
|
|
15832
|
+
* Cosine similarity at or above which an incoming fact restates a known one that has changed: the matched memory is invalidated and replaced. `null` (the default) uses the algorithm constant `0.90`. Must be lower than the effective `duplicate_threshold`, or the write is rejected with `400 VALIDATION_FAILED` — equal makes `superseded` unreachable and inverted swallows `skipped`.
|
|
15833
|
+
*/
|
|
15834
|
+
supersede_threshold?: number | null;
|
|
15411
15835
|
};
|
|
15412
15836
|
path: {
|
|
15413
15837
|
/**
|
|
@@ -15420,7 +15844,7 @@ type CreateMemoryStoreData = {
|
|
|
15420
15844
|
};
|
|
15421
15845
|
type CreateMemoryStoreErrors = {
|
|
15422
15846
|
/**
|
|
15423
|
-
* Bad request
|
|
15847
|
+
* Bad request — a missing required field, a threshold outside `[0, 1]`, or a pair that is not `supersede_threshold < duplicate_threshold`.
|
|
15424
15848
|
*/
|
|
15425
15849
|
400: unknown;
|
|
15426
15850
|
/**
|
|
@@ -15531,6 +15955,14 @@ type UpdateMemoryStoreData = {
|
|
|
15531
15955
|
* Optional key-value tags. Replaces the stored bag; `null` clears it.
|
|
15532
15956
|
*/
|
|
15533
15957
|
tags?: NullableTagBag;
|
|
15958
|
+
/**
|
|
15959
|
+
* The store's dedup policy: cosine similarity at or above which an incoming fact is already known and the write is skipped. `null` (the default) uses the algorithm constant `0.95`. A single `POST /v1/projects/{project_id}/memories` call may override it; the agent tool and the post-turn rule never can.
|
|
15960
|
+
*/
|
|
15961
|
+
duplicate_threshold?: number | null;
|
|
15962
|
+
/**
|
|
15963
|
+
* Cosine similarity at or above which an incoming fact restates a known one that has changed: the matched memory is invalidated and replaced. `null` (the default) uses the algorithm constant `0.90`. Must be lower than the effective `duplicate_threshold`, or the write is rejected with `400 VALIDATION_FAILED` — equal makes `superseded` unreachable and inverted swallows `skipped`.
|
|
15964
|
+
*/
|
|
15965
|
+
supersede_threshold?: number | null;
|
|
15534
15966
|
};
|
|
15535
15967
|
path: {
|
|
15536
15968
|
/**
|
|
@@ -15543,6 +15975,10 @@ type UpdateMemoryStoreData = {
|
|
|
15543
15975
|
url: '/v1/projects/{project_id}/memory-stores/{memory_store_id}';
|
|
15544
15976
|
};
|
|
15545
15977
|
type UpdateMemoryStoreErrors = {
|
|
15978
|
+
/**
|
|
15979
|
+
* Bad request — a threshold outside `[0, 1]`, or a pair that is not `supersede_threshold < duplicate_threshold` once the stored values this request does not replace are applied.
|
|
15980
|
+
*/
|
|
15981
|
+
400: unknown;
|
|
15546
15982
|
/**
|
|
15547
15983
|
* Unauthorized
|
|
15548
15984
|
*/
|
|
@@ -15567,6 +16003,77 @@ type UpdateMemoryStoreResponses = {
|
|
|
15567
16003
|
200: MemoryStore;
|
|
15568
16004
|
};
|
|
15569
16005
|
type UpdateMemoryStoreResponse = UpdateMemoryStoreResponses[keyof UpdateMemoryStoreResponses];
|
|
16006
|
+
type ListMemoryStoreAssertionsData = {
|
|
16007
|
+
body?: never;
|
|
16008
|
+
path: {
|
|
16009
|
+
/**
|
|
16010
|
+
* Project public ID (proj_ prefix).
|
|
16011
|
+
*/
|
|
16012
|
+
project_id: string;
|
|
16013
|
+
memory_store_id: string;
|
|
16014
|
+
};
|
|
16015
|
+
query?: {
|
|
16016
|
+
/**
|
|
16017
|
+
* Only assertions that came through this door.
|
|
16018
|
+
*/
|
|
16019
|
+
mechanism?: 'tool' | 'rule' | 'api' | 'formation';
|
|
16020
|
+
/**
|
|
16021
|
+
* Only assertions that resolved this way.
|
|
16022
|
+
*/
|
|
16023
|
+
outcome?: 'created' | 'superseded' | 'skipped';
|
|
16024
|
+
/**
|
|
16025
|
+
* Only assertions made during this generation. A generation that does not exist matches nothing rather than widening to the whole store.
|
|
16026
|
+
*/
|
|
16027
|
+
generation_id?: string;
|
|
16028
|
+
/**
|
|
16029
|
+
* Only assertions recorded at or after this instant.
|
|
16030
|
+
*/
|
|
16031
|
+
since?: Date;
|
|
16032
|
+
/**
|
|
16033
|
+
* Maximum number of results to return
|
|
16034
|
+
*/
|
|
16035
|
+
limit?: number;
|
|
16036
|
+
/**
|
|
16037
|
+
* Number of results to skip
|
|
16038
|
+
*/
|
|
16039
|
+
offset?: number;
|
|
16040
|
+
};
|
|
16041
|
+
url: '/v1/projects/{project_id}/memory-stores/{memory_store_id}/assertions';
|
|
16042
|
+
};
|
|
16043
|
+
type ListMemoryStoreAssertionsErrors = {
|
|
16044
|
+
/**
|
|
16045
|
+
* An unknown `mechanism` or `outcome`, or a `since` that is not a timestamp
|
|
16046
|
+
*/
|
|
16047
|
+
400: unknown;
|
|
16048
|
+
/**
|
|
16049
|
+
* Unauthorized
|
|
16050
|
+
*/
|
|
16051
|
+
401: unknown;
|
|
16052
|
+
/**
|
|
16053
|
+
* Forbidden
|
|
16054
|
+
*/
|
|
16055
|
+
403: unknown;
|
|
16056
|
+
/**
|
|
16057
|
+
* Memory store not found
|
|
16058
|
+
*/
|
|
16059
|
+
404: unknown;
|
|
16060
|
+
/**
|
|
16061
|
+
* Internal server error
|
|
16062
|
+
*/
|
|
16063
|
+
500: unknown;
|
|
16064
|
+
};
|
|
16065
|
+
type ListMemoryStoreAssertionsResponses = {
|
|
16066
|
+
/**
|
|
16067
|
+
* List of assertions
|
|
16068
|
+
*/
|
|
16069
|
+
200: {
|
|
16070
|
+
data: Array<MemoryAssertion>;
|
|
16071
|
+
total: number;
|
|
16072
|
+
limit: number;
|
|
16073
|
+
offset: number;
|
|
16074
|
+
};
|
|
16075
|
+
};
|
|
16076
|
+
type ListMemoryStoreAssertionsResponse = ListMemoryStoreAssertionsResponses[keyof ListMemoryStoreAssertionsResponses];
|
|
15570
16077
|
type GetMemoryStoreTagsData = {
|
|
15571
16078
|
body?: never;
|
|
15572
16079
|
path: {
|
|
@@ -21410,7 +21917,7 @@ export declare class Generations {
|
|
|
21410
21917
|
/**
|
|
21411
21918
|
* List generations
|
|
21412
21919
|
*
|
|
21413
|
-
* Returns generations the caller can access, optionally filtered by agent, trace, orchestration run, node, and status.
|
|
21920
|
+
* Returns generations the caller can access, optionally filtered by agent, trace, orchestration run, node, and status. The generations of one trace are the `trace_id` filter.
|
|
21414
21921
|
*
|
|
21415
21922
|
* Filtering by `orchestration_run_id` is the supported way to get from an orchestration run to the generations its agent nodes produced: a node execution record carries no generation id, so the pointer lives here, alongside the run's other attribution columns.
|
|
21416
21923
|
*
|
|
@@ -21569,7 +22076,7 @@ export declare class Memories {
|
|
|
21569
22076
|
/**
|
|
21570
22077
|
* Create a memory
|
|
21571
22078
|
*
|
|
21572
|
-
*
|
|
22079
|
+
* Writes a fact to the specified memory store through the standard write algorithm: the content is embedded (or matched to text the store already holds), compared against the most similar currently-valid memory, and resolved to exactly one of three outcomes — `skipped` at or above `duplicate_threshold`, `superseded` at or above `supersede_threshold`, `created` below it. `supersedes` overrides that comparison entirely, retiring the memory it names. Every call records one assertion, whatever the outcome.
|
|
21573
22080
|
*/
|
|
21574
22081
|
static createMemory<ThrowOnError extends boolean = false>(options: Options<CreateMemoryData, ThrowOnError>): RequestResult<CreateMemoryResponses, CreateMemoryErrors, ThrowOnError>;
|
|
21575
22082
|
/**
|
|
@@ -21590,6 +22097,12 @@ export declare class Memories {
|
|
|
21590
22097
|
* Updates an existing memory. Regenerates the embedding if content changes.
|
|
21591
22098
|
*/
|
|
21592
22099
|
static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError>;
|
|
22100
|
+
/**
|
|
22101
|
+
* List a memory's assertions
|
|
22102
|
+
*
|
|
22103
|
+
* Returns every write that resolved into this memory, oldest first: the one that created it, the duplicates it absorbed, and the assertion that superseded another memory in its favour. A superseded memory keeps its own assertions, so the chain can be walked in both directions.
|
|
22104
|
+
*/
|
|
22105
|
+
static listMemoryAssertions<ThrowOnError extends boolean = false>(options: Options<ListMemoryAssertionsData, ThrowOnError>): RequestResult<ListMemoryAssertionsResponses, ListMemoryAssertionsErrors, ThrowOnError>;
|
|
21593
22106
|
/**
|
|
21594
22107
|
* Get memory tags
|
|
21595
22108
|
*
|
|
@@ -21609,6 +22122,38 @@ export declare class Memories {
|
|
|
21609
22122
|
*/
|
|
21610
22123
|
static replaceMemoryTags<ThrowOnError extends boolean = false>(options: Options<ReplaceMemoryTagsData, ThrowOnError>): RequestResult<ReplaceMemoryTagsResponses, ReplaceMemoryTagsErrors, ThrowOnError>;
|
|
21611
22124
|
}
|
|
22125
|
+
export declare class MemoryRules {
|
|
22126
|
+
/**
|
|
22127
|
+
* List memory rules
|
|
22128
|
+
*
|
|
22129
|
+
* Returns memory rules, newest first. Narrow to one store with `memory_store_id` — that form is authorized against the store itself, so it answers "what feeds this store?" in one call.
|
|
22130
|
+
*/
|
|
22131
|
+
static listMemoryRules<ThrowOnError extends boolean = false>(options: Options<ListMemoryRulesData, ThrowOnError>): RequestResult<ListMemoryRulesResponses, ListMemoryRulesErrors, ThrowOnError>;
|
|
22132
|
+
/**
|
|
22133
|
+
* Create a memory rule
|
|
22134
|
+
*
|
|
22135
|
+
* Creates an ingestion rule on a memory store. With neither `agent_id` nor `tool_id` the built-in extractor runs, configurable through `prompt`, `ai_provider_id` and `model`.
|
|
22136
|
+
*/
|
|
22137
|
+
static createMemoryRule<ThrowOnError extends boolean = false>(options: Options<CreateMemoryRuleData, ThrowOnError>): RequestResult<CreateMemoryRuleResponses, CreateMemoryRuleErrors, ThrowOnError>;
|
|
22138
|
+
/**
|
|
22139
|
+
* Delete a memory rule
|
|
22140
|
+
*
|
|
22141
|
+
* Deletes a memory rule. The assertions it wrote are kept; their `rule_id` becomes null.
|
|
22142
|
+
*/
|
|
22143
|
+
static deleteMemoryRule<ThrowOnError extends boolean = false>(options: Options<DeleteMemoryRuleData, ThrowOnError>): RequestResult<DeleteMemoryRuleResponses, DeleteMemoryRuleErrors, ThrowOnError>;
|
|
22144
|
+
/**
|
|
22145
|
+
* Get a memory rule
|
|
22146
|
+
*
|
|
22147
|
+
* Returns a specific memory rule
|
|
22148
|
+
*/
|
|
22149
|
+
static getMemoryRule<ThrowOnError extends boolean = false>(options: Options<GetMemoryRuleData, ThrowOnError>): RequestResult<GetMemoryRuleResponses, GetMemoryRuleErrors, ThrowOnError>;
|
|
22150
|
+
/**
|
|
22151
|
+
* Update a memory rule
|
|
22152
|
+
*
|
|
22153
|
+
* Updates a memory rule. Validation runs against the rule as it would stand after the change, so a one-field update cannot pair a handler with a stored extractor override from the side.
|
|
22154
|
+
*/
|
|
22155
|
+
static updateMemoryRule<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryRuleData, ThrowOnError>): RequestResult<UpdateMemoryRuleResponses, UpdateMemoryRuleErrors, ThrowOnError>;
|
|
22156
|
+
}
|
|
21612
22157
|
export declare class MemoryStores {
|
|
21613
22158
|
/**
|
|
21614
22159
|
* List memory stores
|
|
@@ -21640,6 +22185,12 @@ export declare class MemoryStores {
|
|
|
21640
22185
|
* Updates an existing memory store configuration
|
|
21641
22186
|
*/
|
|
21642
22187
|
static updateMemoryStore<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryStoreData, ThrowOnError>): RequestResult<UpdateMemoryStoreResponses, UpdateMemoryStoreErrors, ThrowOnError>;
|
|
22188
|
+
/**
|
|
22189
|
+
* List a memory store's write assertions
|
|
22190
|
+
*
|
|
22191
|
+
* Returns the store's write ledger, newest first: one row per write attempt, skips included. This is how "which write path is filling this store?" is asked — a question no column on a memory row could answer, because a skipped write produced no memory at all.
|
|
22192
|
+
*/
|
|
22193
|
+
static listMemoryStoreAssertions<ThrowOnError extends boolean = false>(options: Options<ListMemoryStoreAssertionsData, ThrowOnError>): RequestResult<ListMemoryStoreAssertionsResponses, ListMemoryStoreAssertionsErrors, ThrowOnError>;
|
|
21643
22194
|
/**
|
|
21644
22195
|
* Get memory store tags
|
|
21645
22196
|
*
|
|
@@ -22556,6 +23107,7 @@ export declare class NaturaliClient {
|
|
|
22556
23107
|
readonly ingestionRules: typeof IngestionRules;
|
|
22557
23108
|
readonly knowledge: typeof Knowledge;
|
|
22558
23109
|
readonly memories: typeof Memories;
|
|
23110
|
+
readonly memoryRules: typeof MemoryRules;
|
|
22559
23111
|
readonly memoryStores: typeof MemoryStores;
|
|
22560
23112
|
readonly modelRoutes: typeof ModelRoutes;
|
|
22561
23113
|
readonly quotas: typeof Quotas;
|
|
@@ -22576,4 +23128,4 @@ export declare class NaturaliClient {
|
|
|
22576
23128
|
constructor({ token, headers }?: NaturaliClientOptions);
|
|
22577
23129
|
}
|
|
22578
23130
|
//#endregion
|
|
22579
|
-
export type { AbortAgentReleaseData, AbortAgentReleaseError, AbortAgentReleaseErrors, AbortAgentReleaseResponse, AbortAgentReleaseResponses, AcceptedGenerationResponse, AcknowledgeExceptionData, AcknowledgeExceptionErrors, AcknowledgeExceptionResponse, AcknowledgeExceptionResponses, Acknowledgement, ActivityEntry, ActorRecord, ActorResourceProperties, AddConversationMessageData, AddConversationMessageError, AddConversationMessageErrors, AddConversationMessageResponse, AddConversationMessageResponses, AddProjectMemberData, AddProjectMemberError, AddProjectMemberErrors, AddProjectMemberResponse, AddProjectMemberResponses, AddSessionMessageData, AddSessionMessageError, AddSessionMessageErrors, AddSessionMessageRequest, AddSessionMessageResponse, AddSessionMessageResponse2, AddSessionMessageResponses, AddSessionMessageSaved, Address, AddressActionSet, AddressList, AdminUser, AdminUserPage, Agent, AgentGenerationResponse, AgentRelease, AgentResourceProperties, AgentVersion, AggregateScores, AiProviderResourceProperties, ApiKeyCreate, ApiKeyCreated, ApiKeyId, ApiKeyList, ApiKeyRecord, ApiKeyUpdate, ApprovalId, ApprovalItem, ApprovalRecurrenceGroup, ApproveApprovalData, ApproveApprovalErrors, ApproveApprovalResponse, ApproveApprovalResponses, AssistantChannel, AssistantGrant, AssistantGrantList, AssistantLinkPreview, AssistantLinkRedeem, AssistantScope, AuditEntry, AuthSession, BaselineComparison, CallToolData, CallToolError, CallToolErrors, CallToolRequest, CallToolResponses, CancelEvalRunData, CancelEvalRunErrors, CancelEvalRunResponse, CancelEvalRunResponses, CancelOrchestrationRunData, CancelOrchestrationRunErrors, CancelOrchestrationRunResponse, CancelOrchestrationRunResponses, Chain, ChainId, Channel, ChannelCreate, ChannelDefaultAction, ChannelDefaultActionInput, ChannelId, ChannelKind, ChannelKindList, ChannelList, ChannelPredicate, ChannelRoute, ChannelRouteList, ChannelRouteWrite, ChannelSurface, ChannelUpdate, ClientOptions, ContainsScorer, Conversation, ConversationId, ConversationList, ConversationMessage, ConversationMessageList, ConversationMessageRecord, ConversationRecord, ConversationResourceProperties, CreateActorData, CreateActorError, CreateActorErrors, CreateActorResponse, CreateActorResponses, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentGenerationData, CreateAgentGenerationError, CreateAgentGenerationErrors, CreateAgentGenerationRequest, CreateAgentGenerationResponse, CreateAgentGenerationResponses, CreateAgentRequest, CreateAgentResponse, CreateAgentResponses, CreateAiProviderData, CreateAiProviderErrors, CreateAiProviderResponse, CreateAiProviderResponses, CreateApiKeyData, CreateApiKeyError, CreateApiKeyErrors, CreateApiKeyResponse, CreateApiKeyResponses, CreateChannelData, CreateChannelError, CreateChannelErrors, CreateChannelResponse, CreateChannelResponses, CreateChannelRouteData, CreateChannelRouteError, CreateChannelRouteErrors, CreateChannelRouteResponse, CreateChannelRouteResponses, CreateConversationData, CreateConversationError, CreateConversationErrors, CreateConversationResponse, CreateConversationResponses, CreateDatasetData, CreateDatasetErrors, CreateDatasetItemData, CreateDatasetItemErrors, CreateDatasetItemFromGenerationData, CreateDatasetItemFromGenerationErrors, CreateDatasetItemFromGenerationResponse, CreateDatasetItemFromGenerationResponses, CreateDatasetItemResponse, CreateDatasetItemResponses, CreateDatasetResponse, CreateDatasetResponses, CreateDocumentData, CreateDocumentError, CreateDocumentErrors, CreateDocumentResponse, CreateDocumentResponses, CreateEmbeddingsData, CreateEmbeddingsError, CreateEmbeddingsErrors, CreateEmbeddingsResponse, CreateEmbeddingsResponses, CreateEvalData, CreateEvalErrors, CreateEvalResponse, CreateEvalResponses, CreateFileData, CreateFileError, CreateFileErrors, CreateFileResponse, CreateFileResponses, CreateFormationData, CreateFormationErrors, CreateFormationResponse, CreateFormationResponses, CreateGuardrailData, CreateGuardrailError, CreateGuardrailErrors, CreateGuardrailRequest, CreateGuardrailResponse, CreateGuardrailResponses, CreateIngestionRuleData, CreateIngestionRuleErrors, CreateIngestionRuleResponse, CreateIngestionRuleResponses, CreateMemoryData, CreateMemoryErrors, CreateMemoryResponse, CreateMemoryResponses, CreateMemoryStoreData, CreateMemoryStoreErrors, CreateMemoryStoreResponse, CreateMemoryStoreResponses, CreateModelRouteData, CreateModelRouteErrors, CreateModelRouteResponse, CreateModelRouteResponses, CreateOrchestrationData, CreateOrchestrationErrors, CreateOrchestrationRequest, CreateOrchestrationResponse, CreateOrchestrationResponses, CreateProjectData, CreateProjectError, CreateProjectErrors, CreateProjectResponse, CreateProjectResponses, CreateProjectUsageThresholdData, CreateProjectUsageThresholdError, CreateProjectUsageThresholdErrors, CreateProjectUsageThresholdResponse, CreateProjectUsageThresholdResponses, CreateQuotaData, CreateQuotaErrors, CreateQuotaResponse, CreateQuotaResponses, CreateSecretData, CreateSecretErrors, CreateSecretResponse, CreateSecretResponses, CreateSessionData, CreateSessionError, CreateSessionErrors, CreateSessionRequest, CreateSessionResponse, CreateSessionResponses, CreateTaskData, CreateTaskErrors, CreateTaskRequest, CreateTaskResponse, CreateTaskResponses, CreateToolData, CreateToolError, CreateToolErrors, CreateToolRequest, CreateToolResponse, CreateToolResponses, CreateTriggerData, CreateTriggerErrors, CreateTriggerRequest, CreateTriggerResponse, CreateTriggerResponses, CreateWebhookData, CreateWebhookError, CreateWebhookErrors, CreateWebhookResponse, CreateWebhookResponses, CreateWorkflowData, CreateWorkflowErrors, CreateWorkflowRequest, CreateWorkflowResponse, CreateWorkflowResponses, CreditEntry, CreditEntryPage, CreditGrant, CreditGrantResult, Cursor, Dataset, DatasetItem, DatasetItemInput, DatasetItemResourceProperties, DatasetResourceProperties, DeleteActorData, DeleteActorError, DeleteActorErrors, DeleteActorResponse, DeleteActorResponses, DeleteAddressData, DeleteAddressError, DeleteAddressErrors, DeleteAddressResponse, DeleteAddressResponses, DeleteAgentData, DeleteAgentError, DeleteAgentErrors, DeleteAgentResponse, DeleteAgentResponses, DeleteAiProviderData, DeleteAiProviderErrors, DeleteAiProviderResponse, DeleteAiProviderResponses, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyErrors, DeleteApiKeyResponse, DeleteApiKeyResponses, DeleteChannelData, DeleteChannelError, DeleteChannelErrors, DeleteChannelResponse, DeleteChannelResponses, DeleteChannelRouteData, DeleteChannelRouteError, DeleteChannelRouteErrors, DeleteChannelRouteResponse, DeleteChannelRouteResponses, DeleteConversationData, DeleteConversationError, DeleteConversationErrors, DeleteConversationResponse, DeleteConversationResponses, DeleteDatasetData, DeleteDatasetErrors, DeleteDatasetItemData, DeleteDatasetItemErrors, DeleteDatasetItemResponse, DeleteDatasetItemResponses, DeleteDatasetResponse, DeleteDatasetResponses, DeleteDocumentData, DeleteDocumentError, DeleteDocumentErrors, DeleteDocumentResponse, DeleteDocumentResponses, DeleteEvalData, DeleteEvalErrors, DeleteEvalResponse, DeleteEvalResponses, DeleteFileData, DeleteFileError, DeleteFileErrors, DeleteFileResponse, DeleteFileResponses, DeleteFormationData, DeleteFormationErrors, DeleteFormationResponse, DeleteFormationResponses, DeleteGuardrailData, DeleteGuardrailError, DeleteGuardrailErrors, DeleteGuardrailResponse, DeleteGuardrailResponses, DeleteIngestionRuleData, DeleteIngestionRuleErrors, DeleteIngestionRuleResponse, DeleteIngestionRuleResponses, DeleteMemoryData, DeleteMemoryErrors, DeleteMemoryResponse, DeleteMemoryResponses, DeleteMemoryStoreData, DeleteMemoryStoreErrors, DeleteMemoryStoreResponse, DeleteMemoryStoreResponses, DeleteModelRouteData, DeleteModelRouteErrors, DeleteModelRouteResponse, DeleteModelRouteResponses, DeleteOrchestrationData, DeleteOrchestrationErrors, DeleteOrchestrationResponse, DeleteOrchestrationResponses, DeleteProjectData, DeleteProjectError, DeleteProjectErrors, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectUsageThresholdData, DeleteProjectUsageThresholdError, DeleteProjectUsageThresholdErrors, DeleteProjectUsageThresholdResponse, DeleteProjectUsageThresholdResponses, DeleteQuotaData, DeleteQuotaErrors, DeleteQuotaResponse, DeleteQuotaResponses, DeleteSecretData, DeleteSecretErrors, DeleteSecretResponses, DeleteSessionData, DeleteSessionError, DeleteSessionErrors, DeleteSessionResponse, DeleteSessionResponses, DeleteTaskData, DeleteTaskErrors, DeleteTaskResponse, DeleteTaskResponses, DeleteToolData, DeleteToolError, DeleteToolErrors, DeleteToolResponse, DeleteToolResponses, DeleteTriggerData, DeleteTriggerErrors, DeleteTriggerResponse, DeleteTriggerResponses, DeleteWebhookData, DeleteWebhookError, DeleteWebhookErrors, DeleteWebhookResponse, DeleteWebhookResponses, DeleteWorkflowData, DeleteWorkflowErrors, DeleteWorkflowResponse, DeleteWorkflowResponses, DeliveryId, DiscordModes, DocumentKnowledgeResult, DocumentMessageContent, DocumentRecord, DocumentResourceProperties, DocumentStatusRecord, DownloadFileBase64Data, DownloadFileBase64Error, DownloadFileBase64Errors, DownloadFileBase64Response, DownloadFileBase64Responses, DownloadFileData, DownloadFileError, DownloadFileErrors, DownloadFileResponse, DownloadFileResponses, EmbeddingSimilarityScorer, EmbeddingsResponse, ErrorResponse, Eval, EvalResourceProperties, EvalResult, EvalRun, EvaluateGuardrailData, EvaluateGuardrailError, EvaluateGuardrailErrors, EvaluateGuardrailResponse, EvaluateGuardrailResponses, Event, EventSubscription, EventType, ExactMatchScorer, ExceptionId, ExceptionItem, ExportAuditEntriesData, ExportAuditEntriesErrors, ExportAuditEntriesResponse, ExportAuditEntriesResponses, FileRecord, FileRecordWritable, FileResourceProperties, FireTriggerData, FireTriggerErrors, FireTriggerRequest, FireTriggerResponse, FireTriggerResponses, Force, ForkSessionData, ForkSessionError, ForkSessionErrors, ForkSessionRequest, ForkSessionResponse, ForkSessionResponses, Formation, FormationError, FormationEvent, FormationOperation, FormationResource, FormationTemplate, FormationTemplateInput, GenerateConversationMessageCompleted, GenerateConversationMessageData, GenerateConversationMessageError, GenerateConversationMessageErrors, GenerateConversationMessageRequiresAction, GenerateConversationMessageResponse, GenerateConversationMessageResponse2, GenerateConversationMessageResponses, GenerateSessionRequest, GenerateSessionResponse, GenerateSessionResponseData, GenerateSessionResponseError, GenerateSessionResponseErrors, GenerateSessionResponseResponse, GenerateSessionResponseResponses, Generation, GenerationTranscript, GetActorData, GetActorError, GetActorErrors, GetActorResponse, GetActorResponses, GetActorTagsData, GetActorTagsError, GetActorTagsErrors, GetActorTagsResponse, GetActorTagsResponses, GetAddressData, GetAddressError, GetAddressErrors, GetAddressResponse, GetAddressResponses, GetAdminPriceBookData, GetAdminPriceBookError, GetAdminPriceBookErrors, GetAdminPriceBookResponse, GetAdminPriceBookResponses, GetAgentData, GetAgentError, GetAgentErrors, GetAgentResponse, GetAgentResponses, GetAgentVersionData, GetAgentVersionError, GetAgentVersionErrors, GetAgentVersionResponse, GetAgentVersionResponses, GetAiProviderData, GetAiProviderErrors, GetAiProviderPricesData, GetAiProviderPricesErrors, GetAiProviderPricesResponse, GetAiProviderPricesResponses, GetAiProviderResponse, GetAiProviderResponses, GetApiKeyData, GetApiKeyError, GetApiKeyErrors, GetApiKeyResponse, GetApiKeyResponses, GetApprovalData, GetApprovalErrors, GetApprovalResponse, GetApprovalResponses, GetAuditEntryData, GetAuditEntryErrors, GetAuditEntryResponse, GetAuditEntryResponses, GetChainData, GetChainErrors, GetChainResponse, GetChainResponses, GetChannelConversationData, GetChannelConversationError, GetChannelConversationErrors, GetChannelConversationResponse, GetChannelConversationResponses, GetChannelData, GetChannelError, GetChannelErrors, GetChannelResponse, GetChannelResponses, GetChannelRouteData, GetChannelRouteError, GetChannelRouteErrors, GetChannelRouteResponse, GetChannelRouteResponses, GetConversationData, GetConversationError, GetConversationErrors, GetConversationResponse, GetConversationResponses, GetConversationTagsData, GetConversationTagsError, GetConversationTagsErrors, GetConversationTagsResponse, GetConversationTagsResponses, GetCurrentUserBillingData, GetCurrentUserBillingError, GetCurrentUserBillingErrors, GetCurrentUserBillingResponse, GetCurrentUserBillingResponses, GetCurrentUserData, GetCurrentUserError, GetCurrentUserErrors, GetCurrentUserResponse, GetCurrentUserResponses, GetCurrentUserUsageData, GetCurrentUserUsageError, GetCurrentUserUsageErrors, GetCurrentUserUsageResponse, GetCurrentUserUsageResponses, GetDatasetData, GetDatasetErrors, GetDatasetResponse, GetDatasetResponses, GetDocumentData, GetDocumentError, GetDocumentErrors, GetDocumentResponse, GetDocumentResponses, GetDocumentStatusData, GetDocumentStatusError, GetDocumentStatusErrors, GetDocumentStatusResponse, GetDocumentStatusResponses, GetDocumentTagsData, GetDocumentTagsError, GetDocumentTagsErrors, GetDocumentTagsResponse, GetDocumentTagsResponses, GetEvalData, GetEvalErrors, GetEvalResponse, GetEvalResponses, GetEvalRunData, GetEvalRunErrors, GetEvalRunResponse, GetEvalRunResponses, GetExceptionData, GetExceptionErrors, GetExceptionResponse, GetExceptionResponses, GetFileData, GetFileError, GetFileErrors, GetFileResponse, GetFileResponses, GetFileTagsData, GetFileTagsError, GetFileTagsErrors, GetFileTagsResponse, GetFileTagsResponses, GetFormationData, GetFormationErrors, GetFormationResponse, GetFormationResponses, GetGenerationData, GetGenerationError, GetGenerationErrors, GetGenerationResponse, GetGenerationResponses, GetGenerationTranscriptData, GetGenerationTranscriptError, GetGenerationTranscriptErrors, GetGenerationTranscriptResponse, GetGenerationTranscriptResponses, GetGuardrailData, GetGuardrailError, GetGuardrailErrors, GetGuardrailResponse, GetGuardrailResponses, GetGuardrailVersionData, GetGuardrailVersionError, GetGuardrailVersionErrors, GetGuardrailVersionResponse, GetGuardrailVersionResponses, GetIngestionRuleData, GetIngestionRuleErrors, GetIngestionRuleResponse, GetIngestionRuleResponses, GetMemoryData, GetMemoryErrors, GetMemoryResponse, GetMemoryResponses, GetMemoryStoreData, GetMemoryStoreErrors, GetMemoryStoreResponse, GetMemoryStoreResponses, GetMemoryStoreTagsData, GetMemoryStoreTagsErrors, GetMemoryStoreTagsResponse, GetMemoryStoreTagsResponses, GetMemoryTagsData, GetMemoryTagsErrors, GetMemoryTagsResponse, GetMemoryTagsResponses, GetModelData, GetModelError, GetModelErrors, GetModelResponse, GetModelResponses, GetModelRouteData, GetModelRouteErrors, GetModelRouteResponse, GetModelRouteResponses, GetOrchestrationData, GetOrchestrationErrors, GetOrchestrationResponse, GetOrchestrationResponses, GetOrchestrationRunData, GetOrchestrationRunErrors, GetOrchestrationRunResponse, GetOrchestrationRunResponses, GetOrchestrationVersionData, GetOrchestrationVersionErrors, GetOrchestrationVersionResponse, GetOrchestrationVersionResponses, GetProjectData, GetProjectError, GetProjectErrors, GetProjectResponse, GetProjectResponses, GetProjectUsageData, GetProjectUsageError, GetProjectUsageErrors, GetProjectUsageReceiptData, GetProjectUsageReceiptError, GetProjectUsageReceiptErrors, GetProjectUsageReceiptResponse, GetProjectUsageReceiptResponses, GetProjectUsageResponse, GetProjectUsageResponses, GetQueueStatsData, GetQueueStatsErrors, GetQueueStatsResponse, GetQueueStatsResponses, GetQuotaData, GetQuotaErrors, GetQuotaResponse, GetQuotaResponses, GetSecretData, GetSecretErrors, GetSecretResponse, GetSecretResponses, GetSessionData, GetSessionError, GetSessionErrors, GetSessionResponse, GetSessionResponses, GetSessionTagsData, GetSessionTagsError, GetSessionTagsErrors, GetSessionTagsResponse, GetSessionTagsResponses, GetTaskData, GetTaskErrors, GetTaskHistoryData, GetTaskHistoryErrors, GetTaskHistoryResponse, GetTaskHistoryResponses, GetTaskResponse, GetTaskResponses, GetToolData, GetToolError, GetToolErrors, GetToolResponse, GetToolResponses, GetTraceData, GetTraceError, GetTraceErrors, GetTraceResponse, GetTraceResponses, GetTraceTreeData, GetTraceTreeError, GetTraceTreeErrors, GetTraceTreeResponse, GetTraceTreeResponses, GetTriggerData, GetTriggerErrors, GetTriggerFiringData, GetTriggerFiringErrors, GetTriggerFiringResponse, GetTriggerFiringResponses, GetTriggerResponse, GetTriggerResponses, GetTriggerSecretData, GetTriggerSecretErrors, GetTriggerSecretResponse, GetTriggerSecretResponses, GetWebhookData, GetWebhookDeliveryData, GetWebhookDeliveryError, GetWebhookDeliveryErrors, GetWebhookDeliveryResponse, GetWebhookDeliveryResponses, GetWebhookError, GetWebhookErrors, GetWebhookResponse, GetWebhookResponses, GetWorkflowData, GetWorkflowErrors, GetWorkflowResponse, GetWorkflowResponses, GetWorkflowVersionData, GetWorkflowVersionErrors, GetWorkflowVersionResponse, GetWorkflowVersionResponses, GrantId, GrantUserCreditData, GrantUserCreditError, GrantUserCreditErrors, GrantUserCreditResponse, GrantUserCreditResponses, GrantUserPlanData, GrantUserPlanError, GrantUserPlanErrors, GrantUserPlanResponse, GrantUserPlanResponses, GrantableProjectRole, Guardrail, GuardrailDocument, GuardrailEvaluation, GuardrailResourceProperties, GuardrailVersion, HumanInputRequest, IdempotencyKey, Identifier, IngestDocumentData, IngestDocumentError, IngestDocumentErrors, IngestDocumentResponse, IngestDocumentResponses, IngestedDocumentRecord, IngestionRule, IngestionRuleResourceProperties, JsonLogicScorer, KnowledgeResult, Limit, LinkToken, ListActivityData, ListActivityErrors, ListActivityResponse, ListActivityResponses, ListActorsData, ListActorsError, ListActorsErrors, ListActorsResponse, ListActorsResponses, ListAddressConversationsData, ListAddressConversationsError, ListAddressConversationsErrors, ListAddressConversationsResponse, ListAddressConversationsResponses, ListAddressesData, ListAddressesError, ListAddressesErrors, ListAddressesResponse, ListAddressesResponses, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsErrors, ListAgentVersionsResponse, ListAgentVersionsResponses, ListAgentsData, ListAgentsError, ListAgentsErrors, ListAgentsResponse, ListAgentsResponses, ListAiProviderModelsData, ListAiProviderModelsErrors, ListAiProviderModelsResponse, ListAiProviderModelsResponses, ListAiProvidersData, ListAiProvidersErrors, ListAiProvidersResponse, ListAiProvidersResponses, ListApiKeysData, ListApiKeysError, ListApiKeysErrors, ListApiKeysResponse, ListApiKeysResponses, ListApprovalRecurrencesData, ListApprovalRecurrencesErrors, ListApprovalRecurrencesResponse, ListApprovalRecurrencesResponses, ListApprovalsData, ListApprovalsErrors, ListApprovalsResponse, ListApprovalsResponses, ListAssistantGrantsData, ListAssistantGrantsError, ListAssistantGrantsErrors, ListAssistantGrantsResponse, ListAssistantGrantsResponses, ListAuditEntriesData, ListAuditEntriesErrors, ListAuditEntriesResponse, ListAuditEntriesResponses, ListChainsData, ListChainsErrors, ListChainsResponse, ListChainsResponses, ListChannelConversationMessagesData, ListChannelConversationMessagesError, ListChannelConversationMessagesErrors, ListChannelConversationMessagesResponse, ListChannelConversationMessagesResponses, ListChannelConversationsData, ListChannelConversationsError, ListChannelConversationsErrors, ListChannelConversationsResponse, ListChannelConversationsResponses, ListChannelKindsData, ListChannelKindsError, ListChannelKindsErrors, ListChannelKindsResponse, ListChannelKindsResponses, ListChannelRoutesData, ListChannelRoutesError, ListChannelRoutesErrors, ListChannelRoutesResponse, ListChannelRoutesResponses, ListChannelsData, ListChannelsError, ListChannelsErrors, ListChannelsResponse, ListChannelsResponses, ListConversationMessagesData, ListConversationMessagesError, ListConversationMessagesErrors, ListConversationMessagesResponse, ListConversationMessagesResponses, ListConversationsData, ListConversationsError, ListConversationsErrors, ListConversationsResponse, ListConversationsResponses, ListDatasetItemsData, ListDatasetItemsErrors, ListDatasetItemsResponse, ListDatasetItemsResponses, ListDatasetsData, ListDatasetsErrors, ListDatasetsResponse, ListDatasetsResponses, ListDocumentsData, ListDocumentsError, ListDocumentsErrors, ListDocumentsResponse, ListDocumentsResponses, ListEvalResultsData, ListEvalResultsErrors, ListEvalResultsResponse, ListEvalResultsResponses, ListEvalRunsData, ListEvalRunsErrors, ListEvalRunsResponse, ListEvalRunsResponses, ListEvalsData, ListEvalsErrors, ListEvalsResponse, ListEvalsResponses, ListExceptionsData, ListExceptionsErrors, ListExceptionsResponse, ListExceptionsResponses, ListFilesData, ListFilesError, ListFilesErrors, ListFilesResponse, ListFilesResponses, ListFormationEventsData, ListFormationEventsErrors, ListFormationEventsResponse, ListFormationEventsResponses, ListFormationsData, ListFormationsErrors, ListFormationsResponse, ListFormationsResponses, ListGenerationsData, ListGenerationsError, ListGenerationsErrors, ListGenerationsResponse, ListGenerationsResponses, ListGuardrailVersionsData, ListGuardrailVersionsError, ListGuardrailVersionsErrors, ListGuardrailVersionsResponse, ListGuardrailVersionsResponses, ListGuardrailsData, ListGuardrailsError, ListGuardrailsErrors, ListGuardrailsResponse, ListGuardrailsResponses, ListIngestionRulesData, ListIngestionRulesErrors, ListIngestionRulesResponse, ListIngestionRulesResponses, ListMemoriesData, ListMemoriesErrors, ListMemoriesResponse, ListMemoriesResponses, ListMemoryStoresData, ListMemoryStoresErrors, ListMemoryStoresResponse, ListMemoryStoresResponses, ListModelRoutesData, ListModelRoutesErrors, ListModelRoutesResponse, ListModelRoutesResponses, ListModelsData, ListModelsError, ListModelsErrors, ListModelsResponse, ListModelsResponses, ListOrchestrationRunsData, ListOrchestrationRunsErrors, ListOrchestrationRunsResponse, ListOrchestrationRunsResponses, ListOrchestrationVersionsData, ListOrchestrationVersionsErrors, ListOrchestrationVersionsResponse, ListOrchestrationVersionsResponses, ListOrchestrationsData, ListOrchestrationsErrors, ListOrchestrationsResponse, ListOrchestrationsResponses, ListProjectChannelRoutesData, ListProjectChannelRoutesError, ListProjectChannelRoutesErrors, ListProjectChannelRoutesResponse, ListProjectChannelRoutesResponses, ListProjectMembersData, ListProjectMembersError, ListProjectMembersErrors, ListProjectMembersResponse, ListProjectMembersResponses, ListProjectUsageEventsData, ListProjectUsageEventsError, ListProjectUsageEventsErrors, ListProjectUsageEventsResponse, ListProjectUsageEventsResponses, ListProjectUsageThresholdsData, ListProjectUsageThresholdsError, ListProjectUsageThresholdsErrors, ListProjectUsageThresholdsResponse, ListProjectUsageThresholdsResponses, ListProjectsData, ListProjectsError, ListProjectsErrors, ListProjectsResponse, ListProjectsResponses, ListQuotasData, ListQuotasErrors, ListQuotasResponse, ListQuotasResponses, ListSecretsData, ListSecretsErrors, ListSecretsResponse, ListSecretsResponses, ListSessionForksData, ListSessionForksError, ListSessionForksErrors, ListSessionForksResponse, ListSessionForksResponses, ListSessionsData, ListSessionsError, ListSessionsErrors, ListSessionsResponse, ListSessionsResponses, ListTasksData, ListTasksErrors, ListTasksResponse, ListTasksResponses, ListToolsData, ListToolsError, ListToolsErrors, ListToolsResponse, ListToolsResponses, ListTracesData, ListTracesError, ListTracesErrors, ListTracesResponse, ListTracesResponses, ListTriggerFiringsData, ListTriggerFiringsErrors, ListTriggerFiringsResponse, ListTriggerFiringsResponses, ListTriggersData, ListTriggersErrors, ListTriggersResponse, ListTriggersResponses, ListUserCreditsData, ListUserCreditsError, ListUserCreditsErrors, ListUserCreditsResponse, ListUserCreditsResponses, ListUserPlanHistoryData, ListUserPlanHistoryError, ListUserPlanHistoryErrors, ListUserPlanHistoryResponse, ListUserPlanHistoryResponses, ListUsersData, ListUsersError, ListUsersErrors, ListUsersResponse, ListUsersResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesError, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponse, ListWebhookDeliveriesResponses, ListWebhooksData, ListWebhooksError, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponses, ListWorkflowVersionsData, ListWorkflowVersionsErrors, ListWorkflowVersionsResponse, ListWorkflowVersionsResponses, ListWorkflowsData, ListWorkflowsErrors, ListWorkflowsResponse, ListWorkflowsResponses, LlmJudgeScorer, LogoutData, LogoutError, LogoutErrors, LogoutRequest, LogoutResponse, LogoutResponses, Memory, MemoryKnowledgeResult, MemoryResourceProperties, MemoryStore, MemoryStoreResourceProperties, MemoryWriteResult, MergeActorTagsData, MergeActorTagsError, MergeActorTagsErrors, MergeActorTagsResponse, MergeActorTagsResponses, MergeConversationTagsData, MergeConversationTagsError, MergeConversationTagsErrors, MergeConversationTagsResponse, MergeConversationTagsResponses, MergeDocumentTagsData, MergeDocumentTagsError, MergeDocumentTagsErrors, MergeDocumentTagsResponse, MergeDocumentTagsResponses, MergeFileTagsData, MergeFileTagsError, MergeFileTagsErrors, MergeFileTagsResponse, MergeFileTagsResponses, MergeMemoryStoreTagsData, MergeMemoryStoreTagsErrors, MergeMemoryStoreTagsResponse, MergeMemoryStoreTagsResponses, MergeMemoryTagsData, MergeMemoryTagsErrors, MergeMemoryTagsResponse, MergeMemoryTagsResponses, MergeSessionTagsData, MergeSessionTagsError, MergeSessionTagsErrors, MergeSessionTagsResponse, MergeSessionTagsResponses, MessagesLimit, Model, ModelList, ModelName, ModelRoute, ModelRouteResourceProperties, ModelRouteTarget, NaturaliClientOptions, NodeExecution, NullableTagBag, Offset, OpenChannelConversationData, OpenChannelConversationError, OpenChannelConversationErrors, OpenChannelConversationResponse, OpenChannelConversationResponses, Options, Orchestration, OrchestrationEdge, OrchestrationId, OrchestrationNode, OrchestrationResourceProperties, OrchestrationRun, OrchestrationRunId, OrchestrationVersion, OutputSchemaScorer, ParameterDeclaration, PatchAgentData, PatchAgentError, PatchAgentErrors, PatchAgentResponse, PatchAgentResponses, PauseOrchestrationRunData, PauseOrchestrationRunErrors, PauseOrchestrationRunRequest, PauseOrchestrationRunResponse, PauseOrchestrationRunResponses, PauseTaskData, PauseTaskErrors, PauseTaskRequest, PauseTaskResponse, PauseTaskResponses, PlanChange, PlanEvent, PlanEventPage, PlanFormationData, PlanFormationErrors, PlanFormationResponse, PlanFormationResponses, PlanResult, PreviewAssistantLinkData, PreviewAssistantLinkError, PreviewAssistantLinkErrors, PreviewAssistantLinkResponse, PreviewAssistantLinkResponses, Price, PriceBook, Project, ProjectCreate, ProjectId, ProjectList, ProjectMember, ProjectMemberCreate, ProjectMemberList, ProjectMemberUpdate, ProjectRole, ProjectRuns, ProjectUpdate, ProjectUsage, ProjectUsageDistinct, ProjectUsageEvent, ProjectUsageEventPage, ProjectUsageFilters, ProjectUsageGroups, ProjectUsageReceipt, PromoteAgentReleaseData, PromoteAgentReleaseError, PromoteAgentReleaseErrors, PromoteAgentReleaseResponse, PromoteAgentReleaseResponses, ProviderModelsResponse, ProviderPrice, ProviderPricesResponse, PurgeGenerationContentData, PurgeGenerationContentError, PurgeGenerationContentErrors, PurgeGenerationContentResponse, PurgeGenerationContentResponses, PurgeTraceContentData, PurgeTraceContentError, PurgeTraceContentErrors, PurgeTraceContentResponse, PurgeTraceContentResponses, QueueStats, Quota, QuotaResourceProperties, RedeemAssistantLinkData, RedeemAssistantLinkError, RedeemAssistantLinkErrors, RedeemAssistantLinkResponse, RedeemAssistantLinkResponses, RedeliverWebhookDeliveryData, RedeliverWebhookDeliveryError, RedeliverWebhookDeliveryErrors, RedeliverWebhookDeliveryResponse, RedeliverWebhookDeliveryResponses, RefreshRequest, RefreshSessionData, RefreshSessionError, RefreshSessionErrors, RefreshSessionResponse, RefreshSessionResponses, ReingestDocumentData, ReingestDocumentError, ReingestDocumentErrors, ReingestDocumentResponse, ReingestDocumentResponses, RejectApprovalData, RejectApprovalErrors, RejectApprovalResponse, RejectApprovalResponses, RemoveConversationMessageData, RemoveConversationMessageError, RemoveConversationMessageErrors, RemoveConversationMessageResponse, RemoveConversationMessageResponses, RemoveProjectMemberData, RemoveProjectMemberError, RemoveProjectMemberErrors, RemoveProjectMemberResponse, RemoveProjectMemberResponses, ReplaceActorTagsData, ReplaceActorTagsError, ReplaceActorTagsErrors, ReplaceActorTagsResponse, ReplaceActorTagsResponses, ReplaceConversationTagsData, ReplaceConversationTagsError, ReplaceConversationTagsErrors, ReplaceConversationTagsResponse, ReplaceConversationTagsResponses, ReplaceDocumentTagsData, ReplaceDocumentTagsError, ReplaceDocumentTagsErrors, ReplaceDocumentTagsResponse, ReplaceDocumentTagsResponses, ReplaceFileTagsData, ReplaceFileTagsError, ReplaceFileTagsErrors, ReplaceFileTagsResponse, ReplaceFileTagsResponses, ReplaceMemoryStoreTagsData, ReplaceMemoryStoreTagsErrors, ReplaceMemoryStoreTagsResponse, ReplaceMemoryStoreTagsResponses, ReplaceMemoryTagsData, ReplaceMemoryTagsErrors, ReplaceMemoryTagsResponse, ReplaceMemoryTagsResponses, ReplaceSessionTagsData, ReplaceSessionTagsError, ReplaceSessionTagsErrors, ReplaceSessionTagsResponse, ReplaceSessionTagsResponses, RequestSignInCodeData, RequestSignInCodeError, RequestSignInCodeErrors, RequestSignInCodeResponse, RequestSignInCodeResponses, RequiredAction, ResolveExceptionData, ResolveExceptionErrors, ResolveExceptionResponse, ResolveExceptionResponses, ResourceDeclaration, RestoreAgentVersionData, RestoreAgentVersionError, RestoreAgentVersionErrors, RestoreAgentVersionRequest, RestoreAgentVersionResponse, RestoreAgentVersionResponses, RestoreGuardrailVersionData, RestoreGuardrailVersionError, RestoreGuardrailVersionErrors, RestoreGuardrailVersionRequest, RestoreGuardrailVersionResponse, RestoreGuardrailVersionResponses, RestoreOrchestrationVersionData, RestoreOrchestrationVersionErrors, RestoreOrchestrationVersionRequest, RestoreOrchestrationVersionResponse, RestoreOrchestrationVersionResponses, RestoreWorkflowVersionData, RestoreWorkflowVersionErrors, RestoreWorkflowVersionRequest, RestoreWorkflowVersionResponse, RestoreWorkflowVersionResponses, ResumeOrchestrationRunData, ResumeOrchestrationRunErrors, ResumeOrchestrationRunResponse, ResumeOrchestrationRunResponses, ResumeTaskData, ResumeTaskErrors, ResumeTaskResponse, ResumeTaskResponses, RevokeAssistantGrantData, RevokeAssistantGrantError, RevokeAssistantGrantErrors, RevokeAssistantGrantResponse, RevokeAssistantGrantResponses, RotateApiKeyData, RotateApiKeyError, RotateApiKeyErrors, RotateApiKeyResponse, RotateApiKeyResponses, RotateTriggerSecretData, RotateTriggerSecretErrors, RotateTriggerSecretResponse, RotateTriggerSecretResponses, RotateWebhookSecretData, RotateWebhookSecretError, RotateWebhookSecretErrors, RotateWebhookSecretResponse, RotateWebhookSecretResponses, RouteId, ScorerResult, Scorers, SearchKnowledgeData, SearchKnowledgeError, SearchKnowledgeErrors, SearchKnowledgeResponse, SearchKnowledgeResponses, SecretResourceProperties, SendSessionMessageResponse, SessionId, SessionRecord, SessionResourceProperties, SetAddressActionData, SetAddressActionError, SetAddressActionErrors, SetAddressActionResponse, SetAddressActionResponses, SetAgentReleaseData, SetAgentReleaseError, SetAgentReleaseErrors, SetAgentReleaseRequest, SetAgentReleaseResponse, SetAgentReleaseResponses, SignInCodeRequest, SignInCodeVerify, StartEvalRunData, StartEvalRunErrors, StartEvalRunResponse, StartEvalRunResponses, StartOrchestrationRunData, StartOrchestrationRunErrors, StartOrchestrationRunRequest, StartOrchestrationRunResponse, StartOrchestrationRunResponses, SubmitAgentToolOutputsData, SubmitAgentToolOutputsError, SubmitAgentToolOutputsErrors, SubmitAgentToolOutputsResponse, SubmitAgentToolOutputsResponses, SubmitHumanInputData, SubmitHumanInputErrors, SubmitHumanInputResponse, SubmitHumanInputResponses, SubmitSessionToolOutputsData, SubmitSessionToolOutputsError, SubmitSessionToolOutputsErrors, SubmitSessionToolOutputsRequest, SubmitSessionToolOutputsResponse, SubmitSessionToolOutputsResponses, SubmitToolOutputsRequest, TagBag, TagsQuery, Task, TaskTransition, Tool, ToolBinding, ToolOutputMessageContent, ToolResourceProperties, ToolScorer, Trace, TraceTreeNode, TranscriptStep, TranscriptToolCall, TranscriptToolResult, TransitionTaskData, TransitionTaskErrors, TransitionTaskRequest, TransitionTaskResponse, TransitionTaskResponses, Trigger, TriggerFiring, TriggerFiringListResponse, TriggerResourceProperties, TriggerSecretResponse, TriggerWithSecret, UnauthorizedFormationAction, UpdateActorData, UpdateActorError, UpdateActorErrors, UpdateActorResponse, UpdateActorResponses, UpdateAgentData, UpdateAgentError, UpdateAgentErrors, UpdateAgentRequest, UpdateAgentResponse, UpdateAgentResponses, UpdateAiProviderData, UpdateAiProviderErrors, UpdateAiProviderPricesData, UpdateAiProviderPricesErrors, UpdateAiProviderPricesResponse, UpdateAiProviderPricesResponses, UpdateAiProviderResponses, UpdateApiKeyData, UpdateApiKeyError, UpdateApiKeyErrors, UpdateApiKeyResponse, UpdateApiKeyResponses, UpdateChannelData, UpdateChannelError, UpdateChannelErrors, UpdateChannelResponse, UpdateChannelResponses, UpdateChannelRouteData, UpdateChannelRouteError, UpdateChannelRouteErrors, UpdateChannelRouteResponse, UpdateChannelRouteResponses, UpdateConversationData, UpdateConversationError, UpdateConversationErrors, UpdateConversationResponse, UpdateConversationResponses, UpdateCurrentUserData, UpdateCurrentUserError, UpdateCurrentUserErrors, UpdateCurrentUserResponse, UpdateCurrentUserResponses, UpdateDatasetData, UpdateDatasetErrors, UpdateDatasetItemData, UpdateDatasetItemErrors, UpdateDatasetItemResponse, UpdateDatasetItemResponses, UpdateDatasetResponse, UpdateDatasetResponses, UpdateDocumentData, UpdateDocumentError, UpdateDocumentErrors, UpdateDocumentResponse, UpdateDocumentResponses, UpdateEvalData, UpdateEvalErrors, UpdateEvalResponse, UpdateEvalResponses, UpdateFileMetadataData, UpdateFileMetadataError, UpdateFileMetadataErrors, UpdateFileMetadataResponse, UpdateFileMetadataResponses, UpdateFormationData, UpdateFormationErrors, UpdateFormationResponse, UpdateFormationResponses, UpdateGenerationData, UpdateGenerationError, UpdateGenerationErrors, UpdateGenerationRequest, UpdateGenerationResponse, UpdateGenerationResponses, UpdateGuardrailData, UpdateGuardrailError, UpdateGuardrailErrors, UpdateGuardrailRequest, UpdateGuardrailResponse, UpdateGuardrailResponses, UpdateIngestionRuleData, UpdateIngestionRuleErrors, UpdateIngestionRuleResponse, UpdateIngestionRuleResponses, UpdateMemoryData, UpdateMemoryErrors, UpdateMemoryResponse, UpdateMemoryResponses, UpdateMemoryStoreData, UpdateMemoryStoreErrors, UpdateMemoryStoreResponse, UpdateMemoryStoreResponses, UpdateModelRouteData, UpdateModelRouteErrors, UpdateModelRouteResponse, UpdateModelRouteResponses, UpdateOrchestrationData, UpdateOrchestrationErrors, UpdateOrchestrationRequest, UpdateOrchestrationResponse, UpdateOrchestrationResponses, UpdateProjectData, UpdateProjectError, UpdateProjectErrors, UpdateProjectMemberData, UpdateProjectMemberError, UpdateProjectMemberErrors, UpdateProjectMemberResponse, UpdateProjectMemberResponses, UpdateProjectResponse, UpdateProjectResponses, UpdateQuotaData, UpdateQuotaErrors, UpdateQuotaResponse, UpdateQuotaResponses, UpdateSecretData, UpdateSecretErrors, UpdateSecretResponses, UpdateSessionData, UpdateSessionError, UpdateSessionErrors, UpdateSessionRequest, UpdateSessionResponse, UpdateSessionResponses, UpdateTaskData, UpdateTaskErrors, UpdateTaskRequest, UpdateTaskResponse, UpdateTaskResponses, UpdateToolData, UpdateToolError, UpdateToolErrors, UpdateToolRequest, UpdateToolResponse, UpdateToolResponses, UpdateTriggerData, UpdateTriggerErrors, UpdateTriggerRequest, UpdateTriggerResponse, UpdateTriggerResponses, UpdateUserRolesData, UpdateUserRolesError, UpdateUserRolesErrors, UpdateUserRolesResponse, UpdateUserRolesResponses, UpdateWebhookData, UpdateWebhookError, UpdateWebhookErrors, UpdateWebhookResponse, UpdateWebhookResponses, UpdateWorkflowData, UpdateWorkflowErrors, UpdateWorkflowRequest, UpdateWorkflowResponse, UpdateWorkflowResponses, UploadFileBase64Data, UploadFileBase64Error, UploadFileBase64Errors, UploadFileBase64Request, UploadFileBase64Response, UploadFileBase64Responses, UploadFileData, UploadFileError, UploadFileErrors, UploadFileResponse, UploadFileResponses, UpsertProviderPricesRequest, UsageActionId, UsageActorId, UsageAgentId, UsageAiProviderId, UsageComponent, UsageComponents, UsageEventComponent, UsageGenerationId, UsageGroup, UsageMeterType, UsageOrchestrationId, UsageOrchestrationRunId, UsageSessionId, UsageSource, UsageThreshold, UsageThresholdCreate, UsageTokens, UsageTotals, UsageTraceId, UsageTriggerId, User, UserBilling, UserPlanGrant, UserRolesUpdate, UserUpdate, UserUsage, ValidateFormationData, ValidateFormationErrors, ValidateFormationResponse, ValidateFormationResponses, ValidateOrchestrationData, ValidateOrchestrationErrors, ValidateOrchestrationRequest, ValidateOrchestrationResponse, ValidateOrchestrationResponses, ValidationError, ValidationResult, VerifySignInCodeData, VerifySignInCodeError, VerifySignInCodeErrors, VerifySignInCodeResponse, VerifySignInCodeResponses, Webhook, WebhookCreate, WebhookDelivery, WebhookDeliveryList, WebhookId, WebhookList, WebhookUpdate, WebhookWithSecret, Workflow, WorkflowResourceProperties, WorkflowState, WorkflowTransition, WorkflowVersion };
|
|
23131
|
+
export type { AbortAgentReleaseData, AbortAgentReleaseError, AbortAgentReleaseErrors, AbortAgentReleaseResponse, AbortAgentReleaseResponses, AcceptedGenerationResponse, AcknowledgeExceptionData, AcknowledgeExceptionErrors, AcknowledgeExceptionResponse, AcknowledgeExceptionResponses, Acknowledgement, ActivityEntry, ActorRecord, ActorResourceProperties, AddConversationMessageData, AddConversationMessageError, AddConversationMessageErrors, AddConversationMessageResponse, AddConversationMessageResponses, AddProjectMemberData, AddProjectMemberError, AddProjectMemberErrors, AddProjectMemberResponse, AddProjectMemberResponses, AddSessionMessageData, AddSessionMessageError, AddSessionMessageErrors, AddSessionMessageRequest, AddSessionMessageResponse, AddSessionMessageResponse2, AddSessionMessageResponses, AddSessionMessageSaved, Address, AddressActionSet, AddressList, AdminUser, AdminUserPage, Agent, AgentGenerationResponse, AgentRelease, AgentResourceProperties, AgentVersion, AggregateScores, AiProviderResourceProperties, ApiKeyCreate, ApiKeyCreated, ApiKeyId, ApiKeyList, ApiKeyRecord, ApiKeyUpdate, ApprovalId, ApprovalItem, ApprovalRecurrenceGroup, ApproveApprovalData, ApproveApprovalErrors, ApproveApprovalResponse, ApproveApprovalResponses, AssistantChannel, AssistantGrant, AssistantGrantList, AssistantLinkPreview, AssistantLinkRedeem, AssistantScope, AuditEntry, AuthSession, BaselineComparison, CallToolData, CallToolError, CallToolErrors, CallToolRequest, CallToolResponses, CancelEvalRunData, CancelEvalRunErrors, CancelEvalRunResponse, CancelEvalRunResponses, CancelOrchestrationRunData, CancelOrchestrationRunErrors, CancelOrchestrationRunResponse, CancelOrchestrationRunResponses, Chain, ChainId, Channel, ChannelCreate, ChannelDefaultAction, ChannelDefaultActionInput, ChannelId, ChannelKind, ChannelKindList, ChannelList, ChannelPredicate, ChannelRoute, ChannelRouteList, ChannelRouteWrite, ChannelSurface, ChannelUpdate, ClientOptions, ContainsScorer, Conversation, ConversationId, ConversationList, ConversationMessage, ConversationMessageList, ConversationMessageRecord, ConversationRecord, ConversationResourceProperties, CreateActorData, CreateActorError, CreateActorErrors, CreateActorResponse, CreateActorResponses, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentGenerationData, CreateAgentGenerationError, CreateAgentGenerationErrors, CreateAgentGenerationRequest, CreateAgentGenerationResponse, CreateAgentGenerationResponses, CreateAgentRequest, CreateAgentResponse, CreateAgentResponses, CreateAiProviderData, CreateAiProviderErrors, CreateAiProviderResponse, CreateAiProviderResponses, CreateApiKeyData, CreateApiKeyError, CreateApiKeyErrors, CreateApiKeyResponse, CreateApiKeyResponses, CreateChannelData, CreateChannelError, CreateChannelErrors, CreateChannelResponse, CreateChannelResponses, CreateChannelRouteData, CreateChannelRouteError, CreateChannelRouteErrors, CreateChannelRouteResponse, CreateChannelRouteResponses, CreateConversationData, CreateConversationError, CreateConversationErrors, CreateConversationResponse, CreateConversationResponses, CreateDatasetData, CreateDatasetErrors, CreateDatasetItemData, CreateDatasetItemErrors, CreateDatasetItemFromGenerationData, CreateDatasetItemFromGenerationErrors, CreateDatasetItemFromGenerationResponse, CreateDatasetItemFromGenerationResponses, CreateDatasetItemResponse, CreateDatasetItemResponses, CreateDatasetResponse, CreateDatasetResponses, CreateDocumentData, CreateDocumentError, CreateDocumentErrors, CreateDocumentResponse, CreateDocumentResponses, CreateEmbeddingsData, CreateEmbeddingsError, CreateEmbeddingsErrors, CreateEmbeddingsResponse, CreateEmbeddingsResponses, CreateEvalData, CreateEvalErrors, CreateEvalResponse, CreateEvalResponses, CreateFileData, CreateFileError, CreateFileErrors, CreateFileResponse, CreateFileResponses, CreateFormationData, CreateFormationErrors, CreateFormationResponse, CreateFormationResponses, CreateGuardrailData, CreateGuardrailError, CreateGuardrailErrors, CreateGuardrailRequest, CreateGuardrailResponse, CreateGuardrailResponses, CreateIngestionRuleData, CreateIngestionRuleErrors, CreateIngestionRuleResponse, CreateIngestionRuleResponses, CreateMemoryData, CreateMemoryErrors, CreateMemoryResponse, CreateMemoryResponses, CreateMemoryRuleData, CreateMemoryRuleErrors, CreateMemoryRuleResponse, CreateMemoryRuleResponses, CreateMemoryStoreData, CreateMemoryStoreErrors, CreateMemoryStoreResponse, CreateMemoryStoreResponses, CreateModelRouteData, CreateModelRouteErrors, CreateModelRouteResponse, CreateModelRouteResponses, CreateOrchestrationData, CreateOrchestrationErrors, CreateOrchestrationRequest, CreateOrchestrationResponse, CreateOrchestrationResponses, CreateProjectData, CreateProjectError, CreateProjectErrors, CreateProjectResponse, CreateProjectResponses, CreateProjectUsageThresholdData, CreateProjectUsageThresholdError, CreateProjectUsageThresholdErrors, CreateProjectUsageThresholdResponse, CreateProjectUsageThresholdResponses, CreateQuotaData, CreateQuotaErrors, CreateQuotaResponse, CreateQuotaResponses, CreateSecretData, CreateSecretErrors, CreateSecretResponse, CreateSecretResponses, CreateSessionData, CreateSessionError, CreateSessionErrors, CreateSessionRequest, CreateSessionResponse, CreateSessionResponses, CreateTaskData, CreateTaskErrors, CreateTaskRequest, CreateTaskResponse, CreateTaskResponses, CreateToolData, CreateToolError, CreateToolErrors, CreateToolRequest, CreateToolResponse, CreateToolResponses, CreateTriggerData, CreateTriggerErrors, CreateTriggerRequest, CreateTriggerResponse, CreateTriggerResponses, CreateWebhookData, CreateWebhookError, CreateWebhookErrors, CreateWebhookResponse, CreateWebhookResponses, CreateWorkflowData, CreateWorkflowErrors, CreateWorkflowRequest, CreateWorkflowResponse, CreateWorkflowResponses, CreditEntry, CreditEntryPage, CreditGrant, CreditGrantResult, Cursor, Dataset, DatasetItem, DatasetItemInput, DatasetItemResourceProperties, DatasetResourceProperties, DeleteActorData, DeleteActorError, DeleteActorErrors, DeleteActorResponse, DeleteActorResponses, DeleteAddressData, DeleteAddressError, DeleteAddressErrors, DeleteAddressResponse, DeleteAddressResponses, DeleteAgentData, DeleteAgentError, DeleteAgentErrors, DeleteAgentResponse, DeleteAgentResponses, DeleteAiProviderData, DeleteAiProviderErrors, DeleteAiProviderResponse, DeleteAiProviderResponses, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyErrors, DeleteApiKeyResponse, DeleteApiKeyResponses, DeleteChannelData, DeleteChannelError, DeleteChannelErrors, DeleteChannelResponse, DeleteChannelResponses, DeleteChannelRouteData, DeleteChannelRouteError, DeleteChannelRouteErrors, DeleteChannelRouteResponse, DeleteChannelRouteResponses, DeleteConversationData, DeleteConversationError, DeleteConversationErrors, DeleteConversationResponse, DeleteConversationResponses, DeleteDatasetData, DeleteDatasetErrors, DeleteDatasetItemData, DeleteDatasetItemErrors, DeleteDatasetItemResponse, DeleteDatasetItemResponses, DeleteDatasetResponse, DeleteDatasetResponses, DeleteDocumentData, DeleteDocumentError, DeleteDocumentErrors, DeleteDocumentResponse, DeleteDocumentResponses, DeleteEvalData, DeleteEvalErrors, DeleteEvalResponse, DeleteEvalResponses, DeleteFileData, DeleteFileError, DeleteFileErrors, DeleteFileResponse, DeleteFileResponses, DeleteFormationData, DeleteFormationErrors, DeleteFormationResponse, DeleteFormationResponses, DeleteGuardrailData, DeleteGuardrailError, DeleteGuardrailErrors, DeleteGuardrailResponse, DeleteGuardrailResponses, DeleteIngestionRuleData, DeleteIngestionRuleErrors, DeleteIngestionRuleResponse, DeleteIngestionRuleResponses, DeleteMemoryData, DeleteMemoryErrors, DeleteMemoryResponse, DeleteMemoryResponses, DeleteMemoryRuleData, DeleteMemoryRuleErrors, DeleteMemoryRuleResponse, DeleteMemoryRuleResponses, DeleteMemoryStoreData, DeleteMemoryStoreErrors, DeleteMemoryStoreResponse, DeleteMemoryStoreResponses, DeleteModelRouteData, DeleteModelRouteErrors, DeleteModelRouteResponse, DeleteModelRouteResponses, DeleteOrchestrationData, DeleteOrchestrationErrors, DeleteOrchestrationResponse, DeleteOrchestrationResponses, DeleteProjectData, DeleteProjectError, DeleteProjectErrors, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectUsageThresholdData, DeleteProjectUsageThresholdError, DeleteProjectUsageThresholdErrors, DeleteProjectUsageThresholdResponse, DeleteProjectUsageThresholdResponses, DeleteQuotaData, DeleteQuotaErrors, DeleteQuotaResponse, DeleteQuotaResponses, DeleteSecretData, DeleteSecretErrors, DeleteSecretResponses, DeleteSessionData, DeleteSessionError, DeleteSessionErrors, DeleteSessionResponse, DeleteSessionResponses, DeleteTaskData, DeleteTaskErrors, DeleteTaskResponse, DeleteTaskResponses, DeleteToolData, DeleteToolError, DeleteToolErrors, DeleteToolResponse, DeleteToolResponses, DeleteTriggerData, DeleteTriggerErrors, DeleteTriggerResponse, DeleteTriggerResponses, DeleteWebhookData, DeleteWebhookError, DeleteWebhookErrors, DeleteWebhookResponse, DeleteWebhookResponses, DeleteWorkflowData, DeleteWorkflowErrors, DeleteWorkflowResponse, DeleteWorkflowResponses, DeliveryId, DiscordModes, DocumentKnowledgeResult, DocumentMessageContent, DocumentRecord, DocumentResourceProperties, DocumentStatusRecord, DownloadFileBase64Data, DownloadFileBase64Error, DownloadFileBase64Errors, DownloadFileBase64Response, DownloadFileBase64Responses, DownloadFileData, DownloadFileError, DownloadFileErrors, DownloadFileResponse, DownloadFileResponses, EmbeddingSimilarityScorer, EmbeddingsResponse, ErrorResponse, Eval, EvalResourceProperties, EvalResult, EvalRun, EvaluateGuardrailData, EvaluateGuardrailError, EvaluateGuardrailErrors, EvaluateGuardrailResponse, EvaluateGuardrailResponses, Event, EventSubscription, EventType, ExactMatchScorer, ExceptionId, ExceptionItem, ExportAuditEntriesData, ExportAuditEntriesErrors, ExportAuditEntriesResponse, ExportAuditEntriesResponses, FileRecord, FileRecordWritable, FileResourceProperties, FireTriggerData, FireTriggerErrors, FireTriggerRequest, FireTriggerResponse, FireTriggerResponses, Force, ForkSessionData, ForkSessionError, ForkSessionErrors, ForkSessionRequest, ForkSessionResponse, ForkSessionResponses, Formation, FormationError, FormationEvent, FormationOperation, FormationResource, FormationTemplate, FormationTemplateInput, GenerateConversationMessageCompleted, GenerateConversationMessageData, GenerateConversationMessageError, GenerateConversationMessageErrors, GenerateConversationMessageRequiresAction, GenerateConversationMessageResponse, GenerateConversationMessageResponse2, GenerateConversationMessageResponses, GenerateSessionRequest, GenerateSessionResponse, GenerateSessionResponseData, GenerateSessionResponseError, GenerateSessionResponseErrors, GenerateSessionResponseResponse, GenerateSessionResponseResponses, Generation, GenerationTranscript, GetActorData, GetActorError, GetActorErrors, GetActorResponse, GetActorResponses, GetActorTagsData, GetActorTagsError, GetActorTagsErrors, GetActorTagsResponse, GetActorTagsResponses, GetAddressData, GetAddressError, GetAddressErrors, GetAddressResponse, GetAddressResponses, GetAdminPriceBookData, GetAdminPriceBookError, GetAdminPriceBookErrors, GetAdminPriceBookResponse, GetAdminPriceBookResponses, GetAgentData, GetAgentError, GetAgentErrors, GetAgentResponse, GetAgentResponses, GetAgentVersionData, GetAgentVersionError, GetAgentVersionErrors, GetAgentVersionResponse, GetAgentVersionResponses, GetAiProviderData, GetAiProviderErrors, GetAiProviderPricesData, GetAiProviderPricesErrors, GetAiProviderPricesResponse, GetAiProviderPricesResponses, GetAiProviderResponse, GetAiProviderResponses, GetApiKeyData, GetApiKeyError, GetApiKeyErrors, GetApiKeyResponse, GetApiKeyResponses, GetApprovalData, GetApprovalErrors, GetApprovalResponse, GetApprovalResponses, GetAuditEntryData, GetAuditEntryErrors, GetAuditEntryResponse, GetAuditEntryResponses, GetChainData, GetChainErrors, GetChainResponse, GetChainResponses, GetChannelConversationData, GetChannelConversationError, GetChannelConversationErrors, GetChannelConversationResponse, GetChannelConversationResponses, GetChannelData, GetChannelError, GetChannelErrors, GetChannelResponse, GetChannelResponses, GetChannelRouteData, GetChannelRouteError, GetChannelRouteErrors, GetChannelRouteResponse, GetChannelRouteResponses, GetConversationData, GetConversationError, GetConversationErrors, GetConversationResponse, GetConversationResponses, GetConversationTagsData, GetConversationTagsError, GetConversationTagsErrors, GetConversationTagsResponse, GetConversationTagsResponses, GetCurrentUserBillingData, GetCurrentUserBillingError, GetCurrentUserBillingErrors, GetCurrentUserBillingResponse, GetCurrentUserBillingResponses, GetCurrentUserData, GetCurrentUserError, GetCurrentUserErrors, GetCurrentUserResponse, GetCurrentUserResponses, GetCurrentUserUsageData, GetCurrentUserUsageError, GetCurrentUserUsageErrors, GetCurrentUserUsageResponse, GetCurrentUserUsageResponses, GetDatasetData, GetDatasetErrors, GetDatasetResponse, GetDatasetResponses, GetDocumentData, GetDocumentError, GetDocumentErrors, GetDocumentResponse, GetDocumentResponses, GetDocumentStatusData, GetDocumentStatusError, GetDocumentStatusErrors, GetDocumentStatusResponse, GetDocumentStatusResponses, GetDocumentTagsData, GetDocumentTagsError, GetDocumentTagsErrors, GetDocumentTagsResponse, GetDocumentTagsResponses, GetEvalData, GetEvalErrors, GetEvalResponse, GetEvalResponses, GetEvalRunData, GetEvalRunErrors, GetEvalRunResponse, GetEvalRunResponses, GetExceptionData, GetExceptionErrors, GetExceptionResponse, GetExceptionResponses, GetFileData, GetFileError, GetFileErrors, GetFileResponse, GetFileResponses, GetFileTagsData, GetFileTagsError, GetFileTagsErrors, GetFileTagsResponse, GetFileTagsResponses, GetFormationData, GetFormationErrors, GetFormationResponse, GetFormationResponses, GetGenerationData, GetGenerationError, GetGenerationErrors, GetGenerationResponse, GetGenerationResponses, GetGenerationTranscriptData, GetGenerationTranscriptError, GetGenerationTranscriptErrors, GetGenerationTranscriptResponse, GetGenerationTranscriptResponses, GetGuardrailData, GetGuardrailError, GetGuardrailErrors, GetGuardrailResponse, GetGuardrailResponses, GetGuardrailVersionData, GetGuardrailVersionError, GetGuardrailVersionErrors, GetGuardrailVersionResponse, GetGuardrailVersionResponses, GetIngestionRuleData, GetIngestionRuleErrors, GetIngestionRuleResponse, GetIngestionRuleResponses, GetMemoryData, GetMemoryErrors, GetMemoryResponse, GetMemoryResponses, GetMemoryRuleData, GetMemoryRuleErrors, GetMemoryRuleResponse, GetMemoryRuleResponses, GetMemoryStoreData, GetMemoryStoreErrors, GetMemoryStoreResponse, GetMemoryStoreResponses, GetMemoryStoreTagsData, GetMemoryStoreTagsErrors, GetMemoryStoreTagsResponse, GetMemoryStoreTagsResponses, GetMemoryTagsData, GetMemoryTagsErrors, GetMemoryTagsResponse, GetMemoryTagsResponses, GetModelData, GetModelError, GetModelErrors, GetModelResponse, GetModelResponses, GetModelRouteData, GetModelRouteErrors, GetModelRouteResponse, GetModelRouteResponses, GetOrchestrationData, GetOrchestrationErrors, GetOrchestrationResponse, GetOrchestrationResponses, GetOrchestrationRunData, GetOrchestrationRunErrors, GetOrchestrationRunResponse, GetOrchestrationRunResponses, GetOrchestrationVersionData, GetOrchestrationVersionErrors, GetOrchestrationVersionResponse, GetOrchestrationVersionResponses, GetProjectData, GetProjectError, GetProjectErrors, GetProjectResponse, GetProjectResponses, GetProjectUsageData, GetProjectUsageError, GetProjectUsageErrors, GetProjectUsageReceiptData, GetProjectUsageReceiptError, GetProjectUsageReceiptErrors, GetProjectUsageReceiptResponse, GetProjectUsageReceiptResponses, GetProjectUsageResponse, GetProjectUsageResponses, GetQueueStatsData, GetQueueStatsErrors, GetQueueStatsResponse, GetQueueStatsResponses, GetQuotaData, GetQuotaErrors, GetQuotaResponse, GetQuotaResponses, GetSecretData, GetSecretErrors, GetSecretResponse, GetSecretResponses, GetSessionData, GetSessionError, GetSessionErrors, GetSessionResponse, GetSessionResponses, GetSessionTagsData, GetSessionTagsError, GetSessionTagsErrors, GetSessionTagsResponse, GetSessionTagsResponses, GetTaskData, GetTaskErrors, GetTaskHistoryData, GetTaskHistoryErrors, GetTaskHistoryResponse, GetTaskHistoryResponses, GetTaskResponse, GetTaskResponses, GetToolData, GetToolError, GetToolErrors, GetToolResponse, GetToolResponses, GetTraceData, GetTraceError, GetTraceErrors, GetTraceResponse, GetTraceResponses, GetTraceTreeData, GetTraceTreeError, GetTraceTreeErrors, GetTraceTreeResponse, GetTraceTreeResponses, GetTriggerData, GetTriggerErrors, GetTriggerFiringData, GetTriggerFiringErrors, GetTriggerFiringResponse, GetTriggerFiringResponses, GetTriggerResponse, GetTriggerResponses, GetTriggerSecretData, GetTriggerSecretErrors, GetTriggerSecretResponse, GetTriggerSecretResponses, GetWebhookData, GetWebhookDeliveryData, GetWebhookDeliveryError, GetWebhookDeliveryErrors, GetWebhookDeliveryResponse, GetWebhookDeliveryResponses, GetWebhookError, GetWebhookErrors, GetWebhookResponse, GetWebhookResponses, GetWorkflowData, GetWorkflowErrors, GetWorkflowResponse, GetWorkflowResponses, GetWorkflowVersionData, GetWorkflowVersionErrors, GetWorkflowVersionResponse, GetWorkflowVersionResponses, GrantId, GrantUserCreditData, GrantUserCreditError, GrantUserCreditErrors, GrantUserCreditResponse, GrantUserCreditResponses, GrantUserPlanData, GrantUserPlanError, GrantUserPlanErrors, GrantUserPlanResponse, GrantUserPlanResponses, GrantableProjectRole, Guardrail, GuardrailDocument, GuardrailEvaluation, GuardrailResourceProperties, GuardrailVersion, HumanInputRequest, IdempotencyKey, Identifier, IngestDocumentData, IngestDocumentError, IngestDocumentErrors, IngestDocumentResponse, IngestDocumentResponses, IngestedDocumentRecord, IngestionRule, IngestionRuleResourceProperties, JsonLogicScorer, KnowledgeResult, Limit, LinkToken, ListActivityData, ListActivityErrors, ListActivityResponse, ListActivityResponses, ListActorsData, ListActorsError, ListActorsErrors, ListActorsResponse, ListActorsResponses, ListAddressConversationsData, ListAddressConversationsError, ListAddressConversationsErrors, ListAddressConversationsResponse, ListAddressConversationsResponses, ListAddressesData, ListAddressesError, ListAddressesErrors, ListAddressesResponse, ListAddressesResponses, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsErrors, ListAgentVersionsResponse, ListAgentVersionsResponses, ListAgentsData, ListAgentsError, ListAgentsErrors, ListAgentsResponse, ListAgentsResponses, ListAiProviderModelsData, ListAiProviderModelsErrors, ListAiProviderModelsResponse, ListAiProviderModelsResponses, ListAiProvidersData, ListAiProvidersErrors, ListAiProvidersResponse, ListAiProvidersResponses, ListApiKeysData, ListApiKeysError, ListApiKeysErrors, ListApiKeysResponse, ListApiKeysResponses, ListApprovalRecurrencesData, ListApprovalRecurrencesErrors, ListApprovalRecurrencesResponse, ListApprovalRecurrencesResponses, ListApprovalsData, ListApprovalsErrors, ListApprovalsResponse, ListApprovalsResponses, ListAssistantGrantsData, ListAssistantGrantsError, ListAssistantGrantsErrors, ListAssistantGrantsResponse, ListAssistantGrantsResponses, ListAuditEntriesData, ListAuditEntriesErrors, ListAuditEntriesResponse, ListAuditEntriesResponses, ListChainsData, ListChainsErrors, ListChainsResponse, ListChainsResponses, ListChannelConversationMessagesData, ListChannelConversationMessagesError, ListChannelConversationMessagesErrors, ListChannelConversationMessagesResponse, ListChannelConversationMessagesResponses, ListChannelConversationsData, ListChannelConversationsError, ListChannelConversationsErrors, ListChannelConversationsResponse, ListChannelConversationsResponses, ListChannelKindsData, ListChannelKindsError, ListChannelKindsErrors, ListChannelKindsResponse, ListChannelKindsResponses, ListChannelRoutesData, ListChannelRoutesError, ListChannelRoutesErrors, ListChannelRoutesResponse, ListChannelRoutesResponses, ListChannelsData, ListChannelsError, ListChannelsErrors, ListChannelsResponse, ListChannelsResponses, ListConversationMessagesData, ListConversationMessagesError, ListConversationMessagesErrors, ListConversationMessagesResponse, ListConversationMessagesResponses, ListConversationsData, ListConversationsError, ListConversationsErrors, ListConversationsResponse, ListConversationsResponses, ListDatasetItemsData, ListDatasetItemsErrors, ListDatasetItemsResponse, ListDatasetItemsResponses, ListDatasetsData, ListDatasetsErrors, ListDatasetsResponse, ListDatasetsResponses, ListDocumentsData, ListDocumentsError, ListDocumentsErrors, ListDocumentsResponse, ListDocumentsResponses, ListEvalResultsData, ListEvalResultsErrors, ListEvalResultsResponse, ListEvalResultsResponses, ListEvalRunsData, ListEvalRunsErrors, ListEvalRunsResponse, ListEvalRunsResponses, ListEvalsData, ListEvalsErrors, ListEvalsResponse, ListEvalsResponses, ListExceptionsData, ListExceptionsErrors, ListExceptionsResponse, ListExceptionsResponses, ListFilesData, ListFilesError, ListFilesErrors, ListFilesResponse, ListFilesResponses, ListFormationEventsData, ListFormationEventsErrors, ListFormationEventsResponse, ListFormationEventsResponses, ListFormationsData, ListFormationsErrors, ListFormationsResponse, ListFormationsResponses, ListGenerationsData, ListGenerationsError, ListGenerationsErrors, ListGenerationsResponse, ListGenerationsResponses, ListGuardrailVersionsData, ListGuardrailVersionsError, ListGuardrailVersionsErrors, ListGuardrailVersionsResponse, ListGuardrailVersionsResponses, ListGuardrailsData, ListGuardrailsError, ListGuardrailsErrors, ListGuardrailsResponse, ListGuardrailsResponses, ListIngestionRulesData, ListIngestionRulesErrors, ListIngestionRulesResponse, ListIngestionRulesResponses, ListMemoriesData, ListMemoriesErrors, ListMemoriesResponse, ListMemoriesResponses, ListMemoryAssertionsData, ListMemoryAssertionsErrors, ListMemoryAssertionsResponse, ListMemoryAssertionsResponses, ListMemoryRulesData, ListMemoryRulesErrors, ListMemoryRulesResponse, ListMemoryRulesResponses, ListMemoryStoreAssertionsData, ListMemoryStoreAssertionsErrors, ListMemoryStoreAssertionsResponse, ListMemoryStoreAssertionsResponses, ListMemoryStoresData, ListMemoryStoresErrors, ListMemoryStoresResponse, ListMemoryStoresResponses, ListModelRoutesData, ListModelRoutesErrors, ListModelRoutesResponse, ListModelRoutesResponses, ListModelsData, ListModelsError, ListModelsErrors, ListModelsResponse, ListModelsResponses, ListOrchestrationRunsData, ListOrchestrationRunsErrors, ListOrchestrationRunsResponse, ListOrchestrationRunsResponses, ListOrchestrationVersionsData, ListOrchestrationVersionsErrors, ListOrchestrationVersionsResponse, ListOrchestrationVersionsResponses, ListOrchestrationsData, ListOrchestrationsErrors, ListOrchestrationsResponse, ListOrchestrationsResponses, ListProjectChannelRoutesData, ListProjectChannelRoutesError, ListProjectChannelRoutesErrors, ListProjectChannelRoutesResponse, ListProjectChannelRoutesResponses, ListProjectMembersData, ListProjectMembersError, ListProjectMembersErrors, ListProjectMembersResponse, ListProjectMembersResponses, ListProjectUsageEventsData, ListProjectUsageEventsError, ListProjectUsageEventsErrors, ListProjectUsageEventsResponse, ListProjectUsageEventsResponses, ListProjectUsageThresholdsData, ListProjectUsageThresholdsError, ListProjectUsageThresholdsErrors, ListProjectUsageThresholdsResponse, ListProjectUsageThresholdsResponses, ListProjectsData, ListProjectsError, ListProjectsErrors, ListProjectsResponse, ListProjectsResponses, ListQuotasData, ListQuotasErrors, ListQuotasResponse, ListQuotasResponses, ListSecretsData, ListSecretsErrors, ListSecretsResponse, ListSecretsResponses, ListSessionForksData, ListSessionForksError, ListSessionForksErrors, ListSessionForksResponse, ListSessionForksResponses, ListSessionsData, ListSessionsError, ListSessionsErrors, ListSessionsResponse, ListSessionsResponses, ListTasksData, ListTasksErrors, ListTasksResponse, ListTasksResponses, ListToolsData, ListToolsError, ListToolsErrors, ListToolsResponse, ListToolsResponses, ListTracesData, ListTracesError, ListTracesErrors, ListTracesResponse, ListTracesResponses, ListTriggerFiringsData, ListTriggerFiringsErrors, ListTriggerFiringsResponse, ListTriggerFiringsResponses, ListTriggersData, ListTriggersErrors, ListTriggersResponse, ListTriggersResponses, ListUserCreditsData, ListUserCreditsError, ListUserCreditsErrors, ListUserCreditsResponse, ListUserCreditsResponses, ListUserPlanHistoryData, ListUserPlanHistoryError, ListUserPlanHistoryErrors, ListUserPlanHistoryResponse, ListUserPlanHistoryResponses, ListUsersData, ListUsersError, ListUsersErrors, ListUsersResponse, ListUsersResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesError, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponse, ListWebhookDeliveriesResponses, ListWebhooksData, ListWebhooksError, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponses, ListWorkflowVersionsData, ListWorkflowVersionsErrors, ListWorkflowVersionsResponse, ListWorkflowVersionsResponses, ListWorkflowsData, ListWorkflowsErrors, ListWorkflowsResponse, ListWorkflowsResponses, LlmJudgeScorer, LogoutData, LogoutError, LogoutErrors, LogoutRequest, LogoutResponse, LogoutResponses, Memory, MemoryAssertion, MemoryKnowledgeResult, MemoryResourceProperties, MemoryRule, MemoryRuleEvent, MemoryRuleResourceProperties, MemoryStore, MemoryStoreResourceProperties, MemoryWriteResult, MergeActorTagsData, MergeActorTagsError, MergeActorTagsErrors, MergeActorTagsResponse, MergeActorTagsResponses, MergeConversationTagsData, MergeConversationTagsError, MergeConversationTagsErrors, MergeConversationTagsResponse, MergeConversationTagsResponses, MergeDocumentTagsData, MergeDocumentTagsError, MergeDocumentTagsErrors, MergeDocumentTagsResponse, MergeDocumentTagsResponses, MergeFileTagsData, MergeFileTagsError, MergeFileTagsErrors, MergeFileTagsResponse, MergeFileTagsResponses, MergeMemoryStoreTagsData, MergeMemoryStoreTagsErrors, MergeMemoryStoreTagsResponse, MergeMemoryStoreTagsResponses, MergeMemoryTagsData, MergeMemoryTagsErrors, MergeMemoryTagsResponse, MergeMemoryTagsResponses, MergeSessionTagsData, MergeSessionTagsError, MergeSessionTagsErrors, MergeSessionTagsResponse, MergeSessionTagsResponses, MessagesLimit, Model, ModelList, ModelName, ModelRoute, ModelRouteResourceProperties, ModelRouteTarget, NaturaliClientOptions, NodeExecution, NullableTagBag, Offset, OpenChannelConversationData, OpenChannelConversationError, OpenChannelConversationErrors, OpenChannelConversationResponse, OpenChannelConversationResponses, Options, Orchestration, OrchestrationEdge, OrchestrationId, OrchestrationNode, OrchestrationResourceProperties, OrchestrationRun, OrchestrationRunId, OrchestrationVersion, OutputSchemaScorer, ParameterDeclaration, PatchAgentData, PatchAgentError, PatchAgentErrors, PatchAgentResponse, PatchAgentResponses, PauseOrchestrationRunData, PauseOrchestrationRunErrors, PauseOrchestrationRunRequest, PauseOrchestrationRunResponse, PauseOrchestrationRunResponses, PauseTaskData, PauseTaskErrors, PauseTaskRequest, PauseTaskResponse, PauseTaskResponses, PlanChange, PlanEvent, PlanEventPage, PlanFormationData, PlanFormationErrors, PlanFormationResponse, PlanFormationResponses, PlanResult, PreviewAssistantLinkData, PreviewAssistantLinkError, PreviewAssistantLinkErrors, PreviewAssistantLinkResponse, PreviewAssistantLinkResponses, Price, PriceBook, Project, ProjectCreate, ProjectId, ProjectList, ProjectMember, ProjectMemberCreate, ProjectMemberList, ProjectMemberUpdate, ProjectRole, ProjectRuns, ProjectUpdate, ProjectUsage, ProjectUsageDistinct, ProjectUsageEvent, ProjectUsageEventPage, ProjectUsageFilters, ProjectUsageGroups, ProjectUsageReceipt, PromoteAgentReleaseData, PromoteAgentReleaseError, PromoteAgentReleaseErrors, PromoteAgentReleaseResponse, PromoteAgentReleaseResponses, ProviderModelsResponse, ProviderPrice, ProviderPricesResponse, PurgeGenerationContentData, PurgeGenerationContentError, PurgeGenerationContentErrors, PurgeGenerationContentResponse, PurgeGenerationContentResponses, PurgeTraceContentData, PurgeTraceContentError, PurgeTraceContentErrors, PurgeTraceContentResponse, PurgeTraceContentResponses, QueueStats, Quota, QuotaResourceProperties, RedeemAssistantLinkData, RedeemAssistantLinkError, RedeemAssistantLinkErrors, RedeemAssistantLinkResponse, RedeemAssistantLinkResponses, RedeliverWebhookDeliveryData, RedeliverWebhookDeliveryError, RedeliverWebhookDeliveryErrors, RedeliverWebhookDeliveryResponse, RedeliverWebhookDeliveryResponses, RefreshRequest, RefreshSessionData, RefreshSessionError, RefreshSessionErrors, RefreshSessionResponse, RefreshSessionResponses, ReingestDocumentData, ReingestDocumentError, ReingestDocumentErrors, ReingestDocumentResponse, ReingestDocumentResponses, RejectApprovalData, RejectApprovalErrors, RejectApprovalResponse, RejectApprovalResponses, RemoveConversationMessageData, RemoveConversationMessageError, RemoveConversationMessageErrors, RemoveConversationMessageResponse, RemoveConversationMessageResponses, RemoveProjectMemberData, RemoveProjectMemberError, RemoveProjectMemberErrors, RemoveProjectMemberResponse, RemoveProjectMemberResponses, ReplaceActorTagsData, ReplaceActorTagsError, ReplaceActorTagsErrors, ReplaceActorTagsResponse, ReplaceActorTagsResponses, ReplaceConversationTagsData, ReplaceConversationTagsError, ReplaceConversationTagsErrors, ReplaceConversationTagsResponse, ReplaceConversationTagsResponses, ReplaceDocumentTagsData, ReplaceDocumentTagsError, ReplaceDocumentTagsErrors, ReplaceDocumentTagsResponse, ReplaceDocumentTagsResponses, ReplaceFileTagsData, ReplaceFileTagsError, ReplaceFileTagsErrors, ReplaceFileTagsResponse, ReplaceFileTagsResponses, ReplaceMemoryStoreTagsData, ReplaceMemoryStoreTagsErrors, ReplaceMemoryStoreTagsResponse, ReplaceMemoryStoreTagsResponses, ReplaceMemoryTagsData, ReplaceMemoryTagsErrors, ReplaceMemoryTagsResponse, ReplaceMemoryTagsResponses, ReplaceSessionTagsData, ReplaceSessionTagsError, ReplaceSessionTagsErrors, ReplaceSessionTagsResponse, ReplaceSessionTagsResponses, RequestSignInCodeData, RequestSignInCodeError, RequestSignInCodeErrors, RequestSignInCodeResponse, RequestSignInCodeResponses, RequiredAction, ResolveExceptionData, ResolveExceptionErrors, ResolveExceptionResponse, ResolveExceptionResponses, ResourceDeclaration, RestoreAgentVersionData, RestoreAgentVersionError, RestoreAgentVersionErrors, RestoreAgentVersionRequest, RestoreAgentVersionResponse, RestoreAgentVersionResponses, RestoreGuardrailVersionData, RestoreGuardrailVersionError, RestoreGuardrailVersionErrors, RestoreGuardrailVersionRequest, RestoreGuardrailVersionResponse, RestoreGuardrailVersionResponses, RestoreOrchestrationVersionData, RestoreOrchestrationVersionErrors, RestoreOrchestrationVersionRequest, RestoreOrchestrationVersionResponse, RestoreOrchestrationVersionResponses, RestoreWorkflowVersionData, RestoreWorkflowVersionErrors, RestoreWorkflowVersionRequest, RestoreWorkflowVersionResponse, RestoreWorkflowVersionResponses, ResumeOrchestrationRunData, ResumeOrchestrationRunErrors, ResumeOrchestrationRunResponse, ResumeOrchestrationRunResponses, ResumeTaskData, ResumeTaskErrors, ResumeTaskResponse, ResumeTaskResponses, RevokeAssistantGrantData, RevokeAssistantGrantError, RevokeAssistantGrantErrors, RevokeAssistantGrantResponse, RevokeAssistantGrantResponses, RotateApiKeyData, RotateApiKeyError, RotateApiKeyErrors, RotateApiKeyResponse, RotateApiKeyResponses, RotateTriggerSecretData, RotateTriggerSecretErrors, RotateTriggerSecretResponse, RotateTriggerSecretResponses, RotateWebhookSecretData, RotateWebhookSecretError, RotateWebhookSecretErrors, RotateWebhookSecretResponse, RotateWebhookSecretResponses, RouteId, ScorerResult, Scorers, SearchKnowledgeData, SearchKnowledgeError, SearchKnowledgeErrors, SearchKnowledgeResponse, SearchKnowledgeResponses, SecretResourceProperties, SendSessionMessageResponse, SessionId, SessionRecord, SessionResourceProperties, SetAddressActionData, SetAddressActionError, SetAddressActionErrors, SetAddressActionResponse, SetAddressActionResponses, SetAgentReleaseData, SetAgentReleaseError, SetAgentReleaseErrors, SetAgentReleaseRequest, SetAgentReleaseResponse, SetAgentReleaseResponses, SignInCodeRequest, SignInCodeVerify, StartEvalRunData, StartEvalRunErrors, StartEvalRunResponse, StartEvalRunResponses, StartOrchestrationRunData, StartOrchestrationRunErrors, StartOrchestrationRunRequest, StartOrchestrationRunResponse, StartOrchestrationRunResponses, SubmitAgentToolOutputsData, SubmitAgentToolOutputsError, SubmitAgentToolOutputsErrors, SubmitAgentToolOutputsResponse, SubmitAgentToolOutputsResponses, SubmitHumanInputData, SubmitHumanInputErrors, SubmitHumanInputResponse, SubmitHumanInputResponses, SubmitSessionToolOutputsData, SubmitSessionToolOutputsError, SubmitSessionToolOutputsErrors, SubmitSessionToolOutputsRequest, SubmitSessionToolOutputsResponse, SubmitSessionToolOutputsResponses, SubmitToolOutputsRequest, TagBag, TagsQuery, Task, TaskTransition, Tool, ToolBinding, ToolOutputMessageContent, ToolResourceProperties, ToolScorer, Trace, TraceTreeNode, TranscriptStep, TranscriptToolCall, TranscriptToolResult, TransitionTaskData, TransitionTaskErrors, TransitionTaskRequest, TransitionTaskResponse, TransitionTaskResponses, Trigger, TriggerFiring, TriggerFiringListResponse, TriggerResourceProperties, TriggerSecretResponse, TriggerWithSecret, UnauthorizedFormationAction, UpdateActorData, UpdateActorError, UpdateActorErrors, UpdateActorResponse, UpdateActorResponses, UpdateAgentData, UpdateAgentError, UpdateAgentErrors, UpdateAgentRequest, UpdateAgentResponse, UpdateAgentResponses, UpdateAiProviderData, UpdateAiProviderErrors, UpdateAiProviderPricesData, UpdateAiProviderPricesErrors, UpdateAiProviderPricesResponse, UpdateAiProviderPricesResponses, UpdateAiProviderResponses, UpdateApiKeyData, UpdateApiKeyError, UpdateApiKeyErrors, UpdateApiKeyResponse, UpdateApiKeyResponses, UpdateChannelData, UpdateChannelError, UpdateChannelErrors, UpdateChannelResponse, UpdateChannelResponses, UpdateChannelRouteData, UpdateChannelRouteError, UpdateChannelRouteErrors, UpdateChannelRouteResponse, UpdateChannelRouteResponses, UpdateConversationData, UpdateConversationError, UpdateConversationErrors, UpdateConversationResponse, UpdateConversationResponses, UpdateCurrentUserData, UpdateCurrentUserError, UpdateCurrentUserErrors, UpdateCurrentUserResponse, UpdateCurrentUserResponses, UpdateDatasetData, UpdateDatasetErrors, UpdateDatasetItemData, UpdateDatasetItemErrors, UpdateDatasetItemResponse, UpdateDatasetItemResponses, UpdateDatasetResponse, UpdateDatasetResponses, UpdateDocumentData, UpdateDocumentError, UpdateDocumentErrors, UpdateDocumentResponse, UpdateDocumentResponses, UpdateEvalData, UpdateEvalErrors, UpdateEvalResponse, UpdateEvalResponses, UpdateFileMetadataData, UpdateFileMetadataError, UpdateFileMetadataErrors, UpdateFileMetadataResponse, UpdateFileMetadataResponses, UpdateFormationData, UpdateFormationErrors, UpdateFormationResponse, UpdateFormationResponses, UpdateGenerationData, UpdateGenerationError, UpdateGenerationErrors, UpdateGenerationRequest, UpdateGenerationResponse, UpdateGenerationResponses, UpdateGuardrailData, UpdateGuardrailError, UpdateGuardrailErrors, UpdateGuardrailRequest, UpdateGuardrailResponse, UpdateGuardrailResponses, UpdateIngestionRuleData, UpdateIngestionRuleErrors, UpdateIngestionRuleResponse, UpdateIngestionRuleResponses, UpdateMemoryData, UpdateMemoryErrors, UpdateMemoryResponse, UpdateMemoryResponses, UpdateMemoryRuleData, UpdateMemoryRuleErrors, UpdateMemoryRuleResponse, UpdateMemoryRuleResponses, UpdateMemoryStoreData, UpdateMemoryStoreErrors, UpdateMemoryStoreResponse, UpdateMemoryStoreResponses, UpdateModelRouteData, UpdateModelRouteErrors, UpdateModelRouteResponse, UpdateModelRouteResponses, UpdateOrchestrationData, UpdateOrchestrationErrors, UpdateOrchestrationRequest, UpdateOrchestrationResponse, UpdateOrchestrationResponses, UpdateProjectData, UpdateProjectError, UpdateProjectErrors, UpdateProjectMemberData, UpdateProjectMemberError, UpdateProjectMemberErrors, UpdateProjectMemberResponse, UpdateProjectMemberResponses, UpdateProjectResponse, UpdateProjectResponses, UpdateQuotaData, UpdateQuotaErrors, UpdateQuotaResponse, UpdateQuotaResponses, UpdateSecretData, UpdateSecretErrors, UpdateSecretResponses, UpdateSessionData, UpdateSessionError, UpdateSessionErrors, UpdateSessionRequest, UpdateSessionResponse, UpdateSessionResponses, UpdateTaskData, UpdateTaskErrors, UpdateTaskRequest, UpdateTaskResponse, UpdateTaskResponses, UpdateToolData, UpdateToolError, UpdateToolErrors, UpdateToolRequest, UpdateToolResponse, UpdateToolResponses, UpdateTriggerData, UpdateTriggerErrors, UpdateTriggerRequest, UpdateTriggerResponse, UpdateTriggerResponses, UpdateUserRolesData, UpdateUserRolesError, UpdateUserRolesErrors, UpdateUserRolesResponse, UpdateUserRolesResponses, UpdateWebhookData, UpdateWebhookError, UpdateWebhookErrors, UpdateWebhookResponse, UpdateWebhookResponses, UpdateWorkflowData, UpdateWorkflowErrors, UpdateWorkflowRequest, UpdateWorkflowResponse, UpdateWorkflowResponses, UploadFileBase64Data, UploadFileBase64Error, UploadFileBase64Errors, UploadFileBase64Request, UploadFileBase64Response, UploadFileBase64Responses, UploadFileData, UploadFileError, UploadFileErrors, UploadFileResponse, UploadFileResponses, UpsertProviderPricesRequest, UsageActionId, UsageActorId, UsageAgentId, UsageAiProviderId, UsageComponent, UsageComponents, UsageEventComponent, UsageGenerationId, UsageGroup, UsageMeterType, UsageOrchestrationId, UsageOrchestrationRunId, UsageSessionId, UsageSource, UsageThreshold, UsageThresholdCreate, UsageTokens, UsageTotals, UsageTraceId, UsageTriggerId, User, UserBilling, UserPlanGrant, UserRolesUpdate, UserUpdate, UserUsage, ValidateFormationData, ValidateFormationErrors, ValidateFormationResponse, ValidateFormationResponses, ValidateOrchestrationData, ValidateOrchestrationErrors, ValidateOrchestrationRequest, ValidateOrchestrationResponse, ValidateOrchestrationResponses, ValidationError, ValidationResult, VerifySignInCodeData, VerifySignInCodeError, VerifySignInCodeErrors, VerifySignInCodeResponse, VerifySignInCodeResponses, Webhook, WebhookCreate, WebhookDelivery, WebhookDeliveryList, WebhookId, WebhookList, WebhookUpdate, WebhookWithSecret, Workflow, WorkflowResourceProperties, WorkflowState, WorkflowTransition, WorkflowVersion };
|