@reminix/cli 0.1.11 → 0.1.13
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/README.md +13 -1
- package/dist/commands/agent.js +92 -1
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/project.d.ts.map +1 -1
- package/dist/commands/project.js +14 -33
- package/dist/commands/project.js.map +1 -1
- package/dist/commands/secret.d.ts.map +1 -1
- package/dist/commands/secret.js +6 -8
- package/dist/commands/secret.js.map +1 -1
- package/dist/commands/tool.d.ts +6 -0
- package/dist/commands/tool.d.ts.map +1 -0
- package/dist/commands/tool.js +151 -0
- package/dist/commands/tool.js.map +1 -0
- package/dist/commands/version.d.ts +1 -1
- package/dist/commands/version.js +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/api-types.d.ts +889 -87
- package/dist/lib/api-types.d.ts.map +1 -1
- package/dist/lib/pagination.d.ts +46 -0
- package/dist/lib/pagination.d.ts.map +1 -0
- package/dist/lib/pagination.js +58 -0
- package/dist/lib/pagination.js.map +1 -0
- package/package.json +1 -1
package/dist/lib/api-types.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface paths {
|
|
|
15
15
|
* @description List all projects accessible to the current authentication.
|
|
16
16
|
*
|
|
17
17
|
* The projects returned depend on the authentication method:
|
|
18
|
-
* - **
|
|
18
|
+
* - **API Key**: Returns only the project associated with the API key
|
|
19
19
|
* - **Organization-scoped PAT**: Returns all projects in that organization
|
|
20
20
|
* - **Full-access PAT**: Returns all projects across all organizations the user is a member of
|
|
21
21
|
*
|
|
@@ -58,6 +58,58 @@ export interface paths {
|
|
|
58
58
|
patch?: never;
|
|
59
59
|
trace?: never;
|
|
60
60
|
};
|
|
61
|
+
"/agents": {
|
|
62
|
+
parameters: {
|
|
63
|
+
query?: never;
|
|
64
|
+
header?: never;
|
|
65
|
+
path?: never;
|
|
66
|
+
cookie?: never;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* List agents
|
|
70
|
+
* @description List all agents in the project with optional filtering by type and status.
|
|
71
|
+
*/
|
|
72
|
+
get: operations["listAgents"];
|
|
73
|
+
put?: never;
|
|
74
|
+
/**
|
|
75
|
+
* Create a managed agent
|
|
76
|
+
* @description Create a new managed agent with the specified configuration.
|
|
77
|
+
*/
|
|
78
|
+
post: operations["createAgent"];
|
|
79
|
+
delete?: never;
|
|
80
|
+
options?: never;
|
|
81
|
+
head?: never;
|
|
82
|
+
patch?: never;
|
|
83
|
+
trace?: never;
|
|
84
|
+
};
|
|
85
|
+
"/agents/{name}": {
|
|
86
|
+
parameters: {
|
|
87
|
+
query?: never;
|
|
88
|
+
header?: never;
|
|
89
|
+
path?: never;
|
|
90
|
+
cookie?: never;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Get an agent
|
|
94
|
+
* @description Get details of a specific agent by name.
|
|
95
|
+
*/
|
|
96
|
+
get: operations["getAgent"];
|
|
97
|
+
put?: never;
|
|
98
|
+
post?: never;
|
|
99
|
+
/**
|
|
100
|
+
* Delete a managed agent
|
|
101
|
+
* @description Delete a managed agent. Custom agents cannot be deleted via API.
|
|
102
|
+
*/
|
|
103
|
+
delete: operations["deleteAgent"];
|
|
104
|
+
options?: never;
|
|
105
|
+
head?: never;
|
|
106
|
+
/**
|
|
107
|
+
* Update a managed agent
|
|
108
|
+
* @description Update an existing managed agent. Custom agents cannot be updated via API.
|
|
109
|
+
*/
|
|
110
|
+
patch: operations["updateAgent"];
|
|
111
|
+
trace?: never;
|
|
112
|
+
};
|
|
61
113
|
"/agents/{name}/invoke": {
|
|
62
114
|
parameters: {
|
|
63
115
|
query?: never;
|
|
@@ -139,6 +191,74 @@ export interface paths {
|
|
|
139
191
|
patch?: never;
|
|
140
192
|
trace?: never;
|
|
141
193
|
};
|
|
194
|
+
"/tools": {
|
|
195
|
+
parameters: {
|
|
196
|
+
query?: never;
|
|
197
|
+
header?: never;
|
|
198
|
+
path?: never;
|
|
199
|
+
cookie?: never;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* List tools
|
|
203
|
+
* @description List all tools in the project with optional filtering by type and status. Tools are automatically discovered from deployments.
|
|
204
|
+
*/
|
|
205
|
+
get: operations["listTools"];
|
|
206
|
+
put?: never;
|
|
207
|
+
post?: never;
|
|
208
|
+
delete?: never;
|
|
209
|
+
options?: never;
|
|
210
|
+
head?: never;
|
|
211
|
+
patch?: never;
|
|
212
|
+
trace?: never;
|
|
213
|
+
};
|
|
214
|
+
"/tools/{name}": {
|
|
215
|
+
parameters: {
|
|
216
|
+
query?: never;
|
|
217
|
+
header?: never;
|
|
218
|
+
path?: never;
|
|
219
|
+
cookie?: never;
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* Get a tool
|
|
223
|
+
* @description Get details of a specific tool by name.
|
|
224
|
+
*/
|
|
225
|
+
get: operations["getTool"];
|
|
226
|
+
put?: never;
|
|
227
|
+
post?: never;
|
|
228
|
+
delete?: never;
|
|
229
|
+
options?: never;
|
|
230
|
+
head?: never;
|
|
231
|
+
patch?: never;
|
|
232
|
+
trace?: never;
|
|
233
|
+
};
|
|
234
|
+
"/tools/{name}/execute": {
|
|
235
|
+
parameters: {
|
|
236
|
+
query?: never;
|
|
237
|
+
header?: never;
|
|
238
|
+
path?: never;
|
|
239
|
+
cookie?: never;
|
|
240
|
+
};
|
|
241
|
+
get?: never;
|
|
242
|
+
put?: never;
|
|
243
|
+
/**
|
|
244
|
+
* Execute a tool
|
|
245
|
+
* @description Execute a tool with the provided input parameters.
|
|
246
|
+
*
|
|
247
|
+
* **Timeout:** Tool executions have a 60-second timeout. If the tool takes longer to respond,
|
|
248
|
+
* you will receive a 504 Gateway Timeout error.
|
|
249
|
+
*
|
|
250
|
+
* **Use cases:**
|
|
251
|
+
* - Calling custom tools defined in your deployment
|
|
252
|
+
* - Executing utility functions
|
|
253
|
+
* - Integrating with external services via tools
|
|
254
|
+
*/
|
|
255
|
+
post: operations["executeTool"];
|
|
256
|
+
delete?: never;
|
|
257
|
+
options?: never;
|
|
258
|
+
head?: never;
|
|
259
|
+
patch?: never;
|
|
260
|
+
trace?: never;
|
|
261
|
+
};
|
|
142
262
|
"/secrets": {
|
|
143
263
|
parameters: {
|
|
144
264
|
query?: never;
|
|
@@ -275,12 +395,71 @@ export interface paths {
|
|
|
275
395
|
patch?: never;
|
|
276
396
|
trace?: never;
|
|
277
397
|
};
|
|
398
|
+
"/client-tokens": {
|
|
399
|
+
parameters: {
|
|
400
|
+
query?: never;
|
|
401
|
+
header?: never;
|
|
402
|
+
path?: never;
|
|
403
|
+
cookie?: never;
|
|
404
|
+
};
|
|
405
|
+
get?: never;
|
|
406
|
+
put?: never;
|
|
407
|
+
/**
|
|
408
|
+
* Create a client token
|
|
409
|
+
* @description Create a short-lived client token for browser SDK use.
|
|
410
|
+
*
|
|
411
|
+
* **Use case:** Your backend calls this endpoint to generate a token, then passes it to your frontend. The frontend uses the token to make authenticated requests to `/client/*` endpoints.
|
|
412
|
+
*
|
|
413
|
+
* **Context types:**
|
|
414
|
+
* - `context`: Public data accessible to the client via `/client/context`
|
|
415
|
+
* - `serverContext`: Private data only accessible to agents/handlers (never exposed to client)
|
|
416
|
+
*
|
|
417
|
+
* **Security:**
|
|
418
|
+
* - Tokens are short-lived (default 1 hour, max 24 hours)
|
|
419
|
+
* - Both context types are trusted and cannot be tampered with
|
|
420
|
+
* - Store the token securely - it will only be shown once
|
|
421
|
+
*
|
|
422
|
+
* **Example flow:**
|
|
423
|
+
* 1. User logs in to your app
|
|
424
|
+
* 2. Your backend calls `POST /v1/client-tokens` with `{ context: { userId: "user_123" }, serverContext: { internalId: "int_456" } }`
|
|
425
|
+
* 3. Your backend returns the token to your frontend
|
|
426
|
+
* 4. Frontend uses the token to call `/client/*` endpoints
|
|
427
|
+
*/
|
|
428
|
+
post: operations["createClientToken"];
|
|
429
|
+
delete?: never;
|
|
430
|
+
options?: never;
|
|
431
|
+
head?: never;
|
|
432
|
+
patch?: never;
|
|
433
|
+
trace?: never;
|
|
434
|
+
};
|
|
435
|
+
"/client-tokens/{id}": {
|
|
436
|
+
parameters: {
|
|
437
|
+
query?: never;
|
|
438
|
+
header?: never;
|
|
439
|
+
path?: never;
|
|
440
|
+
cookie?: never;
|
|
441
|
+
};
|
|
442
|
+
get?: never;
|
|
443
|
+
put?: never;
|
|
444
|
+
post?: never;
|
|
445
|
+
/**
|
|
446
|
+
* Revoke a client token
|
|
447
|
+
* @description Revoke a client token immediately.
|
|
448
|
+
*
|
|
449
|
+
* Once revoked, the token can no longer be used for authentication. This is a soft delete - the token record is kept for audit purposes.
|
|
450
|
+
*/
|
|
451
|
+
delete: operations["revokeClientToken"];
|
|
452
|
+
options?: never;
|
|
453
|
+
head?: never;
|
|
454
|
+
patch?: never;
|
|
455
|
+
trace?: never;
|
|
456
|
+
};
|
|
278
457
|
}
|
|
279
458
|
export type webhooks = Record<string, never>;
|
|
280
459
|
export interface components {
|
|
281
460
|
schemas: {
|
|
282
461
|
/** @description Organization that owns this project */
|
|
283
|
-
|
|
462
|
+
Organization: {
|
|
284
463
|
/** @description Unique identifier for the organization */
|
|
285
464
|
id: string;
|
|
286
465
|
/** @description Human-readable name of the organization */
|
|
@@ -288,7 +467,7 @@ export interface components {
|
|
|
288
467
|
/** @description URL-friendly identifier for the organization */
|
|
289
468
|
slug: string;
|
|
290
469
|
};
|
|
291
|
-
|
|
470
|
+
Project: {
|
|
292
471
|
/** @description Unique identifier for the project */
|
|
293
472
|
id: string;
|
|
294
473
|
/** @description ID of the organization that owns this project */
|
|
@@ -307,19 +486,7 @@ export interface components {
|
|
|
307
486
|
* @description ISO 8601 timestamp when the project was last updated
|
|
308
487
|
*/
|
|
309
488
|
updatedAt: string;
|
|
310
|
-
organization: components["schemas"]["
|
|
311
|
-
};
|
|
312
|
-
/**
|
|
313
|
-
* @example {
|
|
314
|
-
* "nextCursor": "eyJpZCI6ImV2dF9hYmMxMjMifQ",
|
|
315
|
-
* "hasMore": true
|
|
316
|
-
* }
|
|
317
|
-
*/
|
|
318
|
-
PaginationCursor: {
|
|
319
|
-
/** @description Cursor for the next page of results. Null if there are no more results. */
|
|
320
|
-
nextCursor: string | null;
|
|
321
|
-
/** @description Whether there are more results available */
|
|
322
|
-
hasMore: boolean;
|
|
489
|
+
organization: components["schemas"]["Organization"];
|
|
323
490
|
};
|
|
324
491
|
/**
|
|
325
492
|
* @example {
|
|
@@ -330,6 +497,68 @@ export interface components {
|
|
|
330
497
|
/** @description Error message describing what went wrong */
|
|
331
498
|
error: string;
|
|
332
499
|
};
|
|
500
|
+
/** @description Agent configuration (for managed agents) */
|
|
501
|
+
AgentConfig: {
|
|
502
|
+
/** @description System prompt for the agent */
|
|
503
|
+
systemPrompt: string;
|
|
504
|
+
/** @description List of tools available to the agent */
|
|
505
|
+
tools: string[];
|
|
506
|
+
/** @description Maximum tool call iterations */
|
|
507
|
+
maxIterations?: number;
|
|
508
|
+
/** @description Whether to require approval for tool calls */
|
|
509
|
+
requireApproval?: boolean;
|
|
510
|
+
} | null;
|
|
511
|
+
Agent: {
|
|
512
|
+
/** @description Unique agent ID */
|
|
513
|
+
id: string;
|
|
514
|
+
/** @description Project ID */
|
|
515
|
+
projectId: string;
|
|
516
|
+
/** @description Agent name */
|
|
517
|
+
name: string;
|
|
518
|
+
/**
|
|
519
|
+
* @description Agent type
|
|
520
|
+
* @enum {string}
|
|
521
|
+
*/
|
|
522
|
+
type: "managed" | "custom";
|
|
523
|
+
/**
|
|
524
|
+
* @description Agent status
|
|
525
|
+
* @enum {string}
|
|
526
|
+
*/
|
|
527
|
+
status: "active" | "inactive";
|
|
528
|
+
config: components["schemas"]["AgentConfig"];
|
|
529
|
+
/** @description Agent description */
|
|
530
|
+
description: string | null;
|
|
531
|
+
/** @description When the agent was discovered (for custom agents) */
|
|
532
|
+
discoveredAt: string | null;
|
|
533
|
+
/** @description User who created the agent */
|
|
534
|
+
createdBy: string | null;
|
|
535
|
+
/** @description Creation timestamp */
|
|
536
|
+
createdAt: string;
|
|
537
|
+
/** @description Last update timestamp */
|
|
538
|
+
updatedAt: string;
|
|
539
|
+
};
|
|
540
|
+
CreateAgentRequest: {
|
|
541
|
+
/** @description Agent name */
|
|
542
|
+
name: string;
|
|
543
|
+
/** @description Agent description */
|
|
544
|
+
description?: string;
|
|
545
|
+
config: components["schemas"]["AgentConfig"] & unknown;
|
|
546
|
+
};
|
|
547
|
+
UpdateAgentRequest: {
|
|
548
|
+
/** @description Agent description */
|
|
549
|
+
description?: string;
|
|
550
|
+
/** @description Partial agent configuration to update */
|
|
551
|
+
config?: {
|
|
552
|
+
/** @description System prompt for the agent */
|
|
553
|
+
systemPrompt?: string;
|
|
554
|
+
/** @description List of tools available to the agent */
|
|
555
|
+
tools?: string[];
|
|
556
|
+
/** @description Maximum tool call iterations */
|
|
557
|
+
maxIterations?: number;
|
|
558
|
+
/** @description Whether to require approval for tool calls */
|
|
559
|
+
requireApproval?: boolean;
|
|
560
|
+
};
|
|
561
|
+
};
|
|
333
562
|
InvokeResponse: {
|
|
334
563
|
/** @description Output from the agent. Structure depends on agent implementation. */
|
|
335
564
|
output?: unknown;
|
|
@@ -376,12 +605,14 @@ export interface components {
|
|
|
376
605
|
text?: string;
|
|
377
606
|
image_url?: components["schemas"]["ImageUrl"];
|
|
378
607
|
};
|
|
608
|
+
MultimodalContent: components["schemas"]["ContentItem"][];
|
|
609
|
+
ToolResultContent: {
|
|
610
|
+
[key: string]: unknown;
|
|
611
|
+
};
|
|
379
612
|
ChatMessage: {
|
|
380
613
|
role: components["schemas"]["ChatMessageRole"];
|
|
381
614
|
/** @description Message content. Can be string, array (multimodal), or object (tool). */
|
|
382
|
-
content: string | components["schemas"]["
|
|
383
|
-
[key: string]: unknown;
|
|
384
|
-
};
|
|
615
|
+
content: string | components["schemas"]["MultimodalContent"] | components["schemas"]["ToolResultContent"];
|
|
385
616
|
/** @description Tool name (required when role is "tool") */
|
|
386
617
|
name?: string;
|
|
387
618
|
/** @description Tool call ID (for tool role) */
|
|
@@ -403,6 +634,56 @@ export interface components {
|
|
|
403
634
|
stream: boolean;
|
|
404
635
|
context?: components["schemas"]["Context"];
|
|
405
636
|
};
|
|
637
|
+
/** @description JSON Schema for tool input parameters */
|
|
638
|
+
JsonSchema: ({
|
|
639
|
+
type: string;
|
|
640
|
+
properties?: {
|
|
641
|
+
[key: string]: unknown;
|
|
642
|
+
};
|
|
643
|
+
required?: string[];
|
|
644
|
+
} & {
|
|
645
|
+
[key: string]: unknown;
|
|
646
|
+
}) | null;
|
|
647
|
+
Tool: {
|
|
648
|
+
/** @description Unique tool ID */
|
|
649
|
+
id: string;
|
|
650
|
+
/** @description Project ID */
|
|
651
|
+
projectId: string;
|
|
652
|
+
/** @description Tool name */
|
|
653
|
+
name: string;
|
|
654
|
+
/**
|
|
655
|
+
* @description Tool type
|
|
656
|
+
* @enum {string}
|
|
657
|
+
*/
|
|
658
|
+
type: "managed" | "custom";
|
|
659
|
+
/**
|
|
660
|
+
* @description Tool status
|
|
661
|
+
* @enum {string}
|
|
662
|
+
*/
|
|
663
|
+
status: "active" | "inactive";
|
|
664
|
+
/** @description Tool description */
|
|
665
|
+
description: string | null;
|
|
666
|
+
parameters: components["schemas"]["JsonSchema"];
|
|
667
|
+
output: components["schemas"]["JsonSchema"] & unknown;
|
|
668
|
+
/** @description When the tool was discovered */
|
|
669
|
+
discoveredAt: string | null;
|
|
670
|
+
/** @description User who created the tool (for managed tools) */
|
|
671
|
+
createdBy: string | null;
|
|
672
|
+
/** @description Creation timestamp */
|
|
673
|
+
createdAt: string;
|
|
674
|
+
/** @description Last update timestamp */
|
|
675
|
+
updatedAt: string;
|
|
676
|
+
};
|
|
677
|
+
ExecuteToolResponse: {
|
|
678
|
+
/** @description Output from the tool execution. */
|
|
679
|
+
output?: unknown;
|
|
680
|
+
};
|
|
681
|
+
ExecuteToolRequest: {
|
|
682
|
+
/** @description Input parameters for the tool. Structure depends on tool definition. */
|
|
683
|
+
input: {
|
|
684
|
+
[key: string]: unknown;
|
|
685
|
+
};
|
|
686
|
+
};
|
|
406
687
|
Secret: {
|
|
407
688
|
/** @description Unique identifier for the secret */
|
|
408
689
|
id: string;
|
|
@@ -427,10 +708,7 @@ export interface components {
|
|
|
427
708
|
*/
|
|
428
709
|
updatedAt: string;
|
|
429
710
|
};
|
|
430
|
-
|
|
431
|
-
data: components["schemas"]["Secret"][];
|
|
432
|
-
};
|
|
433
|
-
CreateSecret: {
|
|
711
|
+
CreateSecretRequest: {
|
|
434
712
|
/** @description Secret key (must be uppercase with underscores, e.g., OPENAI_API_KEY) */
|
|
435
713
|
key: string;
|
|
436
714
|
/** @description Secret value */
|
|
@@ -441,7 +719,7 @@ export interface components {
|
|
|
441
719
|
*/
|
|
442
720
|
sensitive: boolean;
|
|
443
721
|
};
|
|
444
|
-
|
|
722
|
+
UpdateSecretRequest: {
|
|
445
723
|
/** @description New secret value */
|
|
446
724
|
value?: string;
|
|
447
725
|
/** @description Whether to hide the value in responses */
|
|
@@ -501,8 +779,28 @@ export interface components {
|
|
|
501
779
|
deployment: components["schemas"]["Deployment"];
|
|
502
780
|
logs: components["schemas"]["DeploymentLog"][];
|
|
503
781
|
};
|
|
504
|
-
|
|
505
|
-
|
|
782
|
+
CreateClientTokenResponse: {
|
|
783
|
+
/** @description The client token. Store this securely - it will not be shown again. */
|
|
784
|
+
token: string;
|
|
785
|
+
/** @description Token ID for management purposes */
|
|
786
|
+
id: string;
|
|
787
|
+
/**
|
|
788
|
+
* Format: date-time
|
|
789
|
+
* @description ISO 8601 timestamp when the token expires
|
|
790
|
+
*/
|
|
791
|
+
expiresAt: string;
|
|
792
|
+
};
|
|
793
|
+
CreateClientTokenRequest: {
|
|
794
|
+
/** @description Public context accessible to the client via /client/context (e.g., { userId: "...", sessionId: "..." }) */
|
|
795
|
+
context: {
|
|
796
|
+
[key: string]: unknown;
|
|
797
|
+
};
|
|
798
|
+
/** @description Private context only accessible to agents/handlers, never exposed to client (e.g., { internalId: "..." }) */
|
|
799
|
+
serverContext?: {
|
|
800
|
+
[key: string]: unknown;
|
|
801
|
+
};
|
|
802
|
+
/** @description Time-to-live in seconds. Default: 3600 (1 hour). Max: 86400 (24 hours). */
|
|
803
|
+
ttlSeconds?: number;
|
|
506
804
|
};
|
|
507
805
|
};
|
|
508
806
|
responses: never;
|
|
@@ -533,8 +831,12 @@ export interface operations {
|
|
|
533
831
|
[name: string]: unknown;
|
|
534
832
|
};
|
|
535
833
|
content: {
|
|
536
|
-
"application/json":
|
|
537
|
-
data: components["schemas"]["
|
|
834
|
+
"application/json": {
|
|
835
|
+
data: components["schemas"]["Project"][];
|
|
836
|
+
/** @description Cursor for the next page of results. Null if there are no more results. */
|
|
837
|
+
nextCursor: string | null;
|
|
838
|
+
/** @description Whether there are more results available */
|
|
839
|
+
hasMore: boolean;
|
|
538
840
|
};
|
|
539
841
|
};
|
|
540
842
|
};
|
|
@@ -564,7 +866,7 @@ export interface operations {
|
|
|
564
866
|
[name: string]: unknown;
|
|
565
867
|
};
|
|
566
868
|
content: {
|
|
567
|
-
"application/json": components["schemas"]["
|
|
869
|
+
"application/json": components["schemas"]["Project"];
|
|
568
870
|
};
|
|
569
871
|
};
|
|
570
872
|
/** @description Unauthorized - Invalid or missing API key */
|
|
@@ -587,42 +889,38 @@ export interface operations {
|
|
|
587
889
|
};
|
|
588
890
|
};
|
|
589
891
|
};
|
|
590
|
-
|
|
892
|
+
listAgents: {
|
|
591
893
|
parameters: {
|
|
592
|
-
query?:
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
/** @description
|
|
596
|
-
|
|
894
|
+
query?: {
|
|
895
|
+
/** @description Number of agents to return */
|
|
896
|
+
limit?: number;
|
|
897
|
+
/** @description Cursor for pagination */
|
|
898
|
+
cursor?: string;
|
|
899
|
+
/** @description Filter by agent type */
|
|
900
|
+
type?: "managed" | "custom";
|
|
901
|
+
/** @description Filter by agent status */
|
|
902
|
+
status?: "active" | "inactive";
|
|
597
903
|
};
|
|
904
|
+
header?: never;
|
|
905
|
+
path?: never;
|
|
598
906
|
cookie?: never;
|
|
599
907
|
};
|
|
600
|
-
requestBody?:
|
|
601
|
-
content: {
|
|
602
|
-
"application/json": components["schemas"]["InvokeRequest"];
|
|
603
|
-
};
|
|
604
|
-
};
|
|
908
|
+
requestBody?: never;
|
|
605
909
|
responses: {
|
|
606
|
-
/** @description
|
|
910
|
+
/** @description List of agents */
|
|
607
911
|
200: {
|
|
608
912
|
headers: {
|
|
609
913
|
[name: string]: unknown;
|
|
610
914
|
};
|
|
611
915
|
content: {
|
|
612
|
-
"application/json":
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
400: {
|
|
618
|
-
headers: {
|
|
619
|
-
[name: string]: unknown;
|
|
620
|
-
};
|
|
621
|
-
content: {
|
|
622
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
916
|
+
"application/json": {
|
|
917
|
+
data: components["schemas"]["Agent"][];
|
|
918
|
+
nextCursor: string | null;
|
|
919
|
+
hasMore: boolean;
|
|
920
|
+
};
|
|
623
921
|
};
|
|
624
922
|
};
|
|
625
|
-
/** @description Unauthorized
|
|
923
|
+
/** @description Unauthorized */
|
|
626
924
|
401: {
|
|
627
925
|
headers: {
|
|
628
926
|
[name: string]: unknown;
|
|
@@ -631,17 +929,32 @@ export interface operations {
|
|
|
631
929
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
632
930
|
};
|
|
633
931
|
};
|
|
634
|
-
|
|
635
|
-
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
createAgent: {
|
|
935
|
+
parameters: {
|
|
936
|
+
query?: never;
|
|
937
|
+
header?: never;
|
|
938
|
+
path?: never;
|
|
939
|
+
cookie?: never;
|
|
940
|
+
};
|
|
941
|
+
requestBody?: {
|
|
942
|
+
content: {
|
|
943
|
+
"application/json": components["schemas"]["CreateAgentRequest"];
|
|
944
|
+
};
|
|
945
|
+
};
|
|
946
|
+
responses: {
|
|
947
|
+
/** @description Agent created */
|
|
948
|
+
201: {
|
|
636
949
|
headers: {
|
|
637
950
|
[name: string]: unknown;
|
|
638
951
|
};
|
|
639
952
|
content: {
|
|
640
|
-
"application/json": components["schemas"]["
|
|
953
|
+
"application/json": components["schemas"]["Agent"];
|
|
641
954
|
};
|
|
642
955
|
};
|
|
643
|
-
/** @description
|
|
644
|
-
|
|
956
|
+
/** @description Bad request */
|
|
957
|
+
400: {
|
|
645
958
|
headers: {
|
|
646
959
|
[name: string]: unknown;
|
|
647
960
|
};
|
|
@@ -649,8 +962,8 @@ export interface operations {
|
|
|
649
962
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
650
963
|
};
|
|
651
964
|
};
|
|
652
|
-
/** @description
|
|
653
|
-
|
|
965
|
+
/** @description Unauthorized */
|
|
966
|
+
401: {
|
|
654
967
|
headers: {
|
|
655
968
|
[name: string]: unknown;
|
|
656
969
|
};
|
|
@@ -658,8 +971,8 @@ export interface operations {
|
|
|
658
971
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
659
972
|
};
|
|
660
973
|
};
|
|
661
|
-
/** @description
|
|
662
|
-
|
|
974
|
+
/** @description Agent name already exists */
|
|
975
|
+
409: {
|
|
663
976
|
headers: {
|
|
664
977
|
[name: string]: unknown;
|
|
665
978
|
};
|
|
@@ -669,34 +982,29 @@ export interface operations {
|
|
|
669
982
|
};
|
|
670
983
|
};
|
|
671
984
|
};
|
|
672
|
-
|
|
985
|
+
getAgent: {
|
|
673
986
|
parameters: {
|
|
674
987
|
query?: never;
|
|
675
988
|
header?: never;
|
|
676
989
|
path: {
|
|
677
|
-
/** @description
|
|
990
|
+
/** @description Agent name */
|
|
678
991
|
name: string;
|
|
679
992
|
};
|
|
680
993
|
cookie?: never;
|
|
681
994
|
};
|
|
682
|
-
requestBody?:
|
|
683
|
-
content: {
|
|
684
|
-
"application/json": components["schemas"]["ChatRequest"];
|
|
685
|
-
};
|
|
686
|
-
};
|
|
995
|
+
requestBody?: never;
|
|
687
996
|
responses: {
|
|
688
|
-
/** @description
|
|
997
|
+
/** @description Agent details */
|
|
689
998
|
200: {
|
|
690
999
|
headers: {
|
|
691
1000
|
[name: string]: unknown;
|
|
692
1001
|
};
|
|
693
1002
|
content: {
|
|
694
|
-
"application/json": components["schemas"]["
|
|
695
|
-
"text/event-stream": components["schemas"]["StreamChunk"];
|
|
1003
|
+
"application/json": components["schemas"]["Agent"];
|
|
696
1004
|
};
|
|
697
1005
|
};
|
|
698
|
-
/** @description
|
|
699
|
-
|
|
1006
|
+
/** @description Unauthorized */
|
|
1007
|
+
401: {
|
|
700
1008
|
headers: {
|
|
701
1009
|
[name: string]: unknown;
|
|
702
1010
|
};
|
|
@@ -704,8 +1012,8 @@ export interface operations {
|
|
|
704
1012
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
705
1013
|
};
|
|
706
1014
|
};
|
|
707
|
-
/** @description
|
|
708
|
-
|
|
1015
|
+
/** @description Agent not found */
|
|
1016
|
+
404: {
|
|
709
1017
|
headers: {
|
|
710
1018
|
[name: string]: unknown;
|
|
711
1019
|
};
|
|
@@ -713,10 +1021,158 @@ export interface operations {
|
|
|
713
1021
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
714
1022
|
};
|
|
715
1023
|
};
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
deleteAgent: {
|
|
1027
|
+
parameters: {
|
|
1028
|
+
query?: never;
|
|
1029
|
+
header?: never;
|
|
1030
|
+
path: {
|
|
1031
|
+
/** @description Agent name */
|
|
1032
|
+
name: string;
|
|
1033
|
+
};
|
|
1034
|
+
cookie?: never;
|
|
1035
|
+
};
|
|
1036
|
+
requestBody?: never;
|
|
1037
|
+
responses: {
|
|
1038
|
+
/** @description Agent deleted */
|
|
1039
|
+
204: {
|
|
1040
|
+
headers: {
|
|
1041
|
+
[name: string]: unknown;
|
|
1042
|
+
};
|
|
1043
|
+
content?: never;
|
|
1044
|
+
};
|
|
1045
|
+
/** @description Cannot delete custom agent */
|
|
1046
|
+
400: {
|
|
1047
|
+
headers: {
|
|
1048
|
+
[name: string]: unknown;
|
|
1049
|
+
};
|
|
1050
|
+
content: {
|
|
1051
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
/** @description Unauthorized */
|
|
1055
|
+
401: {
|
|
1056
|
+
headers: {
|
|
1057
|
+
[name: string]: unknown;
|
|
1058
|
+
};
|
|
1059
|
+
content: {
|
|
1060
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
/** @description Agent not found */
|
|
1064
|
+
404: {
|
|
1065
|
+
headers: {
|
|
1066
|
+
[name: string]: unknown;
|
|
1067
|
+
};
|
|
1068
|
+
content: {
|
|
1069
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
updateAgent: {
|
|
1075
|
+
parameters: {
|
|
1076
|
+
query?: never;
|
|
1077
|
+
header?: never;
|
|
1078
|
+
path: {
|
|
1079
|
+
/** @description Agent name */
|
|
1080
|
+
name: string;
|
|
1081
|
+
};
|
|
1082
|
+
cookie?: never;
|
|
1083
|
+
};
|
|
1084
|
+
requestBody?: {
|
|
1085
|
+
content: {
|
|
1086
|
+
"application/json": components["schemas"]["UpdateAgentRequest"];
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1089
|
+
responses: {
|
|
1090
|
+
/** @description Agent updated */
|
|
1091
|
+
200: {
|
|
1092
|
+
headers: {
|
|
1093
|
+
[name: string]: unknown;
|
|
1094
|
+
};
|
|
1095
|
+
content: {
|
|
1096
|
+
"application/json": components["schemas"]["Agent"];
|
|
1097
|
+
};
|
|
1098
|
+
};
|
|
1099
|
+
/** @description Bad request or cannot update custom agent */
|
|
1100
|
+
400: {
|
|
1101
|
+
headers: {
|
|
1102
|
+
[name: string]: unknown;
|
|
1103
|
+
};
|
|
1104
|
+
content: {
|
|
1105
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
/** @description Unauthorized */
|
|
1109
|
+
401: {
|
|
1110
|
+
headers: {
|
|
1111
|
+
[name: string]: unknown;
|
|
1112
|
+
};
|
|
1113
|
+
content: {
|
|
1114
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
/** @description Agent not found */
|
|
1118
|
+
404: {
|
|
1119
|
+
headers: {
|
|
1120
|
+
[name: string]: unknown;
|
|
1121
|
+
};
|
|
1122
|
+
content: {
|
|
1123
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
};
|
|
1128
|
+
invokeAgent: {
|
|
1129
|
+
parameters: {
|
|
1130
|
+
query?: never;
|
|
1131
|
+
header?: never;
|
|
1132
|
+
path: {
|
|
1133
|
+
/** @description Unique, URL-safe agent name within the project */
|
|
1134
|
+
name: string;
|
|
1135
|
+
};
|
|
1136
|
+
cookie?: never;
|
|
1137
|
+
};
|
|
1138
|
+
requestBody?: {
|
|
1139
|
+
content: {
|
|
1140
|
+
"application/json": components["schemas"]["InvokeRequest"];
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
responses: {
|
|
1144
|
+
/** @description Agent invocation successful */
|
|
1145
|
+
200: {
|
|
1146
|
+
headers: {
|
|
1147
|
+
[name: string]: unknown;
|
|
1148
|
+
};
|
|
1149
|
+
content: {
|
|
1150
|
+
"application/json": components["schemas"]["InvokeResponse"];
|
|
1151
|
+
"text/event-stream": components["schemas"]["StreamChunk"];
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
/** @description Bad Request - Invalid request body */
|
|
1155
|
+
400: {
|
|
1156
|
+
headers: {
|
|
1157
|
+
[name: string]: unknown;
|
|
1158
|
+
};
|
|
1159
|
+
content: {
|
|
1160
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
/** @description Unauthorized - Invalid or missing API key */
|
|
1164
|
+
401: {
|
|
1165
|
+
headers: {
|
|
1166
|
+
[name: string]: unknown;
|
|
1167
|
+
};
|
|
1168
|
+
content: {
|
|
1169
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
/** @description Agent or deployment not found */
|
|
1173
|
+
404: {
|
|
1174
|
+
headers: {
|
|
1175
|
+
[name: string]: unknown;
|
|
720
1176
|
};
|
|
721
1177
|
content: {
|
|
722
1178
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
@@ -751,10 +1207,261 @@ export interface operations {
|
|
|
751
1207
|
};
|
|
752
1208
|
};
|
|
753
1209
|
};
|
|
754
|
-
|
|
1210
|
+
chatAgent: {
|
|
1211
|
+
parameters: {
|
|
1212
|
+
query?: never;
|
|
1213
|
+
header?: never;
|
|
1214
|
+
path: {
|
|
1215
|
+
/** @description Unique, URL-safe agent name within the project */
|
|
1216
|
+
name: string;
|
|
1217
|
+
};
|
|
1218
|
+
cookie?: never;
|
|
1219
|
+
};
|
|
1220
|
+
requestBody?: {
|
|
1221
|
+
content: {
|
|
1222
|
+
"application/json": components["schemas"]["ChatRequest"];
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
responses: {
|
|
1226
|
+
/** @description Chat response successful */
|
|
1227
|
+
200: {
|
|
1228
|
+
headers: {
|
|
1229
|
+
[name: string]: unknown;
|
|
1230
|
+
};
|
|
1231
|
+
content: {
|
|
1232
|
+
"application/json": components["schemas"]["ChatResponse"];
|
|
1233
|
+
"text/event-stream": components["schemas"]["StreamChunk"];
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
/** @description Bad Request - Invalid request body */
|
|
1237
|
+
400: {
|
|
1238
|
+
headers: {
|
|
1239
|
+
[name: string]: unknown;
|
|
1240
|
+
};
|
|
1241
|
+
content: {
|
|
1242
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1243
|
+
};
|
|
1244
|
+
};
|
|
1245
|
+
/** @description Unauthorized - Invalid or missing API key */
|
|
1246
|
+
401: {
|
|
1247
|
+
headers: {
|
|
1248
|
+
[name: string]: unknown;
|
|
1249
|
+
};
|
|
1250
|
+
content: {
|
|
1251
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1252
|
+
};
|
|
1253
|
+
};
|
|
1254
|
+
/** @description Agent or deployment not found */
|
|
1255
|
+
404: {
|
|
1256
|
+
headers: {
|
|
1257
|
+
[name: string]: unknown;
|
|
1258
|
+
};
|
|
1259
|
+
content: {
|
|
1260
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
/** @description Internal Server Error */
|
|
1264
|
+
500: {
|
|
1265
|
+
headers: {
|
|
1266
|
+
[name: string]: unknown;
|
|
1267
|
+
};
|
|
1268
|
+
content: {
|
|
1269
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
/** @description Bad Gateway - Unable to reach agent machine */
|
|
1273
|
+
502: {
|
|
1274
|
+
headers: {
|
|
1275
|
+
[name: string]: unknown;
|
|
1276
|
+
};
|
|
1277
|
+
content: {
|
|
1278
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1279
|
+
};
|
|
1280
|
+
};
|
|
1281
|
+
/** @description Gateway Timeout - Agent exceeded the 60-second timeout. Consider using streaming mode for long-running tasks. */
|
|
1282
|
+
504: {
|
|
1283
|
+
headers: {
|
|
1284
|
+
[name: string]: unknown;
|
|
1285
|
+
};
|
|
1286
|
+
content: {
|
|
1287
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
listTools: {
|
|
1293
|
+
parameters: {
|
|
1294
|
+
query?: {
|
|
1295
|
+
/** @description Number of tools to return */
|
|
1296
|
+
limit?: number;
|
|
1297
|
+
/** @description Cursor for pagination */
|
|
1298
|
+
cursor?: string;
|
|
1299
|
+
/** @description Filter by tool type */
|
|
1300
|
+
type?: "managed" | "custom";
|
|
1301
|
+
/** @description Filter by tool status */
|
|
1302
|
+
status?: "active" | "inactive";
|
|
1303
|
+
};
|
|
1304
|
+
header?: never;
|
|
1305
|
+
path?: never;
|
|
1306
|
+
cookie?: never;
|
|
1307
|
+
};
|
|
1308
|
+
requestBody?: never;
|
|
1309
|
+
responses: {
|
|
1310
|
+
/** @description List of tools */
|
|
1311
|
+
200: {
|
|
1312
|
+
headers: {
|
|
1313
|
+
[name: string]: unknown;
|
|
1314
|
+
};
|
|
1315
|
+
content: {
|
|
1316
|
+
"application/json": {
|
|
1317
|
+
data: components["schemas"]["Tool"][];
|
|
1318
|
+
nextCursor: string | null;
|
|
1319
|
+
hasMore: boolean;
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1323
|
+
/** @description Unauthorized */
|
|
1324
|
+
401: {
|
|
1325
|
+
headers: {
|
|
1326
|
+
[name: string]: unknown;
|
|
1327
|
+
};
|
|
1328
|
+
content: {
|
|
1329
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1330
|
+
};
|
|
1331
|
+
};
|
|
1332
|
+
};
|
|
1333
|
+
};
|
|
1334
|
+
getTool: {
|
|
755
1335
|
parameters: {
|
|
756
1336
|
query?: never;
|
|
757
1337
|
header?: never;
|
|
1338
|
+
path: {
|
|
1339
|
+
/** @description Tool name */
|
|
1340
|
+
name: string;
|
|
1341
|
+
};
|
|
1342
|
+
cookie?: never;
|
|
1343
|
+
};
|
|
1344
|
+
requestBody?: never;
|
|
1345
|
+
responses: {
|
|
1346
|
+
/** @description Tool details */
|
|
1347
|
+
200: {
|
|
1348
|
+
headers: {
|
|
1349
|
+
[name: string]: unknown;
|
|
1350
|
+
};
|
|
1351
|
+
content: {
|
|
1352
|
+
"application/json": components["schemas"]["Tool"];
|
|
1353
|
+
};
|
|
1354
|
+
};
|
|
1355
|
+
/** @description Unauthorized */
|
|
1356
|
+
401: {
|
|
1357
|
+
headers: {
|
|
1358
|
+
[name: string]: unknown;
|
|
1359
|
+
};
|
|
1360
|
+
content: {
|
|
1361
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
/** @description Tool not found */
|
|
1365
|
+
404: {
|
|
1366
|
+
headers: {
|
|
1367
|
+
[name: string]: unknown;
|
|
1368
|
+
};
|
|
1369
|
+
content: {
|
|
1370
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
};
|
|
1374
|
+
};
|
|
1375
|
+
executeTool: {
|
|
1376
|
+
parameters: {
|
|
1377
|
+
query?: never;
|
|
1378
|
+
header?: never;
|
|
1379
|
+
path: {
|
|
1380
|
+
/** @description Tool name */
|
|
1381
|
+
name: string;
|
|
1382
|
+
};
|
|
1383
|
+
cookie?: never;
|
|
1384
|
+
};
|
|
1385
|
+
requestBody?: {
|
|
1386
|
+
content: {
|
|
1387
|
+
"application/json": components["schemas"]["ExecuteToolRequest"];
|
|
1388
|
+
};
|
|
1389
|
+
};
|
|
1390
|
+
responses: {
|
|
1391
|
+
/** @description Tool execution successful */
|
|
1392
|
+
200: {
|
|
1393
|
+
headers: {
|
|
1394
|
+
[name: string]: unknown;
|
|
1395
|
+
};
|
|
1396
|
+
content: {
|
|
1397
|
+
"application/json": components["schemas"]["ExecuteToolResponse"];
|
|
1398
|
+
};
|
|
1399
|
+
};
|
|
1400
|
+
/** @description Bad Request - Invalid input */
|
|
1401
|
+
400: {
|
|
1402
|
+
headers: {
|
|
1403
|
+
[name: string]: unknown;
|
|
1404
|
+
};
|
|
1405
|
+
content: {
|
|
1406
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
/** @description Unauthorized - Invalid or missing API key */
|
|
1410
|
+
401: {
|
|
1411
|
+
headers: {
|
|
1412
|
+
[name: string]: unknown;
|
|
1413
|
+
};
|
|
1414
|
+
content: {
|
|
1415
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1416
|
+
};
|
|
1417
|
+
};
|
|
1418
|
+
/** @description Tool or deployment not found */
|
|
1419
|
+
404: {
|
|
1420
|
+
headers: {
|
|
1421
|
+
[name: string]: unknown;
|
|
1422
|
+
};
|
|
1423
|
+
content: {
|
|
1424
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1425
|
+
};
|
|
1426
|
+
};
|
|
1427
|
+
/** @description Internal Server Error */
|
|
1428
|
+
500: {
|
|
1429
|
+
headers: {
|
|
1430
|
+
[name: string]: unknown;
|
|
1431
|
+
};
|
|
1432
|
+
content: {
|
|
1433
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
/** @description Bad Gateway - Unable to reach deployment */
|
|
1437
|
+
502: {
|
|
1438
|
+
headers: {
|
|
1439
|
+
[name: string]: unknown;
|
|
1440
|
+
};
|
|
1441
|
+
content: {
|
|
1442
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1443
|
+
};
|
|
1444
|
+
};
|
|
1445
|
+
/** @description Gateway Timeout - Tool execution exceeded timeout */
|
|
1446
|
+
504: {
|
|
1447
|
+
headers: {
|
|
1448
|
+
[name: string]: unknown;
|
|
1449
|
+
};
|
|
1450
|
+
content: {
|
|
1451
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1452
|
+
};
|
|
1453
|
+
};
|
|
1454
|
+
};
|
|
1455
|
+
};
|
|
1456
|
+
listSecrets: {
|
|
1457
|
+
parameters: {
|
|
1458
|
+
query?: {
|
|
1459
|
+
/** @description Maximum number of items to return (1-100, default: 50) */
|
|
1460
|
+
limit?: number;
|
|
1461
|
+
/** @description Pagination cursor from the previous response */
|
|
1462
|
+
cursor?: string;
|
|
1463
|
+
};
|
|
1464
|
+
header?: never;
|
|
758
1465
|
path?: never;
|
|
759
1466
|
cookie?: never;
|
|
760
1467
|
};
|
|
@@ -766,7 +1473,13 @@ export interface operations {
|
|
|
766
1473
|
[name: string]: unknown;
|
|
767
1474
|
};
|
|
768
1475
|
content: {
|
|
769
|
-
"application/json":
|
|
1476
|
+
"application/json": {
|
|
1477
|
+
data: components["schemas"]["Secret"][];
|
|
1478
|
+
/** @description Cursor for the next page of results. Null if there are no more results. */
|
|
1479
|
+
nextCursor: string | null;
|
|
1480
|
+
/** @description Whether there are more results available */
|
|
1481
|
+
hasMore: boolean;
|
|
1482
|
+
};
|
|
770
1483
|
};
|
|
771
1484
|
};
|
|
772
1485
|
/** @description Unauthorized - Invalid or missing authentication */
|
|
@@ -789,7 +1502,7 @@ export interface operations {
|
|
|
789
1502
|
};
|
|
790
1503
|
requestBody?: {
|
|
791
1504
|
content: {
|
|
792
|
-
"application/json": components["schemas"]["
|
|
1505
|
+
"application/json": components["schemas"]["CreateSecretRequest"];
|
|
793
1506
|
};
|
|
794
1507
|
};
|
|
795
1508
|
responses: {
|
|
@@ -834,7 +1547,7 @@ export interface operations {
|
|
|
834
1547
|
};
|
|
835
1548
|
requestBody?: {
|
|
836
1549
|
content: {
|
|
837
|
-
"application/json": components["schemas"]["
|
|
1550
|
+
"application/json": components["schemas"]["UpdateSecretRequest"];
|
|
838
1551
|
};
|
|
839
1552
|
};
|
|
840
1553
|
responses: {
|
|
@@ -918,8 +1631,10 @@ export interface operations {
|
|
|
918
1631
|
listDeployments: {
|
|
919
1632
|
parameters: {
|
|
920
1633
|
query?: {
|
|
921
|
-
/** @description Maximum number of
|
|
922
|
-
limit?:
|
|
1634
|
+
/** @description Maximum number of items to return (1-100, default: 50) */
|
|
1635
|
+
limit?: number;
|
|
1636
|
+
/** @description Pagination cursor from the previous response */
|
|
1637
|
+
cursor?: string;
|
|
923
1638
|
};
|
|
924
1639
|
header?: never;
|
|
925
1640
|
path?: never;
|
|
@@ -933,7 +1648,13 @@ export interface operations {
|
|
|
933
1648
|
[name: string]: unknown;
|
|
934
1649
|
};
|
|
935
1650
|
content: {
|
|
936
|
-
"application/json":
|
|
1651
|
+
"application/json": {
|
|
1652
|
+
data: components["schemas"]["Deployment"][];
|
|
1653
|
+
/** @description Cursor for the next page of results. Null if there are no more results. */
|
|
1654
|
+
nextCursor: string | null;
|
|
1655
|
+
/** @description Whether there are more results available */
|
|
1656
|
+
hasMore: boolean;
|
|
1657
|
+
};
|
|
937
1658
|
};
|
|
938
1659
|
};
|
|
939
1660
|
/** @description Unauthorized - Invalid or missing authentication */
|
|
@@ -1072,5 +1793,86 @@ export interface operations {
|
|
|
1072
1793
|
};
|
|
1073
1794
|
};
|
|
1074
1795
|
};
|
|
1796
|
+
createClientToken: {
|
|
1797
|
+
parameters: {
|
|
1798
|
+
query?: never;
|
|
1799
|
+
header?: never;
|
|
1800
|
+
path?: never;
|
|
1801
|
+
cookie?: never;
|
|
1802
|
+
};
|
|
1803
|
+
requestBody?: {
|
|
1804
|
+
content: {
|
|
1805
|
+
"application/json": components["schemas"]["CreateClientTokenRequest"];
|
|
1806
|
+
};
|
|
1807
|
+
};
|
|
1808
|
+
responses: {
|
|
1809
|
+
/** @description Client token created successfully */
|
|
1810
|
+
201: {
|
|
1811
|
+
headers: {
|
|
1812
|
+
[name: string]: unknown;
|
|
1813
|
+
};
|
|
1814
|
+
content: {
|
|
1815
|
+
"application/json": components["schemas"]["CreateClientTokenResponse"];
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
/** @description Invalid request body */
|
|
1819
|
+
400: {
|
|
1820
|
+
headers: {
|
|
1821
|
+
[name: string]: unknown;
|
|
1822
|
+
};
|
|
1823
|
+
content: {
|
|
1824
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1825
|
+
};
|
|
1826
|
+
};
|
|
1827
|
+
/** @description Unauthorized - Invalid or missing API key */
|
|
1828
|
+
401: {
|
|
1829
|
+
headers: {
|
|
1830
|
+
[name: string]: unknown;
|
|
1831
|
+
};
|
|
1832
|
+
content: {
|
|
1833
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
};
|
|
1837
|
+
};
|
|
1838
|
+
revokeClientToken: {
|
|
1839
|
+
parameters: {
|
|
1840
|
+
query?: never;
|
|
1841
|
+
header?: never;
|
|
1842
|
+
path: {
|
|
1843
|
+
/** @description Client token ID to revoke */
|
|
1844
|
+
id: string;
|
|
1845
|
+
};
|
|
1846
|
+
cookie?: never;
|
|
1847
|
+
};
|
|
1848
|
+
requestBody?: never;
|
|
1849
|
+
responses: {
|
|
1850
|
+
/** @description Token revoked successfully */
|
|
1851
|
+
204: {
|
|
1852
|
+
headers: {
|
|
1853
|
+
[name: string]: unknown;
|
|
1854
|
+
};
|
|
1855
|
+
content?: never;
|
|
1856
|
+
};
|
|
1857
|
+
/** @description Unauthorized - Invalid or missing API key */
|
|
1858
|
+
401: {
|
|
1859
|
+
headers: {
|
|
1860
|
+
[name: string]: unknown;
|
|
1861
|
+
};
|
|
1862
|
+
content: {
|
|
1863
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1864
|
+
};
|
|
1865
|
+
};
|
|
1866
|
+
/** @description Token not found */
|
|
1867
|
+
404: {
|
|
1868
|
+
headers: {
|
|
1869
|
+
[name: string]: unknown;
|
|
1870
|
+
};
|
|
1871
|
+
content: {
|
|
1872
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1873
|
+
};
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1075
1877
|
}
|
|
1076
1878
|
//# sourceMappingURL=api-types.d.ts.map
|