@deepraxis/sdk 0.1.1-dev.d25d171 → 0.1.1-dev.d775f1e
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/METHODS.md +17 -47
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +41 -79
- package/dist/generated/sdk.gen.js +59 -147
- package/dist/generated/types.gen.d.ts +1519 -2426
- package/dist/operations.generated.d.ts +126 -259
- package/dist/operations.generated.js +143 -295
- package/dist/resources.generated.d.ts +118 -345
- package/dist/resources.generated.js +8 -25
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { client } from './client.gen.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* Apply Agent Version
|
|
6
6
|
*
|
|
7
|
-
* Apply a version from agents.versions.list
|
|
7
|
+
* Apply a saved version from agents.versions.list for new sessions and newly issued tokens, without creating a version. Existing sessions and tokens retain their version. The response contains the effective configuration with version equal to active_version and latest_version naming the newest saved version. Missing versions return 404; archived agents return 409. For example, POST /agent/v1/agents/{agent_id}/versions/2/apply with no body.
|
|
8
8
|
*/
|
|
9
9
|
export const applyAgentVersion = (options) => (options.client ?? client).post({
|
|
10
10
|
security: [{
|
|
@@ -82,13 +82,13 @@ export const setRunFeedback = (options) => (options.client ?? client).post({
|
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
84
|
/**
|
|
85
|
-
* List
|
|
85
|
+
* List customers
|
|
86
86
|
*
|
|
87
|
-
* List
|
|
87
|
+
* List the customers of a service agent, identified and anonymous, most recently seen first.
|
|
88
88
|
*
|
|
89
|
-
*
|
|
89
|
+
* Call this from your backend with your API key, or from the console. Customers follow Shopify Admin customers (list, retrieve, block, sign-out and data deletion of the people who use your storefront), so that experience applies. The list includes customers who signed in but have not started a session yet, and customers recorded under your own ids by embed tokens before customer sign-in existed; an id first seen that way is identified unless it starts with anon_. Unlike Shopify, a customer can be anonymous: a visitor admitted with the publishable key gets an anon_ id, and when it later signs in with anonymous_access_token it is merged: merged_into names the identified customer, and its sessions count toward that customer. Filter with q (a case-sensitive customer id prefix), type (identified or anonymous) and blocked (true or false). limit is 1 to 100, default 20; reuse next_page with the same filters and limit. A customer access token gets 404. Example: GET /agent/v1/agents/agent_example/customers?type=identified&blocked=false&limit=50.
|
|
90
90
|
*/
|
|
91
|
-
export const
|
|
91
|
+
export const listCustomers = (options) => (options.client ?? client).get({
|
|
92
92
|
security: [{
|
|
93
93
|
key: 'BearerAuth',
|
|
94
94
|
scheme: 'bearer',
|
|
@@ -98,17 +98,17 @@ export const listEndUsers = (options) => (options.client ?? client).get({
|
|
|
98
98
|
name: 'X-API-Key',
|
|
99
99
|
type: 'apiKey'
|
|
100
100
|
}],
|
|
101
|
-
url: '/agent/v1/agents/{agent_id}/
|
|
101
|
+
url: '/agent/v1/agents/{agent_id}/customers',
|
|
102
102
|
...options
|
|
103
103
|
});
|
|
104
104
|
/**
|
|
105
|
-
* Delete
|
|
105
|
+
* Delete customer data
|
|
106
106
|
*
|
|
107
|
-
* Delete a
|
|
107
|
+
* Delete a customer's data from one service agent after explicit confirmation.
|
|
108
108
|
*
|
|
109
|
-
* Develop only. Set confirm to the exact
|
|
109
|
+
* Develop only. Set confirm to the exact customer id; a missing or different confirm returns 400 naming the value to send. Returns 202 with a pending task id; poll the deletion endpoint. Concurrent requests reuse the unfinished task; retry DELETE after failure to resume it. Tokens are revoked and the customer is blocked before a seven-day recovery snapshot is verified; sessions including child sessions, conversation data, grants and feedback are then removed. A block that existed before stays; a temporary block is removed on success. File attachments are retained. Example: DELETE /agent/v1/agents/agent_example/customers/cus_8f2a91?confirm=cus_8f2a91.
|
|
110
110
|
*/
|
|
111
|
-
export const
|
|
111
|
+
export const deleteCustomer = (options) => (options.client ?? client).delete({
|
|
112
112
|
security: [{
|
|
113
113
|
key: 'BearerAuth',
|
|
114
114
|
scheme: 'bearer',
|
|
@@ -118,17 +118,17 @@ export const deleteEndUser = (options) => (options.client ?? client).delete({
|
|
|
118
118
|
name: 'X-API-Key',
|
|
119
119
|
type: 'apiKey'
|
|
120
120
|
}],
|
|
121
|
-
url: '/agent/v1/agents/{agent_id}/
|
|
121
|
+
url: '/agent/v1/agents/{agent_id}/customers/{customer_id}',
|
|
122
122
|
...options
|
|
123
123
|
});
|
|
124
124
|
/**
|
|
125
|
-
* Get
|
|
125
|
+
* Get customer
|
|
126
126
|
*
|
|
127
|
-
*
|
|
127
|
+
* Retrieve one customer of a service agent with its twenty most recently updated sessions.
|
|
128
128
|
*
|
|
129
|
-
* Use
|
|
129
|
+
* Use the customer id from the list or your own customer_id. An unknown customer returns 404 CUSTOMER_NOT_FOUND, and so does a customer access token. Unlike Shopify, an identified customer's session_count, cost and recent_sessions include the sessions of anonymous customers merged into it; the merged anonymous customer still shows its own sessions and its merged_into.
|
|
130
130
|
*/
|
|
131
|
-
export const
|
|
131
|
+
export const getCustomer = (options) => (options.client ?? client).get({
|
|
132
132
|
security: [{
|
|
133
133
|
key: 'BearerAuth',
|
|
134
134
|
scheme: 'bearer',
|
|
@@ -138,17 +138,17 @@ export const getEndUser = (options) => (options.client ?? client).get({
|
|
|
138
138
|
name: 'X-API-Key',
|
|
139
139
|
type: 'apiKey'
|
|
140
140
|
}],
|
|
141
|
-
url: '/agent/v1/agents/{agent_id}/
|
|
141
|
+
url: '/agent/v1/agents/{agent_id}/customers/{customer_id}',
|
|
142
142
|
...options
|
|
143
143
|
});
|
|
144
144
|
/**
|
|
145
|
-
* Get
|
|
145
|
+
* Get customer deletion
|
|
146
146
|
*
|
|
147
|
-
* Poll the latest deletion task
|
|
147
|
+
* Poll the latest deletion task of a customer, including after its data has been removed.
|
|
148
148
|
*
|
|
149
|
-
* Use the same agent_id and
|
|
149
|
+
* Use the same agent_id and customer id as the confirmed DELETE. Status is pending, snapshotting, deleting, done or failed. Counts are empty until a verified snapshot exists. snapshot_key is an operator recovery reference retained for seven days, not a download URL. A customer access token and a missing task return 404.
|
|
150
150
|
*/
|
|
151
|
-
export const
|
|
151
|
+
export const getCustomerDeletion = (options) => (options.client ?? client).get({
|
|
152
152
|
security: [{
|
|
153
153
|
key: 'BearerAuth',
|
|
154
154
|
scheme: 'bearer',
|
|
@@ -158,17 +158,17 @@ export const getEndUserDeletion = (options) => (options.client ?? client).get({
|
|
|
158
158
|
name: 'X-API-Key',
|
|
159
159
|
type: 'apiKey'
|
|
160
160
|
}],
|
|
161
|
-
url: '/agent/v1/agents/{agent_id}/
|
|
161
|
+
url: '/agent/v1/agents/{agent_id}/customers/{customer_id}/deletion',
|
|
162
162
|
...options
|
|
163
163
|
});
|
|
164
164
|
/**
|
|
165
|
-
*
|
|
165
|
+
* Block customer
|
|
166
166
|
*
|
|
167
|
-
*
|
|
167
|
+
* Block a customer and end every sign-in it has on this agent.
|
|
168
168
|
*
|
|
169
|
-
*
|
|
169
|
+
* Blocks the customer, then ends every live sign-in the way logout does: each access token is revoked and its open event streams close. From then on grant_codes, access_tokens, renew and new sessions for this customer return CUSTOMER_BLOCKED until you unblock it. Idempotent: a repeat keeps the first block time and revokes whatever is still live. If credential revocation fails the request returns 502 and the customer stays blocked; retry to finish. An unknown customer returns 404 CUSTOMER_NOT_FOUND.
|
|
170
170
|
*/
|
|
171
|
-
export const
|
|
171
|
+
export const blockCustomer = (options) => (options.client ?? client).post({
|
|
172
172
|
security: [{
|
|
173
173
|
key: 'BearerAuth',
|
|
174
174
|
scheme: 'bearer',
|
|
@@ -178,17 +178,17 @@ export const revokeEndUserTokens = (options) => (options.client ?? client).post(
|
|
|
178
178
|
name: 'X-API-Key',
|
|
179
179
|
type: 'apiKey'
|
|
180
180
|
}],
|
|
181
|
-
url: '/agent/v1/agents/{agent_id}/
|
|
181
|
+
url: '/agent/v1/agents/{agent_id}/customers/{customer_id}/block',
|
|
182
182
|
...options
|
|
183
183
|
});
|
|
184
184
|
/**
|
|
185
|
-
*
|
|
185
|
+
* Unblock customer
|
|
186
186
|
*
|
|
187
|
-
*
|
|
187
|
+
* Allow a blocked customer to sign in and start sessions again.
|
|
188
188
|
*
|
|
189
|
-
*
|
|
189
|
+
* Idempotent. Access tokens revoked while the customer was blocked stay revoked; sign the customer in again with a new grant code. An unknown customer returns 404 CUSTOMER_NOT_FOUND.
|
|
190
190
|
*/
|
|
191
|
-
export const
|
|
191
|
+
export const unblockCustomer = (options) => (options.client ?? client).post({
|
|
192
192
|
security: [{
|
|
193
193
|
key: 'BearerAuth',
|
|
194
194
|
scheme: 'bearer',
|
|
@@ -198,17 +198,17 @@ export const blockEndUser = (options) => (options.client ?? client).post({
|
|
|
198
198
|
name: 'X-API-Key',
|
|
199
199
|
type: 'apiKey'
|
|
200
200
|
}],
|
|
201
|
-
url: '/agent/v1/agents/{agent_id}/
|
|
201
|
+
url: '/agent/v1/agents/{agent_id}/customers/{customer_id}/unblock',
|
|
202
202
|
...options
|
|
203
203
|
});
|
|
204
204
|
/**
|
|
205
|
-
*
|
|
205
|
+
* Revoke customer tokens
|
|
206
206
|
*
|
|
207
|
-
*
|
|
207
|
+
* Sign a customer out everywhere without blocking it.
|
|
208
208
|
*
|
|
209
|
-
*
|
|
209
|
+
* Ends every live sign-in of the customer, revoking each access token and closing its open event streams; the customer can sign in again right away. Returns the number of access tokens this request revoked; a repeat returns 0. Credential revocation failure returns 502; retry to finish. An unknown customer returns 404 CUSTOMER_NOT_FOUND.
|
|
210
210
|
*/
|
|
211
|
-
export const
|
|
211
|
+
export const revokeCustomerTokens = (options) => (options.client ?? client).post({
|
|
212
212
|
security: [{
|
|
213
213
|
key: 'BearerAuth',
|
|
214
214
|
scheme: 'bearer',
|
|
@@ -218,7 +218,27 @@ export const unblockEndUser = (options) => (options.client ?? client).post({
|
|
|
218
218
|
name: 'X-API-Key',
|
|
219
219
|
type: 'apiKey'
|
|
220
220
|
}],
|
|
221
|
-
url: '/agent/v1/agents/{agent_id}/
|
|
221
|
+
url: '/agent/v1/agents/{agent_id}/customers/{customer_id}/revoke_tokens',
|
|
222
|
+
...options
|
|
223
|
+
});
|
|
224
|
+
/**
|
|
225
|
+
* Get agent appearance
|
|
226
|
+
*
|
|
227
|
+
* Read the saved chat appearance of a service agent.
|
|
228
|
+
*
|
|
229
|
+
* Agent Kit calls this from the page with a customer access token of this agent; your API key and console members can read it too. A token of another agent returns 404. The body is the same as the embed appearance read; a missing appearance returns the agent's own name and avatar only. Responses are private and cacheable for 60 seconds.
|
|
230
|
+
*/
|
|
231
|
+
export const getAgentAppearance = (options) => (options.client ?? client).get({
|
|
232
|
+
security: [{
|
|
233
|
+
key: 'BearerAuth',
|
|
234
|
+
scheme: 'bearer',
|
|
235
|
+
type: 'http'
|
|
236
|
+
}, {
|
|
237
|
+
key: 'ApiKeyAuth',
|
|
238
|
+
name: 'X-API-Key',
|
|
239
|
+
type: 'apiKey'
|
|
240
|
+
}],
|
|
241
|
+
url: '/agent/v1/agents/{agent_id}/appearance',
|
|
222
242
|
...options
|
|
223
243
|
});
|
|
224
244
|
/**
|
|
@@ -300,100 +320,6 @@ export const deleteCurrentCustomerAccessToken = (options) => (options.client ??
|
|
|
300
320
|
url: '/agent/v1/agents/{agent_id}/customers/auth/access_tokens/current',
|
|
301
321
|
...options
|
|
302
322
|
});
|
|
303
|
-
/**
|
|
304
|
-
* Exchange Hosted Code
|
|
305
|
-
*
|
|
306
|
-
* Redeem a single-use hosted link credential for an end-user token.
|
|
307
|
-
*
|
|
308
|
-
* Read code from the c fragment parameter of hosted_url returned by embed token creation with hosted true, then remove the fragment before exchanging. No Authorization header is required; the code authenticates this request. The code expires after 60 seconds and is consumed atomically on exchange, so concurrent attempts have only one winner. Expired, used and unknown codes return the same 404 body. Keep the token in memory and return to the host website for a fresh link when it expires; exchange cannot refresh it. Requests are IP limited per minute using the anonymous entrypoint budget (default 20). Example body is {"code":"<code from hosted_url>"}.
|
|
309
|
-
*/
|
|
310
|
-
export const exchangeEmbedCode = (options) => (options.client ?? client).post({
|
|
311
|
-
url: '/agent/v1/embed/exchange',
|
|
312
|
-
...options,
|
|
313
|
-
headers: {
|
|
314
|
-
'Content-Type': 'application/json',
|
|
315
|
-
...options.headers
|
|
316
|
-
}
|
|
317
|
-
});
|
|
318
|
-
/**
|
|
319
|
-
* Issue anonymous visitor token
|
|
320
|
-
*
|
|
321
|
-
* Obtain a short-lived embedding token for a visitor without an account using the agent owner's publishable key.
|
|
322
|
-
*
|
|
323
|
-
* No Authorization header is required. Send the browser Origin allowed by the agent policy. Save a returned visitor_secret and reuse it for refreshes; only new visitors receive one. Unknown secrets create new visitors, and extra fields including visitor_id return 400. Issuance uses the key creator's organization membership, the key session budget and the smaller of the policy TTL maximum and 3600 seconds. IP requests are limited per minute (default 20); UTC daily session and spending caps are checked across the key's primary sessions created that day. Token issuance itself does not create a session or charge usage; subsequent sessions bill the host organization. Example body: {"publishable_key":"pk_praxis_example"}.
|
|
324
|
-
*/
|
|
325
|
-
export const createAnonymousEmbedToken = (options) => (options.client ?? client).post({
|
|
326
|
-
url: '/agent/v1/embed_tokens/anonymous',
|
|
327
|
-
...options,
|
|
328
|
-
headers: {
|
|
329
|
-
'Content-Type': 'application/json',
|
|
330
|
-
...options.headers
|
|
331
|
-
}
|
|
332
|
-
});
|
|
333
|
-
/**
|
|
334
|
-
* List Embed Tokens
|
|
335
|
-
*
|
|
336
|
-
* List embed token issuance records in your organization.
|
|
337
|
-
*
|
|
338
|
-
* Includes expired and revoked grants; returns neither token nor token_id. Sorts by created_at, then grant id, both descending. agent_id accepts agent_ or agt_; external_user_id matches exactly. limit is 1–100 (default 20). Reuse next_page as page with the same filters and organization; a mismatch returns 400. End-user credentials return 404.
|
|
339
|
-
*/
|
|
340
|
-
export const listEmbedTokens = (options) => (options?.client ?? client).get({
|
|
341
|
-
security: [{
|
|
342
|
-
key: 'BearerAuth',
|
|
343
|
-
scheme: 'bearer',
|
|
344
|
-
type: 'http'
|
|
345
|
-
}, {
|
|
346
|
-
key: 'ApiKeyAuth',
|
|
347
|
-
name: 'X-API-Key',
|
|
348
|
-
type: 'apiKey'
|
|
349
|
-
}],
|
|
350
|
-
url: '/agent/v1/embed_tokens',
|
|
351
|
-
...options
|
|
352
|
-
});
|
|
353
|
-
/**
|
|
354
|
-
* Create Embed Token
|
|
355
|
-
*
|
|
356
|
-
* Issue a short-lived credential on your backend for an end user of a service agent.
|
|
357
|
-
*
|
|
358
|
-
* Requires an active service agent in your organization with an embed policy. Pins the requested version or the latest version and snapshots the policy environment, vaults and resources; metadata comes from the request. Blocked users cannot receive tokens. Keep your API key on the backend and pass only the returned token to the frontend. Every call creates a new grant; issuance is not idempotent. Set hosted to true to also receive hosted_url; redirect the user there within 60 seconds. The agent must have an identity_number. The URL fragment contains a single-use exchange credential, not the token. Omit hosted or set false for ordinary token issuance.
|
|
359
|
-
*/
|
|
360
|
-
export const createEmbedToken = (options) => (options.client ?? client).post({
|
|
361
|
-
security: [{
|
|
362
|
-
key: 'BearerAuth',
|
|
363
|
-
scheme: 'bearer',
|
|
364
|
-
type: 'http'
|
|
365
|
-
}, {
|
|
366
|
-
key: 'ApiKeyAuth',
|
|
367
|
-
name: 'X-API-Key',
|
|
368
|
-
type: 'apiKey'
|
|
369
|
-
}],
|
|
370
|
-
url: '/agent/v1/embed_tokens',
|
|
371
|
-
...options,
|
|
372
|
-
headers: {
|
|
373
|
-
'Content-Type': 'application/json',
|
|
374
|
-
...options.headers
|
|
375
|
-
}
|
|
376
|
-
});
|
|
377
|
-
/**
|
|
378
|
-
* Revoke Embed Token
|
|
379
|
-
*
|
|
380
|
-
* Revoke an embed token and close its open event streams.
|
|
381
|
-
*
|
|
382
|
-
* Use an id from issuance or listing. Revokes the credential before setting revoked_at; upstream failure leaves it unset. Streams receive session.error (EMBED_TOKEN_REVOKED), then close immediately; other credentials are unaffected. Idempotent; repeats return the original revoked record without another revocation or audit. Missing or foreign grants and end-user credentials return 404.
|
|
383
|
-
*/
|
|
384
|
-
export const revokeEmbedToken = (options) => (options.client ?? client).post({
|
|
385
|
-
security: [{
|
|
386
|
-
key: 'BearerAuth',
|
|
387
|
-
scheme: 'bearer',
|
|
388
|
-
type: 'http'
|
|
389
|
-
}, {
|
|
390
|
-
key: 'ApiKeyAuth',
|
|
391
|
-
name: 'X-API-Key',
|
|
392
|
-
type: 'apiKey'
|
|
393
|
-
}],
|
|
394
|
-
url: '/agent/v1/embed_tokens/{id}/revoke',
|
|
395
|
-
...options
|
|
396
|
-
});
|
|
397
323
|
/**
|
|
398
324
|
* List Computers
|
|
399
325
|
*
|
|
@@ -839,20 +765,6 @@ export const listSessionCompactions = (options) => (options.client ?? client).ge
|
|
|
839
765
|
url: '/agent/v1/sessions/{session_id}/compactions',
|
|
840
766
|
...options
|
|
841
767
|
});
|
|
842
|
-
/**
|
|
843
|
-
* Read chat appearance
|
|
844
|
-
*
|
|
845
|
-
* Load saved appearance for an iframe or Hosted chat page. Supply an end-user embed token as Bearer authorization, or a console-issued publishable key in Praxis-Publishable-Key before anonymous token issuance. The credential selects the agent; identity_number and agent_id query parameters are rejected with 400. Missing appearance returns an empty object. Kit option names retain camelCase. Responses are private and cacheable for 60 seconds. Component hosts configure Kit in their own code instead.
|
|
846
|
-
*/
|
|
847
|
-
export const getEmbedAppearance = (options) => (options?.client ?? client).get({
|
|
848
|
-
security: [{
|
|
849
|
-
key: 'BearerAuth',
|
|
850
|
-
scheme: 'bearer',
|
|
851
|
-
type: 'http'
|
|
852
|
-
}, { name: 'Praxis-Publishable-Key', type: 'apiKey' }],
|
|
853
|
-
url: '/agent/v1/embed/appearance',
|
|
854
|
-
...options
|
|
855
|
-
});
|
|
856
768
|
/**
|
|
857
769
|
* Generate speech
|
|
858
770
|
*
|
|
@@ -2580,7 +2492,7 @@ export const agentsCreate = (options) => (options.client ?? client).post({
|
|
|
2580
2492
|
/**
|
|
2581
2493
|
* Get agent
|
|
2582
2494
|
*
|
|
2583
|
-
* Read
|
|
2495
|
+
* Read the agent configuration currently effective for new sessions. By default, version equals active_version and latest_version identifies the newest saved version, including an unapplied save. Use latest_version for optimistic concurrency when updating. Pass version as a positive integer to read that saved version; version=active is equivalent to omission. The response lists every native tool with its resolved configuration in one agent_toolset_20260401 entry, so tools can be sent back unchanged to agents.update. Use agents.versions.list to enumerate saved versions.
|
|
2584
2496
|
*/
|
|
2585
2497
|
export const agentsRetrieve = (options) => (options.client ?? client).get({
|
|
2586
2498
|
security: [{
|
|
@@ -2598,7 +2510,7 @@ export const agentsRetrieve = (options) => (options.client ?? client).get({
|
|
|
2598
2510
|
/**
|
|
2599
2511
|
* Update agent
|
|
2600
2512
|
*
|
|
2601
|
-
*
|
|
2513
|
+
* Save configuration changes as a new immutable version. Send latest_version from a default retrieve or update response as the request version for optimistic concurrency; a stale value returns 409. apply defaults to true and makes the new version effective; apply false saves without changing active_version. The response contains the effective configuration, with version equal to active_version and latest_version naming the newest saved version. An unchanged configuration, including a note-only update, is a no-op returning 200 and the current effective version without creating or activating a version. version_note records up to 280 characters only when a configuration change creates a new version; null is equivalent to omission. Use agents.versions.apply to activate an existing saved version. Existing sessions and tokens keep their version. Omitted fields keep their value. multiagent takes null or a coordinator roster; subagent_model keeps its value when omitted and is cleared by null. Archived agents cannot be updated. tools: [] removes every tool, while tools: null returns 400 (tools cannot be null; send [] to remove every tool). On update, omit skills to keep them, send an array to replace them, or send [] or null to clear them. skills attaches uploaded custom skills as [{type: "custom", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send "latest", to use the skill's newest version when a session starts. type anthropic returns 400.
|
|
2602
2514
|
*/
|
|
2603
2515
|
export const agentsUpdate = (options) => (options.client ?? client).post({
|
|
2604
2516
|
security: [{
|
|
@@ -2638,7 +2550,7 @@ export const agentsArchive = (options) => (options.client ?? client).post({
|
|
|
2638
2550
|
/**
|
|
2639
2551
|
* List agent versions
|
|
2640
2552
|
*
|
|
2641
|
-
* List the saved versions of one agent, in pages of at most 100 (default 20). Each item is the full agent definition at that version, so you can compare
|
|
2553
|
+
* List the saved versions of one agent in ascending version number, oldest first, in pages of at most 100 (default 20). Each item is the full agent definition at that saved version, so you can compare configurations. active is true only for the item new sessions use. active_version on every item is the same agent-level currently effective version; it is not that item's version. Use agents.retrieve with version to read a single saved version; agent_id comes from agents.list or agents.create. Pass next_page as page to continue.
|
|
2642
2554
|
*/
|
|
2643
2555
|
export const agentsVersionsList = (options) => (options.client ?? client).get({
|
|
2644
2556
|
security: [{
|