@amigo-ai/platform-sdk 0.39.0 → 0.40.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/types/generated/api.d.ts +30 -2
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/intake.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/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5225,7 +5225,9 @@ export interface paths {
|
|
|
5225
5225
|
* List prompt logs for a workspace
|
|
5226
5226
|
* @description Lists ``prompt_log`` events emitted by agent-engine — full system prompt, conversation history, tool catalog, LLM model, and response — for auditing and debugging. Reads the Delta ``world_events`` ledger via Databricks SQL; typical latency is 1-5s with a 15s ceiling on cold-start.
|
|
5227
5227
|
*
|
|
5228
|
-
* **
|
|
5228
|
+
* **Conversation filter**: pass ``conversation_id`` (UUID from ``world.entities``) for the canonical mental model — works uniformly across voice, text, sim, and scribe modalities. ``call_sid`` is the legacy direct-SID filter (Twilio CA-SID for voice, session_id UUID otherwise) and is mutually exclusive with ``conversation_id``.
|
|
5229
|
+
*
|
|
5230
|
+
* **Other filters**: ``prompt_type``, ``state_name``, ``from_ts``, ``to_ts``. When no selectivity-bearing filter (conversation_id / call_sid / time range) is supplied, the query is auto-capped to the last 7 days; the applied window is reported in ``applied_time_window_days``.
|
|
5229
5231
|
*
|
|
5230
5232
|
* **Pagination**: peek-ahead — ``has_more`` is true when more rows exist; use ``next_offset`` to fetch the next page.
|
|
5231
5233
|
*
|
|
@@ -21423,6 +21425,16 @@ export interface components {
|
|
|
21423
21425
|
* @description Pass back as offset to fetch the next page; null when has_more is false
|
|
21424
21426
|
*/
|
|
21425
21427
|
next_offset?: number | null;
|
|
21428
|
+
/**
|
|
21429
|
+
* Resolved Call Sid
|
|
21430
|
+
* @description When ``conversation_id`` was supplied, this is the underlying ``call_sid`` that the lookup resolved to. Useful for callers that want to drill into per-call surfaces afterward without re-querying ``world.entities``. Null when the caller filtered by ``call_sid`` directly or did not filter by conversation.
|
|
21431
|
+
*/
|
|
21432
|
+
resolved_call_sid?: string | null;
|
|
21433
|
+
/**
|
|
21434
|
+
* Resolved Conversation Kind
|
|
21435
|
+
* @description ``entity_type`` of the conversation entity when ``conversation_id`` was supplied (``call`` for voice/sim/scribe, ``conversation`` for text/sms/whatsapp/email). Null otherwise.
|
|
21436
|
+
*/
|
|
21437
|
+
resolved_conversation_kind?: ("call" | "conversation") | null;
|
|
21426
21438
|
};
|
|
21427
21439
|
/**
|
|
21428
21440
|
* ProviderType
|
|
@@ -41117,7 +41129,9 @@ export interface operations {
|
|
|
41117
41129
|
"list-prompt-logs": {
|
|
41118
41130
|
parameters: {
|
|
41119
41131
|
query?: {
|
|
41120
|
-
/** @description
|
|
41132
|
+
/** @description Conversation entity UUID (canonical identifier across all modalities — voice, text/web, sms, sim, scribe). Resolves to the underlying ``call_sid`` via ``world.entities``. Mutually exclusive with the ``call_sid`` query parameter. */
|
|
41133
|
+
conversation_id?: string | null;
|
|
41134
|
+
/** @description Direct conversation identifier as stored on the prompt-log event: Twilio CA-SID for voice calls, session_id UUID for text/sim/scribe sessions. Most callers should use ``conversation_id`` instead — this is kept for legacy callers and external systems that hold the SID directly. Mutually exclusive with ``conversation_id``. */
|
|
41121
41135
|
call_sid?: string | null;
|
|
41122
41136
|
/** @description Filter by prompt_type (e.g. engage_user, navigation, tool) */
|
|
41123
41137
|
prompt_type?: string | null;
|
|
@@ -41149,6 +41163,13 @@ export interface operations {
|
|
|
41149
41163
|
"application/json": components["schemas"]["PromptLogListResponse"];
|
|
41150
41164
|
};
|
|
41151
41165
|
};
|
|
41166
|
+
/** @description Mutually exclusive filters supplied */
|
|
41167
|
+
400: {
|
|
41168
|
+
headers: {
|
|
41169
|
+
[name: string]: unknown;
|
|
41170
|
+
};
|
|
41171
|
+
content?: never;
|
|
41172
|
+
};
|
|
41152
41173
|
/** @description Caller is not admin/owner */
|
|
41153
41174
|
403: {
|
|
41154
41175
|
headers: {
|
|
@@ -41156,6 +41177,13 @@ export interface operations {
|
|
|
41156
41177
|
};
|
|
41157
41178
|
content?: never;
|
|
41158
41179
|
};
|
|
41180
|
+
/** @description conversation_id does not match any conversation in this workspace */
|
|
41181
|
+
404: {
|
|
41182
|
+
headers: {
|
|
41183
|
+
[name: string]: unknown;
|
|
41184
|
+
};
|
|
41185
|
+
content?: never;
|
|
41186
|
+
};
|
|
41159
41187
|
/** @description Validation Error */
|
|
41160
41188
|
422: {
|
|
41161
41189
|
headers: {
|