@amigo-ai/platform-sdk 0.82.0 → 0.84.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/api.md +1 -0
- package/dist/index.cjs +22 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +22 -0
- package/dist/index.mjs.map +2 -2
- package/dist/resources/sessions.js +18 -1
- package/dist/resources/sessions.js.map +1 -1
- package/dist/types/generated/api.d.ts +745 -122
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/external-integrations.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/sessions.d.ts +26 -0
- package/dist/types/resources/sessions.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/triggers.d.ts +36 -12
- package/dist/types/resources/triggers.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -713,6 +713,46 @@ export interface paths {
|
|
|
713
713
|
patch?: never;
|
|
714
714
|
trace?: never;
|
|
715
715
|
};
|
|
716
|
+
"/v1/{workspace_id}/agent-runs": {
|
|
717
|
+
parameters: {
|
|
718
|
+
query?: never;
|
|
719
|
+
header?: never;
|
|
720
|
+
path?: never;
|
|
721
|
+
cookie?: never;
|
|
722
|
+
};
|
|
723
|
+
get?: never;
|
|
724
|
+
put?: never;
|
|
725
|
+
/**
|
|
726
|
+
* Dispatch a framework agent run
|
|
727
|
+
* @description Proxies to agent-runner, which executes the chosen framework UNMODIFIED (natural setup) against the platform MCP world-tools edge under the caller's own bearer. Non-blocking — poll GET /agent-runs/{run_id} for the result.
|
|
728
|
+
*/
|
|
729
|
+
post: operations["create_agent_run_v1__workspace_id__agent_runs_post"];
|
|
730
|
+
delete?: never;
|
|
731
|
+
options?: never;
|
|
732
|
+
head?: never;
|
|
733
|
+
patch?: never;
|
|
734
|
+
trace?: never;
|
|
735
|
+
};
|
|
736
|
+
"/v1/{workspace_id}/agent-runs/{run_id}": {
|
|
737
|
+
parameters: {
|
|
738
|
+
query?: never;
|
|
739
|
+
header?: never;
|
|
740
|
+
path?: never;
|
|
741
|
+
cookie?: never;
|
|
742
|
+
};
|
|
743
|
+
/**
|
|
744
|
+
* Get a framework agent run
|
|
745
|
+
* @description Run status, final text, token usage, and the adapter-normalized trajectory of the framework's native output.
|
|
746
|
+
*/
|
|
747
|
+
get: operations["get_agent_run_v1__workspace_id__agent_runs__run_id__get"];
|
|
748
|
+
put?: never;
|
|
749
|
+
post?: never;
|
|
750
|
+
delete?: never;
|
|
751
|
+
options?: never;
|
|
752
|
+
head?: never;
|
|
753
|
+
patch?: never;
|
|
754
|
+
trace?: never;
|
|
755
|
+
};
|
|
716
756
|
"/v1/{workspace_id}/agents": {
|
|
717
757
|
parameters: {
|
|
718
758
|
query?: never;
|
|
@@ -1984,7 +2024,7 @@ export interface paths {
|
|
|
1984
2024
|
/** List all conversations (voice + text) */
|
|
1985
2025
|
get: operations["list_conversations_v1__workspace_id__conversations_get"];
|
|
1986
2026
|
put?: never;
|
|
1987
|
-
/** Create
|
|
2027
|
+
/** Create or start a conversation (web inbound, or outbound on a channel) */
|
|
1988
2028
|
post: operations["create_conversation_v1__workspace_id__conversations_post"];
|
|
1989
2029
|
delete?: never;
|
|
1990
2030
|
options?: never;
|
|
@@ -2030,6 +2070,26 @@ export interface paths {
|
|
|
2030
2070
|
patch?: never;
|
|
2031
2071
|
trace?: never;
|
|
2032
2072
|
};
|
|
2073
|
+
"/v1/{workspace_id}/conversations/{conversation_id}/channel": {
|
|
2074
|
+
parameters: {
|
|
2075
|
+
query?: never;
|
|
2076
|
+
header?: never;
|
|
2077
|
+
path?: never;
|
|
2078
|
+
cookie?: never;
|
|
2079
|
+
};
|
|
2080
|
+
get?: never;
|
|
2081
|
+
put?: never;
|
|
2082
|
+
/**
|
|
2083
|
+
* Switch a conversation to another channel
|
|
2084
|
+
* @description Move an active conversation onto a different channel (sms/imessage today). The durable conversation id is preserved — the same conversation continues; only its routing changes. Optionally dispatch a first agent turn on the new channel.
|
|
2085
|
+
*/
|
|
2086
|
+
post: operations["switch_conversation_channel_v1__workspace_id__conversations__conversation_id__channel_post"];
|
|
2087
|
+
delete?: never;
|
|
2088
|
+
options?: never;
|
|
2089
|
+
head?: never;
|
|
2090
|
+
patch?: never;
|
|
2091
|
+
trace?: never;
|
|
2092
|
+
};
|
|
2033
2093
|
"/v1/{workspace_id}/conversations/{conversation_id}/turns": {
|
|
2034
2094
|
parameters: {
|
|
2035
2095
|
query?: never;
|
|
@@ -3362,6 +3422,60 @@ export interface paths {
|
|
|
3362
3422
|
patch?: never;
|
|
3363
3423
|
trace?: never;
|
|
3364
3424
|
};
|
|
3425
|
+
"/v1/{workspace_id}/intake/materializations": {
|
|
3426
|
+
parameters: {
|
|
3427
|
+
query?: never;
|
|
3428
|
+
header?: never;
|
|
3429
|
+
path?: never;
|
|
3430
|
+
cookie?: never;
|
|
3431
|
+
};
|
|
3432
|
+
/**
|
|
3433
|
+
* List Intake Materializations
|
|
3434
|
+
* @description Per-dataset materialization status for the workspace's Destinations tab.
|
|
3435
|
+
*
|
|
3436
|
+
* Lists each registered dataset alongside its customer-data destination table's
|
|
3437
|
+
* status — ``materialized`` (with row count + last-write time) or
|
|
3438
|
+
* ``not_materialized`` (no table yet). The dataset list + pagination mirror
|
|
3439
|
+
* ``GET /datasets`` (the contracts registry); the destination status is read
|
|
3440
|
+
* from the ``customer_data_<env>`` catalog via the SQL warehouse. Member read.
|
|
3441
|
+
*/
|
|
3442
|
+
get: operations["list_intake_materializations_v1__workspace_id__intake_materializations_get"];
|
|
3443
|
+
put?: never;
|
|
3444
|
+
post?: never;
|
|
3445
|
+
delete?: never;
|
|
3446
|
+
options?: never;
|
|
3447
|
+
head?: never;
|
|
3448
|
+
patch?: never;
|
|
3449
|
+
trace?: never;
|
|
3450
|
+
};
|
|
3451
|
+
"/v1/{workspace_id}/intake/materialize": {
|
|
3452
|
+
parameters: {
|
|
3453
|
+
query?: never;
|
|
3454
|
+
header?: never;
|
|
3455
|
+
path?: never;
|
|
3456
|
+
cookie?: never;
|
|
3457
|
+
};
|
|
3458
|
+
get?: never;
|
|
3459
|
+
put?: never;
|
|
3460
|
+
/**
|
|
3461
|
+
* Materialize Intake
|
|
3462
|
+
* @description Trigger the intake → customer-data materializer for this workspace.
|
|
3463
|
+
*
|
|
3464
|
+
* Fires the materializer Databricks job (run-now); it rescans the workspace's
|
|
3465
|
+
* curated intake files and (re)materializes each snapshot dataset into
|
|
3466
|
+
* ``customer_data_<env>.<workspace_id>.<dataset>``. Every write is an idempotent
|
|
3467
|
+
* keyed MERGE / full overwrite, so a re-click is safe. Optionally scope to one
|
|
3468
|
+
* ``dataset``; omit for all curated snapshot datasets. Returns ``202`` with the
|
|
3469
|
+
* job ``run_id`` (``null`` when the job is not configured in this environment).
|
|
3470
|
+
* Same auth gate as ``POST /batches/{batch_id}/process``.
|
|
3471
|
+
*/
|
|
3472
|
+
post: operations["materialize_intake_v1__workspace_id__intake_materialize_post"];
|
|
3473
|
+
delete?: never;
|
|
3474
|
+
options?: never;
|
|
3475
|
+
head?: never;
|
|
3476
|
+
patch?: never;
|
|
3477
|
+
trace?: never;
|
|
3478
|
+
};
|
|
3365
3479
|
"/v1/{workspace_id}/intake/schema/register": {
|
|
3366
3480
|
parameters: {
|
|
3367
3481
|
query?: never;
|
|
@@ -5453,8 +5567,8 @@ export interface paths {
|
|
|
5453
5567
|
cookie?: never;
|
|
5454
5568
|
};
|
|
5455
5569
|
/**
|
|
5456
|
-
*
|
|
5457
|
-
* @description Live Agones
|
|
5570
|
+
* Agones fleet capacity status
|
|
5571
|
+
* @description Live Agones fleet capacity: Ready/Allocated/total GameServers plus headroom against the maxReplicas ceiling. `fleet=voice` (default) reads the per-call voice fleet; `fleet=tool-runner` reads the isolated background-tool fleet. Workspace-GLOBAL — one fleet serves every workspace, so the path workspace_id is only the auth anchor, never a data filter. Operator-only.
|
|
5458
5572
|
*/
|
|
5459
5573
|
get: operations["get_fleet_status_v1__workspace_id__sessions_fleet_status_get"];
|
|
5460
5574
|
put?: never;
|
|
@@ -6997,7 +7111,7 @@ export interface paths {
|
|
|
6997
7111
|
};
|
|
6998
7112
|
/**
|
|
6999
7113
|
* List trigger execution history
|
|
7000
|
-
* @description Execution history from the
|
|
7114
|
+
* @description Execution history from the durable trigger run table.
|
|
7001
7115
|
*/
|
|
7002
7116
|
get: operations["list-trigger-runs"];
|
|
7003
7117
|
put?: never;
|
|
@@ -7021,32 +7135,56 @@ export interface paths {
|
|
|
7021
7135
|
*/
|
|
7022
7136
|
get: operations["list-use-cases"];
|
|
7023
7137
|
put?: never;
|
|
7138
|
+
post?: never;
|
|
7139
|
+
delete?: never;
|
|
7140
|
+
options?: never;
|
|
7141
|
+
head?: never;
|
|
7142
|
+
patch?: never;
|
|
7143
|
+
trace?: never;
|
|
7144
|
+
};
|
|
7145
|
+
"/v1/{workspace_id}/use-cases/ownership": {
|
|
7146
|
+
parameters: {
|
|
7147
|
+
query?: never;
|
|
7148
|
+
header?: never;
|
|
7149
|
+
path?: never;
|
|
7150
|
+
cookie?: never;
|
|
7151
|
+
};
|
|
7024
7152
|
/**
|
|
7025
|
-
*
|
|
7026
|
-
* @description
|
|
7153
|
+
* List use cases this workspace owns
|
|
7154
|
+
* @description Return the ids of the channel-manager use cases this workspace owns. Requires Channel.view permission.
|
|
7027
7155
|
*/
|
|
7028
|
-
|
|
7156
|
+
get: operations["list-owned-use-cases"];
|
|
7157
|
+
put?: never;
|
|
7158
|
+
post?: never;
|
|
7029
7159
|
delete?: never;
|
|
7030
7160
|
options?: never;
|
|
7031
7161
|
head?: never;
|
|
7032
7162
|
patch?: never;
|
|
7033
7163
|
trace?: never;
|
|
7034
7164
|
};
|
|
7035
|
-
"/v1/{workspace_id}/use-cases/{use_case_id}": {
|
|
7165
|
+
"/v1/{workspace_id}/use-cases/{use_case_id}/ownership": {
|
|
7036
7166
|
parameters: {
|
|
7037
7167
|
query?: never;
|
|
7038
7168
|
header?: never;
|
|
7039
7169
|
path?: never;
|
|
7040
7170
|
cookie?: never;
|
|
7041
7171
|
};
|
|
7042
|
-
|
|
7043
|
-
|
|
7172
|
+
/**
|
|
7173
|
+
* Check whether this workspace owns a use case
|
|
7174
|
+
* @description Return the ownership record if the current workspace owns the use case, or 404 if it does not (no existence leak). Requires Channel.view permission.
|
|
7175
|
+
*/
|
|
7176
|
+
get: operations["get-use-case-ownership"];
|
|
7177
|
+
/**
|
|
7178
|
+
* Assign ownership of a use case to this workspace
|
|
7179
|
+
* @description Claim ownership of a channel-manager use case for the current workspace. Idempotent — re-assigning an already-owned use case returns 200. 404 if the use case does not exist in channel-manager. 409 if the use case is already owned by another workspace. Requires Channel.ManageOwnership permission (admin tier).
|
|
7180
|
+
*/
|
|
7181
|
+
put: operations["assign-use-case-ownership"];
|
|
7044
7182
|
post?: never;
|
|
7045
7183
|
/**
|
|
7046
|
-
*
|
|
7047
|
-
* @description
|
|
7184
|
+
* Release this workspace's ownership of a use case
|
|
7185
|
+
* @description Release the current workspace's ownership of a use case. Refuses (409) while any service still binds the use case — call DELETE `/use-cases/{id}/service-binding` first. 404 if this workspace does not own the use case. Requires Channel.ManageOwnership permission (admin tier).
|
|
7048
7186
|
*/
|
|
7049
|
-
delete: operations["
|
|
7187
|
+
delete: operations["release-use-case-ownership"];
|
|
7050
7188
|
options?: never;
|
|
7051
7189
|
head?: never;
|
|
7052
7190
|
patch?: never;
|
|
@@ -8021,6 +8159,50 @@ export interface components {
|
|
|
8021
8159
|
*/
|
|
8022
8160
|
workspace_id: string;
|
|
8023
8161
|
};
|
|
8162
|
+
/** AgentRunDetail */
|
|
8163
|
+
AgentRunDetail: {
|
|
8164
|
+
/**
|
|
8165
|
+
* Duration Ms
|
|
8166
|
+
* @default 0
|
|
8167
|
+
*/
|
|
8168
|
+
duration_ms?: number;
|
|
8169
|
+
/**
|
|
8170
|
+
* Error
|
|
8171
|
+
* @description Failure detail for failed/timed_out runs. Empty otherwise.
|
|
8172
|
+
* @default
|
|
8173
|
+
*/
|
|
8174
|
+
error?: string;
|
|
8175
|
+
/**
|
|
8176
|
+
* Framework
|
|
8177
|
+
* @enum {string}
|
|
8178
|
+
*/
|
|
8179
|
+
framework: "claude-agent-sdk" | "openai-agents";
|
|
8180
|
+
/**
|
|
8181
|
+
* Run Id
|
|
8182
|
+
* Format: uuid
|
|
8183
|
+
*/
|
|
8184
|
+
run_id: string;
|
|
8185
|
+
/**
|
|
8186
|
+
* Status
|
|
8187
|
+
* @enum {string}
|
|
8188
|
+
*/
|
|
8189
|
+
status: "running" | "succeeded" | "failed" | "timed_out";
|
|
8190
|
+
/**
|
|
8191
|
+
* Text
|
|
8192
|
+
* @description Final agent text. Empty while the run is still running or on failure.
|
|
8193
|
+
* @default
|
|
8194
|
+
*/
|
|
8195
|
+
text?: string;
|
|
8196
|
+
/**
|
|
8197
|
+
* Trajectory
|
|
8198
|
+
* @description AgentEffect-shaped step dicts (kind, seq, content, tool_name, ...) — the adapter's normalize() over the framework's NATIVE output. Untyped passthrough in v1: the AgentEffect projection is a server-private shape still converging across frameworks; typing it here now would freeze a premature wire contract. A typed discriminated union lands in a follow-up.
|
|
8199
|
+
* @default []
|
|
8200
|
+
*/
|
|
8201
|
+
trajectory?: {
|
|
8202
|
+
[key: string]: unknown;
|
|
8203
|
+
}[];
|
|
8204
|
+
usage?: components["schemas"]["Usage"];
|
|
8205
|
+
};
|
|
8024
8206
|
/** AgentTranscriptDeltaEvent */
|
|
8025
8207
|
AgentTranscriptDeltaEvent: {
|
|
8026
8208
|
/** Delta */
|
|
@@ -10837,6 +11019,8 @@ export interface components {
|
|
|
10837
11019
|
* @default []
|
|
10838
11020
|
*/
|
|
10839
11021
|
available_actions?: components["schemas"]["ConversationTurnAvailableAction"][];
|
|
11022
|
+
/** @description Channel this turn occurred on. A conversation that switched channels has a self-describing per-turn history; null on turns written before per-turn attribution or on channel-less internal turns. */
|
|
11023
|
+
channel?: components["schemas"]["ChannelKind"] | null;
|
|
10840
11024
|
/**
|
|
10841
11025
|
* Content
|
|
10842
11026
|
* @default []
|
|
@@ -10964,6 +11148,49 @@ export interface components {
|
|
|
10964
11148
|
description?: components["schemas"]["DescriptionString"];
|
|
10965
11149
|
name: components["schemas"]["NameString"];
|
|
10966
11150
|
};
|
|
11151
|
+
/** CreateAgentRunRequest */
|
|
11152
|
+
CreateAgentRunRequest: {
|
|
11153
|
+
/**
|
|
11154
|
+
* Framework
|
|
11155
|
+
* @description Agent framework the run executes on — runs unmodified in the framework's own design.
|
|
11156
|
+
* @enum {string}
|
|
11157
|
+
*/
|
|
11158
|
+
framework: "claude-agent-sdk" | "openai-agents";
|
|
11159
|
+
/**
|
|
11160
|
+
* Message
|
|
11161
|
+
* @description User message the framework agent is invoked with.
|
|
11162
|
+
*/
|
|
11163
|
+
message: string;
|
|
11164
|
+
/**
|
|
11165
|
+
* Service Id
|
|
11166
|
+
* Format: uuid
|
|
11167
|
+
*/
|
|
11168
|
+
service_id: string;
|
|
11169
|
+
/**
|
|
11170
|
+
* Timeout S
|
|
11171
|
+
* @description Server-side wall-clock budget for the run, in seconds (max 300).
|
|
11172
|
+
* @default 120
|
|
11173
|
+
*/
|
|
11174
|
+
timeout_s?: number;
|
|
11175
|
+
/**
|
|
11176
|
+
* @description Named version set on the service whose pinned config the run uses.
|
|
11177
|
+
* @default release
|
|
11178
|
+
*/
|
|
11179
|
+
version_set?: components["schemas"]["NameString"];
|
|
11180
|
+
};
|
|
11181
|
+
/** CreateAgentRunResponse */
|
|
11182
|
+
CreateAgentRunResponse: {
|
|
11183
|
+
/**
|
|
11184
|
+
* Run Id
|
|
11185
|
+
* Format: uuid
|
|
11186
|
+
*/
|
|
11187
|
+
run_id: string;
|
|
11188
|
+
/**
|
|
11189
|
+
* Status
|
|
11190
|
+
* @constant
|
|
11191
|
+
*/
|
|
11192
|
+
status: "running";
|
|
11193
|
+
};
|
|
10967
11194
|
/** CreateAgentVersionRequest */
|
|
10968
11195
|
CreateAgentVersionRequest: {
|
|
10969
11196
|
/** @default */
|
|
@@ -11057,13 +11284,24 @@ export interface components {
|
|
|
11057
11284
|
};
|
|
11058
11285
|
/** CreateConversationRequest */
|
|
11059
11286
|
CreateConversationRequest: {
|
|
11287
|
+
/** @default web */
|
|
11288
|
+
channel?: components["schemas"]["ChannelKind"];
|
|
11060
11289
|
/** Entity Id */
|
|
11061
11290
|
entity_id?: string | null;
|
|
11291
|
+
/** @description Optional context steering what the agent opens with on an outbound conversation. */
|
|
11292
|
+
instruction?: components["schemas"]["BackgroundString"] | null;
|
|
11293
|
+
/** @description Destination address for an outbound conversation (E.164 for sms/imessage). Required for non-web. */
|
|
11294
|
+
recipient?: components["schemas"]["PhoneE164"] | null;
|
|
11062
11295
|
/**
|
|
11063
11296
|
* Service Id
|
|
11064
11297
|
* Format: uuid
|
|
11065
11298
|
*/
|
|
11066
11299
|
service_id: string;
|
|
11300
|
+
/**
|
|
11301
|
+
* Use Case Id
|
|
11302
|
+
* @description Channel-manager use case the outbound conversation is sent through. Required for non-web; channel-manager resolves the sender (FROM) from it (never caller-supplied). Must be owned by this workspace.
|
|
11303
|
+
*/
|
|
11304
|
+
use_case_id?: string | null;
|
|
11067
11305
|
};
|
|
11068
11306
|
/** CreateCustomerRequest */
|
|
11069
11307
|
CreateCustomerRequest: {
|
|
@@ -12759,45 +12997,6 @@ export interface components {
|
|
|
12759
12997
|
/** Region */
|
|
12760
12998
|
region: string;
|
|
12761
12999
|
};
|
|
12762
|
-
/** EmailUseCaseRequest */
|
|
12763
|
-
EmailUseCaseRequest: {
|
|
12764
|
-
/**
|
|
12765
|
-
* Accepts Cold Inbound
|
|
12766
|
-
* @description Whether inbound email addressed to sender_email_address that does NOT reply to one of our outbound messages is accepted (after DMARC/spam gates). False = strict thread-only inbox.
|
|
12767
|
-
*/
|
|
12768
|
-
accepts_cold_inbound: boolean;
|
|
12769
|
-
/**
|
|
12770
|
-
* @description discriminator enum property added by openapi-typescript
|
|
12771
|
-
* @enum {string}
|
|
12772
|
-
*/
|
|
12773
|
-
channel: "email";
|
|
12774
|
-
/** Description */
|
|
12775
|
-
description?: string | null;
|
|
12776
|
-
/**
|
|
12777
|
-
* Email Type
|
|
12778
|
-
* @enum {string}
|
|
12779
|
-
*/
|
|
12780
|
-
email_type: "transactional" | "marketing";
|
|
12781
|
-
/** Entity Name */
|
|
12782
|
-
entity_name: string;
|
|
12783
|
-
/** Name */
|
|
12784
|
-
name: string;
|
|
12785
|
-
/**
|
|
12786
|
-
* Sender Email Address
|
|
12787
|
-
* Format: email
|
|
12788
|
-
*/
|
|
12789
|
-
sender_email_address: string;
|
|
12790
|
-
/**
|
|
12791
|
-
* Setup Id
|
|
12792
|
-
* Format: uuid
|
|
12793
|
-
*/
|
|
12794
|
-
setup_id: string;
|
|
12795
|
-
/**
|
|
12796
|
-
* Unsubscribable
|
|
12797
|
-
* @description Whether sends carry RFC 8058 unsubscribe (List-Unsubscribe header + footer links) and honor the per-use-case unsubscribe list. Marketing email_type must be unsubscribable; transactional may opt out for must-send flows.
|
|
12798
|
-
*/
|
|
12799
|
-
unsubscribable: boolean;
|
|
12800
|
-
};
|
|
12801
13000
|
/** EmotionEvent */
|
|
12802
13001
|
EmotionEvent: {
|
|
12803
13002
|
/** Arousal */
|
|
@@ -15082,12 +15281,13 @@ export interface components {
|
|
|
15082
15281
|
};
|
|
15083
15282
|
/**
|
|
15084
15283
|
* FleetStatusResponse
|
|
15085
|
-
* @description Live
|
|
15284
|
+
* @description Live Agones fleet capacity (workspace-global).
|
|
15086
15285
|
*
|
|
15087
|
-
* ``headroom`` = remaining isolated-
|
|
15286
|
+
* ``headroom`` = remaining isolated-unit slots (``max_replicas - allocated``);
|
|
15088
15287
|
* ``max_replicas``/``headroom`` are null when the ceiling isn't configured upstream.
|
|
15089
15288
|
* The counts span the whole fleet (one fleet serves every workspace) — this is NOT
|
|
15090
|
-
* per-workspace.
|
|
15289
|
+
* per-workspace. ``fleet``/``namespace`` echo which fleet was read (voice per-call
|
|
15290
|
+
* fleet, or the tool-runner background-tool fleet via ``?fleet=tool-runner``).
|
|
15091
15291
|
*/
|
|
15092
15292
|
FleetStatusResponse: {
|
|
15093
15293
|
/** Allocated */
|
|
@@ -16796,6 +16996,35 @@ export interface components {
|
|
|
16796
16996
|
*/
|
|
16797
16997
|
workspace_id: string;
|
|
16798
16998
|
};
|
|
16999
|
+
/**
|
|
17000
|
+
* MaterializationRow
|
|
17001
|
+
* @description Per-dataset status of the customer-data destination table
|
|
17002
|
+
* (``customer_data_<env>.<workspace_id>.<dataset>``).
|
|
17003
|
+
*/
|
|
17004
|
+
MaterializationRow: {
|
|
17005
|
+
/** Dataset */
|
|
17006
|
+
dataset: string;
|
|
17007
|
+
/** Ingestion Mode */
|
|
17008
|
+
ingestion_mode: string;
|
|
17009
|
+
/** Last Materialized At */
|
|
17010
|
+
last_materialized_at?: string | null;
|
|
17011
|
+
/** Row Count */
|
|
17012
|
+
row_count?: number | null;
|
|
17013
|
+
/**
|
|
17014
|
+
* Status
|
|
17015
|
+
* @enum {string}
|
|
17016
|
+
*/
|
|
17017
|
+
status: "materialized" | "not_materialized";
|
|
17018
|
+
};
|
|
17019
|
+
/** MaterializeRequest */
|
|
17020
|
+
MaterializeRequest: {
|
|
17021
|
+
dataset?: components["schemas"]["_DatasetSlug"] | null;
|
|
17022
|
+
};
|
|
17023
|
+
/** MaterializeResponse */
|
|
17024
|
+
MaterializeResponse: {
|
|
17025
|
+
/** Run Id */
|
|
17026
|
+
run_id?: number | null;
|
|
17027
|
+
};
|
|
16799
17028
|
/**
|
|
16800
17029
|
* MediaAttachedEvent
|
|
16801
17030
|
* @description A media WebSocket actually reached the call's GameServer — the audio-path signal.
|
|
@@ -18220,6 +18449,24 @@ export interface components {
|
|
|
18220
18449
|
/** Rules */
|
|
18221
18450
|
rules: components["schemas"]["OutreachRule"][];
|
|
18222
18451
|
};
|
|
18452
|
+
/** OwnedUseCasesResponse */
|
|
18453
|
+
OwnedUseCasesResponse: {
|
|
18454
|
+
/** Items */
|
|
18455
|
+
items: string[];
|
|
18456
|
+
};
|
|
18457
|
+
/** OwnershipResponse */
|
|
18458
|
+
OwnershipResponse: {
|
|
18459
|
+
/**
|
|
18460
|
+
* Use Case Id
|
|
18461
|
+
* Format: uuid
|
|
18462
|
+
*/
|
|
18463
|
+
use_case_id: string;
|
|
18464
|
+
/**
|
|
18465
|
+
* Workspace Id
|
|
18466
|
+
* Format: uuid
|
|
18467
|
+
*/
|
|
18468
|
+
workspace_id: string;
|
|
18469
|
+
};
|
|
18223
18470
|
/** PaginatedResponse[ActiveEscalationItem] */
|
|
18224
18471
|
PaginatedResponse_ActiveEscalationItem_: {
|
|
18225
18472
|
/** Continuation Token */
|
|
@@ -18407,6 +18654,17 @@ export interface components {
|
|
|
18407
18654
|
/** Total */
|
|
18408
18655
|
total?: number | null;
|
|
18409
18656
|
};
|
|
18657
|
+
/** PaginatedResponse[MaterializationRow] */
|
|
18658
|
+
PaginatedResponse_MaterializationRow_: {
|
|
18659
|
+
/** Continuation Token */
|
|
18660
|
+
continuation_token?: number | null;
|
|
18661
|
+
/** Has More */
|
|
18662
|
+
has_more: boolean;
|
|
18663
|
+
/** Items */
|
|
18664
|
+
items: components["schemas"]["MaterializationRow"][];
|
|
18665
|
+
/** Total */
|
|
18666
|
+
total?: number | null;
|
|
18667
|
+
};
|
|
18410
18668
|
/** PaginatedResponse[MeterValueItem] */
|
|
18411
18669
|
PaginatedResponse_MeterValueItem_: {
|
|
18412
18670
|
/** Continuation Token */
|
|
@@ -23502,6 +23760,28 @@ export interface components {
|
|
|
23502
23760
|
*/
|
|
23503
23761
|
surface_id: string;
|
|
23504
23762
|
};
|
|
23763
|
+
/** SwitchChannelRequest */
|
|
23764
|
+
SwitchChannelRequest: {
|
|
23765
|
+
/** @description Target channel to move the conversation to (sms or imessage). */
|
|
23766
|
+
channel: components["schemas"]["ChannelKind"];
|
|
23767
|
+
/**
|
|
23768
|
+
* Dispatch Opener
|
|
23769
|
+
* @description If true, immediately drive one agent turn on the new channel (e.g. 'I'll text you now').
|
|
23770
|
+
* @default false
|
|
23771
|
+
*/
|
|
23772
|
+
dispatch_opener?: boolean;
|
|
23773
|
+
/** @description Optional context steering the opener when dispatch_opener=true. */
|
|
23774
|
+
instruction?: components["schemas"]["BackgroundString"] | null;
|
|
23775
|
+
/** @description Why the conversation is being moved (e.g. escalation, customer_request). */
|
|
23776
|
+
reason: components["schemas"]["NameString"];
|
|
23777
|
+
/** @description Recipient address on the new channel (E.164). Required for sms/imessage. */
|
|
23778
|
+
recipient?: components["schemas"]["PhoneE164"] | null;
|
|
23779
|
+
/**
|
|
23780
|
+
* Use Case Id
|
|
23781
|
+
* @description Channel-manager use case for the new channel (resolves the sender). Required for sms/imessage.
|
|
23782
|
+
*/
|
|
23783
|
+
use_case_id?: string | null;
|
|
23784
|
+
};
|
|
23505
23785
|
/**
|
|
23506
23786
|
* SwitchModeRequest
|
|
23507
23787
|
* @description Request to toggle operator mode on an active call.
|
|
@@ -23850,6 +24130,40 @@ export interface components {
|
|
|
23850
24130
|
/** Session Id */
|
|
23851
24131
|
session_id: string;
|
|
23852
24132
|
};
|
|
24133
|
+
/**
|
|
24134
|
+
* TextToolStartedEvent
|
|
24135
|
+
* @description A slow text tool *began* running for a web text conversation — pushed live
|
|
24136
|
+
* the instant the tool is dispatched, before the 15s blocking floor elapses, so a
|
|
24137
|
+
* subscribed client shows progress immediately instead of waiting out the floor in
|
|
24138
|
+
* silence (PLA-986). Emitted for tools that route through the background/floor-promoted
|
|
24139
|
+
* dispatch paths (companion skills and ``execution="background"`` tools) — the ones
|
|
24140
|
+
* that can outlast the turn's synchronous response.
|
|
24141
|
+
*
|
|
24142
|
+
* The start/completion pair share one card identity: ``call_id`` is ``bg:<task_id>``,
|
|
24143
|
+
* matching the eventual ``TextBackgroundResultEvent`` (and the next-turn drained card
|
|
24144
|
+
* from ``build_background_completion_effect``), so a client collapses started → result
|
|
24145
|
+
* into one card rather than rendering two. Web-only: ``conversation_id`` is the durable
|
|
24146
|
+
* conversation UUID (non-web channels route by a composite key and deliver via their own
|
|
24147
|
+
* transport).
|
|
24148
|
+
*/
|
|
24149
|
+
TextToolStartedEvent: {
|
|
24150
|
+
/** Call Id */
|
|
24151
|
+
call_id: string;
|
|
24152
|
+
/**
|
|
24153
|
+
* Conversation Id
|
|
24154
|
+
* Format: uuid
|
|
24155
|
+
*/
|
|
24156
|
+
conversation_id: string;
|
|
24157
|
+
/** Depth */
|
|
24158
|
+
depth: number;
|
|
24159
|
+
/**
|
|
24160
|
+
* @description discriminator enum property added by openapi-typescript
|
|
24161
|
+
* @enum {string}
|
|
24162
|
+
*/
|
|
24163
|
+
event_type: "text.tool_started";
|
|
24164
|
+
/** Tool Name */
|
|
24165
|
+
tool_name: string;
|
|
24166
|
+
};
|
|
23853
24167
|
/**
|
|
23854
24168
|
* TextTurnRequest
|
|
23855
24169
|
* @description Request body for ``POST /v1/{ws}/services/{service_id}/text-turn``.
|
|
@@ -24809,33 +25123,98 @@ export interface components {
|
|
|
24809
25123
|
};
|
|
24810
25124
|
/** TriggerRunResponse */
|
|
24811
25125
|
TriggerRunResponse: {
|
|
25126
|
+
/**
|
|
25127
|
+
* Attempt Count
|
|
25128
|
+
* @description Number of claim attempts
|
|
25129
|
+
*/
|
|
25130
|
+
attempt_count: number;
|
|
25131
|
+
/**
|
|
25132
|
+
* Claimed At
|
|
25133
|
+
* @description When the run was claimed
|
|
25134
|
+
*/
|
|
25135
|
+
claimed_at?: string | null;
|
|
25136
|
+
/**
|
|
25137
|
+
* Claimed By
|
|
25138
|
+
* @description Dispatcher consumer that claimed the run
|
|
25139
|
+
*/
|
|
25140
|
+
claimed_by?: string | null;
|
|
24812
25141
|
/**
|
|
24813
25142
|
* Created At
|
|
24814
|
-
*
|
|
25143
|
+
* Format: date-time
|
|
25144
|
+
* @description When the run was enqueued
|
|
24815
25145
|
*/
|
|
24816
|
-
created_at
|
|
25146
|
+
created_at: string;
|
|
24817
25147
|
/**
|
|
24818
|
-
*
|
|
24819
|
-
* @description
|
|
25148
|
+
* Error
|
|
25149
|
+
* @description Failure detail, if any
|
|
24820
25150
|
*/
|
|
24821
|
-
|
|
25151
|
+
error?: string | null;
|
|
25152
|
+
/**
|
|
25153
|
+
* Fired Event Id
|
|
25154
|
+
* Format: uuid
|
|
25155
|
+
*/
|
|
25156
|
+
fired_event_id: string;
|
|
25157
|
+
/**
|
|
25158
|
+
* Id
|
|
25159
|
+
* Format: uuid
|
|
25160
|
+
*/
|
|
25161
|
+
id: string;
|
|
25162
|
+
/**
|
|
25163
|
+
* Input Override
|
|
25164
|
+
* @description Per-run input overrides
|
|
25165
|
+
*/
|
|
25166
|
+
input_override?: {
|
|
24822
25167
|
[key: string]: unknown;
|
|
24823
|
-
};
|
|
25168
|
+
} | null;
|
|
24824
25169
|
/**
|
|
24825
|
-
*
|
|
24826
|
-
* @description When the
|
|
25170
|
+
* Lease Expires At
|
|
25171
|
+
* @description When the running lease expires
|
|
24827
25172
|
*/
|
|
24828
|
-
|
|
25173
|
+
lease_expires_at?: string | null;
|
|
24829
25174
|
/**
|
|
24830
|
-
*
|
|
25175
|
+
* Max Attempts
|
|
25176
|
+
* @description Maximum claim attempts before dead-lettering
|
|
25177
|
+
*/
|
|
25178
|
+
max_attempts: number;
|
|
25179
|
+
/**
|
|
25180
|
+
* Next Attempt At
|
|
25181
|
+
* Format: date-time
|
|
25182
|
+
* @description Next eligible claim time
|
|
25183
|
+
*/
|
|
25184
|
+
next_attempt_at: string;
|
|
25185
|
+
/**
|
|
25186
|
+
* Result Text
|
|
25187
|
+
* @description Text result emitted by the action
|
|
25188
|
+
*/
|
|
25189
|
+
result_text?: string | null;
|
|
25190
|
+
/**
|
|
25191
|
+
* Source
|
|
25192
|
+
* @description Source that fired the trigger
|
|
25193
|
+
* @enum {string}
|
|
25194
|
+
*/
|
|
25195
|
+
source: "cron" | "manual" | "webhook" | "event";
|
|
25196
|
+
/**
|
|
25197
|
+
* Status
|
|
25198
|
+
* @description Run status
|
|
25199
|
+
* @enum {string}
|
|
25200
|
+
*/
|
|
25201
|
+
status: "queued" | "running" | "succeeded" | "failed" | "dead";
|
|
25202
|
+
/**
|
|
25203
|
+
* Trigger Id
|
|
24831
25204
|
* Format: uuid
|
|
24832
25205
|
*/
|
|
24833
|
-
|
|
25206
|
+
trigger_id: string;
|
|
24834
25207
|
/**
|
|
24835
|
-
*
|
|
24836
|
-
*
|
|
25208
|
+
* Updated At
|
|
25209
|
+
* Format: date-time
|
|
25210
|
+
* @description When the run row last changed
|
|
24837
25211
|
*/
|
|
24838
|
-
|
|
25212
|
+
updated_at: string;
|
|
25213
|
+
/**
|
|
25214
|
+
* Workspace Id
|
|
25215
|
+
* Format: uuid
|
|
25216
|
+
*/
|
|
25217
|
+
workspace_id: string;
|
|
24839
25218
|
};
|
|
24840
25219
|
/**
|
|
24841
25220
|
* TriggerSyncConflictDetails
|
|
@@ -25144,6 +25523,27 @@ export interface components {
|
|
|
25144
25523
|
};
|
|
25145
25524
|
/** TurnResponse */
|
|
25146
25525
|
TurnResponse: {
|
|
25526
|
+
/**
|
|
25527
|
+
* Background Pending
|
|
25528
|
+
* @description Whether this turn's ``output`` is the final answer, or only an acknowledgement that
|
|
25529
|
+
* work is still running in the background.
|
|
25530
|
+
*
|
|
25531
|
+
* ``false`` (default): ``output`` is the complete agent response for this turn.
|
|
25532
|
+
*
|
|
25533
|
+
* ``true``: a tool crossed the server's blocking window and was handed to a background
|
|
25534
|
+
* task, so ``output`` is NOT the final answer — the definitive assistant answer is
|
|
25535
|
+
* produced later, out-of-band. It is **durable on the conversation**: drain it by
|
|
25536
|
+
* re-issuing ``POST …/turns`` with ``poll=true`` (a no-message drain-and-report), by
|
|
25537
|
+
* sending the next user turn, or by reading the conversation back
|
|
25538
|
+
* (``GET …/conversations/{id}``). This is the per-conversation delivery contract — see
|
|
25539
|
+
* the web-integration paved path. (The workspace observer bus,
|
|
25540
|
+
* ``GET /v1/{workspace_id}/events/stream``, mirrors this activity as ``text.agent_message``
|
|
25541
|
+
* / ``text.tool_started`` / ``text.background_result`` for *dashboards* watching many
|
|
25542
|
+
* conversations, but is not the per-chat delivery path.) A client that treats a
|
|
25543
|
+
* ``background_pending=true`` turn as complete without draining will miss the final answer.
|
|
25544
|
+
* @default false
|
|
25545
|
+
*/
|
|
25546
|
+
background_pending?: boolean;
|
|
25147
25547
|
conversation: components["schemas"]["TurnConversationSnapshot"];
|
|
25148
25548
|
input: components["schemas"]["ConversationTurn"];
|
|
25149
25549
|
/** Output */
|
|
@@ -25634,6 +26034,19 @@ export interface components {
|
|
|
25634
26034
|
UpsertVersionSetRequest: {
|
|
25635
26035
|
version_set: components["schemas"]["VersionSet-Input"];
|
|
25636
26036
|
};
|
|
26037
|
+
/** Usage */
|
|
26038
|
+
Usage: {
|
|
26039
|
+
/**
|
|
26040
|
+
* Input Tokens
|
|
26041
|
+
* @default 0
|
|
26042
|
+
*/
|
|
26043
|
+
input_tokens?: number;
|
|
26044
|
+
/**
|
|
26045
|
+
* Output Tokens
|
|
26046
|
+
* @default 0
|
|
26047
|
+
*/
|
|
26048
|
+
output_tokens?: number;
|
|
26049
|
+
};
|
|
25637
26050
|
/** UsageBucket */
|
|
25638
26051
|
UsageBucket: {
|
|
25639
26052
|
/**
|
|
@@ -26182,25 +26595,6 @@ export interface components {
|
|
|
26182
26595
|
/** Volume */
|
|
26183
26596
|
volume: number | null;
|
|
26184
26597
|
};
|
|
26185
|
-
/** VoiceUseCaseRequest */
|
|
26186
|
-
VoiceUseCaseRequest: {
|
|
26187
|
-
/**
|
|
26188
|
-
* @description discriminator enum property added by openapi-typescript
|
|
26189
|
-
* @enum {string}
|
|
26190
|
-
*/
|
|
26191
|
-
channel: "inbound_voice" | "outbound_voice" | "ringless_voicemail";
|
|
26192
|
-
/** Description */
|
|
26193
|
-
description?: string | null;
|
|
26194
|
-
/** Entity Name */
|
|
26195
|
-
entity_name: string;
|
|
26196
|
-
/** Name */
|
|
26197
|
-
name: string;
|
|
26198
|
-
/**
|
|
26199
|
-
* Setup Id
|
|
26200
|
-
* Format: uuid
|
|
26201
|
-
*/
|
|
26202
|
-
setup_id: string;
|
|
26203
|
-
};
|
|
26204
26598
|
/**
|
|
26205
26599
|
* WorkspaceBenchmarks
|
|
26206
26600
|
* @description Workspace-level call quality benchmarks for contextual comparison.
|
|
@@ -26399,7 +26793,7 @@ export interface components {
|
|
|
26399
26793
|
*/
|
|
26400
26794
|
updated_at: string;
|
|
26401
26795
|
};
|
|
26402
|
-
WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | components["schemas"]["EncounterUpdatedEvent"] | components["schemas"]["NarrativeUpdatedEvent"] | components["schemas"]["ReviewSubmittedEvent"] | components["schemas"]["SimulationTurnStoredEvent"] | components["schemas"]["SurfaceCreatedEvent"] | components["schemas"]["SurfaceDeliveredEvent"] | components["schemas"]["SurfaceUpdatedEvent"] | components["schemas"]["SurfaceArchivedEvent"] | components["schemas"]["SurfaceReshapedEvent"] | components["schemas"]["SurfaceSubmittedEvent"] | components["schemas"]["SurfaceFieldSavedEvent"] | components["schemas"]["SurfaceOpenedEvent"] | components["schemas"]["SurfacePendingReviewEvent"] | components["schemas"]["SurfaceReviewApprovedEvent"] | components["schemas"]["SurfaceReviewRejectedEvent"] | components["schemas"]["IntegrationApprovalGrantedEvent"] | components["schemas"]["IntegrationApprovalRejectedEvent"] | components["schemas"]["TextStartedEvent"] | components["schemas"]["TextCompletedEvent"] | components["schemas"]["TextBackgroundResultEvent"] | components["schemas"]["TextAgentMessageEvent"] | components["schemas"]["TriggerFiredEvent"] | components["schemas"]["TriggerCompletedEvent"] | components["schemas"]["TriggerFailedEvent"] | components["schemas"]["PipelineSyncCompletedEvent"] | components["schemas"]["PipelineErrorEvent"] | components["schemas"]["OperatorRegisteredEvent"] | components["schemas"]["OperatorStatusChangedEvent"] | components["schemas"]["OperatorProfileUpdatedEvent"] | components["schemas"]["OperatorJoinedCallEvent"] | components["schemas"]["OperatorLeftCallEvent"] | components["schemas"]["OperatorModeChangedEvent"] | components["schemas"]["OperatorWrapUpEvent"] | components["schemas"]["WorkspaceMemberAddedEvent"] | components["schemas"]["WorkspaceMemberRoleUpdatedEvent"] | components["schemas"]["WorkspaceInvitationSentEvent"] | components["schemas"]["WorkspaceInvitationAcceptedEvent"] | components["schemas"]["ChannelEmailDeliveredEvent"] | components["schemas"]["ChannelEmailBouncedEvent"] | components["schemas"]["ChannelEmailComplainedEvent"] | components["schemas"]["ChannelEmailRejectedEvent"] | components["schemas"]["ChannelEmailDelayedEvent"] | components["schemas"]["ChannelEmailOpenedEvent"] | components["schemas"]["ChannelEmailClickedEvent"] | components["schemas"]["ChannelEmailReceivedEvent"] | components["schemas"]["ChannelVoicemailStatusEvent"];
|
|
26796
|
+
WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | components["schemas"]["EncounterUpdatedEvent"] | components["schemas"]["NarrativeUpdatedEvent"] | components["schemas"]["ReviewSubmittedEvent"] | components["schemas"]["SimulationTurnStoredEvent"] | components["schemas"]["SurfaceCreatedEvent"] | components["schemas"]["SurfaceDeliveredEvent"] | components["schemas"]["SurfaceUpdatedEvent"] | components["schemas"]["SurfaceArchivedEvent"] | components["schemas"]["SurfaceReshapedEvent"] | components["schemas"]["SurfaceSubmittedEvent"] | components["schemas"]["SurfaceFieldSavedEvent"] | components["schemas"]["SurfaceOpenedEvent"] | components["schemas"]["SurfacePendingReviewEvent"] | components["schemas"]["SurfaceReviewApprovedEvent"] | components["schemas"]["SurfaceReviewRejectedEvent"] | components["schemas"]["IntegrationApprovalGrantedEvent"] | components["schemas"]["IntegrationApprovalRejectedEvent"] | components["schemas"]["TextStartedEvent"] | components["schemas"]["TextCompletedEvent"] | components["schemas"]["TextToolStartedEvent"] | components["schemas"]["TextBackgroundResultEvent"] | components["schemas"]["TextAgentMessageEvent"] | components["schemas"]["TriggerFiredEvent"] | components["schemas"]["TriggerCompletedEvent"] | components["schemas"]["TriggerFailedEvent"] | components["schemas"]["PipelineSyncCompletedEvent"] | components["schemas"]["PipelineErrorEvent"] | components["schemas"]["OperatorRegisteredEvent"] | components["schemas"]["OperatorStatusChangedEvent"] | components["schemas"]["OperatorProfileUpdatedEvent"] | components["schemas"]["OperatorJoinedCallEvent"] | components["schemas"]["OperatorLeftCallEvent"] | components["schemas"]["OperatorModeChangedEvent"] | components["schemas"]["OperatorWrapUpEvent"] | components["schemas"]["WorkspaceMemberAddedEvent"] | components["schemas"]["WorkspaceMemberRoleUpdatedEvent"] | components["schemas"]["WorkspaceInvitationSentEvent"] | components["schemas"]["WorkspaceInvitationAcceptedEvent"] | components["schemas"]["ChannelEmailDeliveredEvent"] | components["schemas"]["ChannelEmailBouncedEvent"] | components["schemas"]["ChannelEmailComplainedEvent"] | components["schemas"]["ChannelEmailRejectedEvent"] | components["schemas"]["ChannelEmailDelayedEvent"] | components["schemas"]["ChannelEmailOpenedEvent"] | components["schemas"]["ChannelEmailClickedEvent"] | components["schemas"]["ChannelEmailReceivedEvent"] | components["schemas"]["ChannelVoicemailStatusEvent"];
|
|
26403
26797
|
/** WorldDashboardResponse */
|
|
26404
26798
|
WorldDashboardResponse: {
|
|
26405
26799
|
/** Avg Confidence */
|
|
@@ -29183,6 +29577,73 @@ export interface operations {
|
|
|
29183
29577
|
};
|
|
29184
29578
|
};
|
|
29185
29579
|
};
|
|
29580
|
+
create_agent_run_v1__workspace_id__agent_runs_post: {
|
|
29581
|
+
parameters: {
|
|
29582
|
+
query?: never;
|
|
29583
|
+
header?: never;
|
|
29584
|
+
path: {
|
|
29585
|
+
workspace_id: string;
|
|
29586
|
+
};
|
|
29587
|
+
cookie?: never;
|
|
29588
|
+
};
|
|
29589
|
+
requestBody: {
|
|
29590
|
+
content: {
|
|
29591
|
+
"application/json": components["schemas"]["CreateAgentRunRequest"];
|
|
29592
|
+
};
|
|
29593
|
+
};
|
|
29594
|
+
responses: {
|
|
29595
|
+
/** @description Successful Response */
|
|
29596
|
+
202: {
|
|
29597
|
+
headers: {
|
|
29598
|
+
[name: string]: unknown;
|
|
29599
|
+
};
|
|
29600
|
+
content: {
|
|
29601
|
+
"application/json": components["schemas"]["CreateAgentRunResponse"];
|
|
29602
|
+
};
|
|
29603
|
+
};
|
|
29604
|
+
/** @description Validation Error */
|
|
29605
|
+
422: {
|
|
29606
|
+
headers: {
|
|
29607
|
+
[name: string]: unknown;
|
|
29608
|
+
};
|
|
29609
|
+
content: {
|
|
29610
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
29611
|
+
};
|
|
29612
|
+
};
|
|
29613
|
+
};
|
|
29614
|
+
};
|
|
29615
|
+
get_agent_run_v1__workspace_id__agent_runs__run_id__get: {
|
|
29616
|
+
parameters: {
|
|
29617
|
+
query?: never;
|
|
29618
|
+
header?: never;
|
|
29619
|
+
path: {
|
|
29620
|
+
workspace_id: string;
|
|
29621
|
+
run_id: string;
|
|
29622
|
+
};
|
|
29623
|
+
cookie?: never;
|
|
29624
|
+
};
|
|
29625
|
+
requestBody?: never;
|
|
29626
|
+
responses: {
|
|
29627
|
+
/** @description Successful Response */
|
|
29628
|
+
200: {
|
|
29629
|
+
headers: {
|
|
29630
|
+
[name: string]: unknown;
|
|
29631
|
+
};
|
|
29632
|
+
content: {
|
|
29633
|
+
"application/json": components["schemas"]["AgentRunDetail"];
|
|
29634
|
+
};
|
|
29635
|
+
};
|
|
29636
|
+
/** @description Validation Error */
|
|
29637
|
+
422: {
|
|
29638
|
+
headers: {
|
|
29639
|
+
[name: string]: unknown;
|
|
29640
|
+
};
|
|
29641
|
+
content: {
|
|
29642
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
29643
|
+
};
|
|
29644
|
+
};
|
|
29645
|
+
};
|
|
29646
|
+
};
|
|
29186
29647
|
"list-agents": {
|
|
29187
29648
|
parameters: {
|
|
29188
29649
|
query?: {
|
|
@@ -32429,6 +32890,42 @@ export interface operations {
|
|
|
32429
32890
|
};
|
|
32430
32891
|
};
|
|
32431
32892
|
};
|
|
32893
|
+
switch_conversation_channel_v1__workspace_id__conversations__conversation_id__channel_post: {
|
|
32894
|
+
parameters: {
|
|
32895
|
+
query?: never;
|
|
32896
|
+
header?: never;
|
|
32897
|
+
path: {
|
|
32898
|
+
workspace_id: string;
|
|
32899
|
+
conversation_id: string;
|
|
32900
|
+
};
|
|
32901
|
+
cookie?: never;
|
|
32902
|
+
};
|
|
32903
|
+
requestBody: {
|
|
32904
|
+
content: {
|
|
32905
|
+
"application/json": components["schemas"]["SwitchChannelRequest"];
|
|
32906
|
+
};
|
|
32907
|
+
};
|
|
32908
|
+
responses: {
|
|
32909
|
+
/** @description Successful Response */
|
|
32910
|
+
200: {
|
|
32911
|
+
headers: {
|
|
32912
|
+
[name: string]: unknown;
|
|
32913
|
+
};
|
|
32914
|
+
content: {
|
|
32915
|
+
"application/json": components["schemas"]["ConversationDetail"];
|
|
32916
|
+
};
|
|
32917
|
+
};
|
|
32918
|
+
/** @description Validation Error */
|
|
32919
|
+
422: {
|
|
32920
|
+
headers: {
|
|
32921
|
+
[name: string]: unknown;
|
|
32922
|
+
};
|
|
32923
|
+
content: {
|
|
32924
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
32925
|
+
};
|
|
32926
|
+
};
|
|
32927
|
+
};
|
|
32928
|
+
};
|
|
32432
32929
|
create_turn_v1__workspace_id__conversations__conversation_id__turns_post: {
|
|
32433
32930
|
parameters: {
|
|
32434
32931
|
query?: {
|
|
@@ -35844,6 +36341,77 @@ export interface operations {
|
|
|
35844
36341
|
};
|
|
35845
36342
|
};
|
|
35846
36343
|
};
|
|
36344
|
+
list_intake_materializations_v1__workspace_id__intake_materializations_get: {
|
|
36345
|
+
parameters: {
|
|
36346
|
+
query?: {
|
|
36347
|
+
limit?: number;
|
|
36348
|
+
continuation_token?: number;
|
|
36349
|
+
sort_by?: string;
|
|
36350
|
+
search?: string | null;
|
|
36351
|
+
};
|
|
36352
|
+
header?: never;
|
|
36353
|
+
path: {
|
|
36354
|
+
workspace_id: string;
|
|
36355
|
+
};
|
|
36356
|
+
cookie?: never;
|
|
36357
|
+
};
|
|
36358
|
+
requestBody?: never;
|
|
36359
|
+
responses: {
|
|
36360
|
+
/** @description Successful Response */
|
|
36361
|
+
200: {
|
|
36362
|
+
headers: {
|
|
36363
|
+
[name: string]: unknown;
|
|
36364
|
+
};
|
|
36365
|
+
content: {
|
|
36366
|
+
"application/json": components["schemas"]["PaginatedResponse_MaterializationRow_"];
|
|
36367
|
+
};
|
|
36368
|
+
};
|
|
36369
|
+
/** @description Validation Error */
|
|
36370
|
+
422: {
|
|
36371
|
+
headers: {
|
|
36372
|
+
[name: string]: unknown;
|
|
36373
|
+
};
|
|
36374
|
+
content: {
|
|
36375
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
36376
|
+
};
|
|
36377
|
+
};
|
|
36378
|
+
};
|
|
36379
|
+
};
|
|
36380
|
+
materialize_intake_v1__workspace_id__intake_materialize_post: {
|
|
36381
|
+
parameters: {
|
|
36382
|
+
query?: never;
|
|
36383
|
+
header?: never;
|
|
36384
|
+
path: {
|
|
36385
|
+
workspace_id: string;
|
|
36386
|
+
};
|
|
36387
|
+
cookie?: never;
|
|
36388
|
+
};
|
|
36389
|
+
requestBody?: {
|
|
36390
|
+
content: {
|
|
36391
|
+
"application/json": components["schemas"]["MaterializeRequest"] | null;
|
|
36392
|
+
};
|
|
36393
|
+
};
|
|
36394
|
+
responses: {
|
|
36395
|
+
/** @description Successful Response */
|
|
36396
|
+
202: {
|
|
36397
|
+
headers: {
|
|
36398
|
+
[name: string]: unknown;
|
|
36399
|
+
};
|
|
36400
|
+
content: {
|
|
36401
|
+
"application/json": components["schemas"]["MaterializeResponse"];
|
|
36402
|
+
};
|
|
36403
|
+
};
|
|
36404
|
+
/** @description Validation Error */
|
|
36405
|
+
422: {
|
|
36406
|
+
headers: {
|
|
36407
|
+
[name: string]: unknown;
|
|
36408
|
+
};
|
|
36409
|
+
content: {
|
|
36410
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
36411
|
+
};
|
|
36412
|
+
};
|
|
36413
|
+
};
|
|
36414
|
+
};
|
|
35847
36415
|
register_intake_schema_v1__workspace_id__intake_schema_register_post: {
|
|
35848
36416
|
parameters: {
|
|
35849
36417
|
query?: never;
|
|
@@ -40868,7 +41436,9 @@ export interface operations {
|
|
|
40868
41436
|
};
|
|
40869
41437
|
get_fleet_status_v1__workspace_id__sessions_fleet_status_get: {
|
|
40870
41438
|
parameters: {
|
|
40871
|
-
query?:
|
|
41439
|
+
query?: {
|
|
41440
|
+
fleet?: "voice" | "tool-runner";
|
|
41441
|
+
};
|
|
40872
41442
|
header?: never;
|
|
40873
41443
|
path: {
|
|
40874
41444
|
workspace_id: string;
|
|
@@ -40886,6 +41456,15 @@ export interface operations {
|
|
|
40886
41456
|
"application/json": components["schemas"]["FleetStatusResponse"];
|
|
40887
41457
|
};
|
|
40888
41458
|
};
|
|
41459
|
+
/** @description Validation Error */
|
|
41460
|
+
422: {
|
|
41461
|
+
headers: {
|
|
41462
|
+
[name: string]: unknown;
|
|
41463
|
+
};
|
|
41464
|
+
content: {
|
|
41465
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
41466
|
+
};
|
|
41467
|
+
};
|
|
40889
41468
|
};
|
|
40890
41469
|
};
|
|
40891
41470
|
start_text_session_v1__workspace_id__sessions_start_post: {
|
|
@@ -44774,7 +45353,7 @@ export interface operations {
|
|
|
44774
45353
|
};
|
|
44775
45354
|
};
|
|
44776
45355
|
};
|
|
44777
|
-
"
|
|
45356
|
+
"list-owned-use-cases": {
|
|
44778
45357
|
parameters: {
|
|
44779
45358
|
query?: never;
|
|
44780
45359
|
header?: never;
|
|
@@ -44783,19 +45362,15 @@ export interface operations {
|
|
|
44783
45362
|
};
|
|
44784
45363
|
cookie?: never;
|
|
44785
45364
|
};
|
|
44786
|
-
requestBody
|
|
44787
|
-
content: {
|
|
44788
|
-
"application/json": components["schemas"]["VoiceUseCaseRequest"] | components["schemas"]["EmailUseCaseRequest"];
|
|
44789
|
-
};
|
|
44790
|
-
};
|
|
45365
|
+
requestBody?: never;
|
|
44791
45366
|
responses: {
|
|
44792
45367
|
/** @description Successful Response */
|
|
44793
|
-
|
|
45368
|
+
200: {
|
|
44794
45369
|
headers: {
|
|
44795
45370
|
[name: string]: unknown;
|
|
44796
45371
|
};
|
|
44797
45372
|
content: {
|
|
44798
|
-
"application/json": components["schemas"]["
|
|
45373
|
+
"application/json": components["schemas"]["OwnedUseCasesResponse"];
|
|
44799
45374
|
};
|
|
44800
45375
|
};
|
|
44801
45376
|
/** @description Insufficient permissions. */
|
|
@@ -44805,15 +45380,38 @@ export interface operations {
|
|
|
44805
45380
|
};
|
|
44806
45381
|
content?: never;
|
|
44807
45382
|
};
|
|
44808
|
-
|
|
44809
|
-
|
|
45383
|
+
};
|
|
45384
|
+
};
|
|
45385
|
+
"get-use-case-ownership": {
|
|
45386
|
+
parameters: {
|
|
45387
|
+
query?: never;
|
|
45388
|
+
header?: never;
|
|
45389
|
+
path: {
|
|
45390
|
+
workspace_id: string;
|
|
45391
|
+
use_case_id: string;
|
|
45392
|
+
};
|
|
45393
|
+
cookie?: never;
|
|
45394
|
+
};
|
|
45395
|
+
requestBody?: never;
|
|
45396
|
+
responses: {
|
|
45397
|
+
/** @description Successful Response */
|
|
45398
|
+
200: {
|
|
45399
|
+
headers: {
|
|
45400
|
+
[name: string]: unknown;
|
|
45401
|
+
};
|
|
45402
|
+
content: {
|
|
45403
|
+
"application/json": components["schemas"]["OwnershipResponse"];
|
|
45404
|
+
};
|
|
45405
|
+
};
|
|
45406
|
+
/** @description Insufficient permissions. */
|
|
45407
|
+
403: {
|
|
44810
45408
|
headers: {
|
|
44811
45409
|
[name: string]: unknown;
|
|
44812
45410
|
};
|
|
44813
45411
|
content?: never;
|
|
44814
45412
|
};
|
|
44815
|
-
/** @description Use case
|
|
44816
|
-
|
|
45413
|
+
/** @description Use case not found. */
|
|
45414
|
+
404: {
|
|
44817
45415
|
headers: {
|
|
44818
45416
|
[name: string]: unknown;
|
|
44819
45417
|
};
|
|
@@ -44828,23 +45426,62 @@ export interface operations {
|
|
|
44828
45426
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
44829
45427
|
};
|
|
44830
45428
|
};
|
|
44831
|
-
|
|
44832
|
-
|
|
45429
|
+
};
|
|
45430
|
+
};
|
|
45431
|
+
"assign-use-case-ownership": {
|
|
45432
|
+
parameters: {
|
|
45433
|
+
query?: never;
|
|
45434
|
+
header?: never;
|
|
45435
|
+
path: {
|
|
45436
|
+
workspace_id: string;
|
|
45437
|
+
use_case_id: string;
|
|
45438
|
+
};
|
|
45439
|
+
cookie?: never;
|
|
45440
|
+
};
|
|
45441
|
+
requestBody?: never;
|
|
45442
|
+
responses: {
|
|
45443
|
+
/** @description Successful Response */
|
|
45444
|
+
200: {
|
|
45445
|
+
headers: {
|
|
45446
|
+
[name: string]: unknown;
|
|
45447
|
+
};
|
|
45448
|
+
content: {
|
|
45449
|
+
"application/json": components["schemas"]["OwnershipResponse"];
|
|
45450
|
+
};
|
|
45451
|
+
};
|
|
45452
|
+
/** @description Insufficient permissions. */
|
|
45453
|
+
403: {
|
|
44833
45454
|
headers: {
|
|
44834
45455
|
[name: string]: unknown;
|
|
44835
45456
|
};
|
|
44836
45457
|
content?: never;
|
|
44837
45458
|
};
|
|
44838
|
-
/** @description
|
|
44839
|
-
|
|
45459
|
+
/** @description Use case not found. */
|
|
45460
|
+
404: {
|
|
44840
45461
|
headers: {
|
|
44841
45462
|
[name: string]: unknown;
|
|
44842
45463
|
};
|
|
44843
45464
|
content?: never;
|
|
44844
45465
|
};
|
|
45466
|
+
/** @description Use case is owned by another workspace. */
|
|
45467
|
+
409: {
|
|
45468
|
+
headers: {
|
|
45469
|
+
[name: string]: unknown;
|
|
45470
|
+
};
|
|
45471
|
+
content?: never;
|
|
45472
|
+
};
|
|
45473
|
+
/** @description Validation Error */
|
|
45474
|
+
422: {
|
|
45475
|
+
headers: {
|
|
45476
|
+
[name: string]: unknown;
|
|
45477
|
+
};
|
|
45478
|
+
content: {
|
|
45479
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
45480
|
+
};
|
|
45481
|
+
};
|
|
44845
45482
|
};
|
|
44846
45483
|
};
|
|
44847
|
-
"
|
|
45484
|
+
"release-use-case-ownership": {
|
|
44848
45485
|
parameters: {
|
|
44849
45486
|
query?: never;
|
|
44850
45487
|
header?: never;
|
|
@@ -44877,7 +45514,7 @@ export interface operations {
|
|
|
44877
45514
|
};
|
|
44878
45515
|
content?: never;
|
|
44879
45516
|
};
|
|
44880
|
-
/** @description Use case is bound to a service
|
|
45517
|
+
/** @description Use case is bound to a service; unbind it first. */
|
|
44881
45518
|
409: {
|
|
44882
45519
|
headers: {
|
|
44883
45520
|
[name: string]: unknown;
|
|
@@ -44893,20 +45530,6 @@ export interface operations {
|
|
|
44893
45530
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
44894
45531
|
};
|
|
44895
45532
|
};
|
|
44896
|
-
/** @description Channel manager unavailable. */
|
|
44897
|
-
502: {
|
|
44898
|
-
headers: {
|
|
44899
|
-
[name: string]: unknown;
|
|
44900
|
-
};
|
|
44901
|
-
content?: never;
|
|
44902
|
-
};
|
|
44903
|
-
/** @description Channel manager timed out. */
|
|
44904
|
-
504: {
|
|
44905
|
-
headers: {
|
|
44906
|
-
[name: string]: unknown;
|
|
44907
|
-
};
|
|
44908
|
-
content?: never;
|
|
44909
|
-
};
|
|
44910
45533
|
};
|
|
44911
45534
|
};
|
|
44912
45535
|
"get-use-case-service-binding": {
|