@remotehost/sdk 0.1.0 → 0.2.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/generated/schema.d.ts +1848 -0
- package/dist/generated/schema.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -423,6 +423,274 @@ export interface paths {
|
|
|
423
423
|
patch?: never;
|
|
424
424
|
trace?: never;
|
|
425
425
|
};
|
|
426
|
+
"/sandboxes/{sandboxId}/files/snapshot": {
|
|
427
|
+
parameters: {
|
|
428
|
+
query?: never;
|
|
429
|
+
header?: never;
|
|
430
|
+
path?: never;
|
|
431
|
+
cookie?: never;
|
|
432
|
+
};
|
|
433
|
+
/**
|
|
434
|
+
* Read a directory tree
|
|
435
|
+
* @description Returns directory entries grouped by parent path. This is a filesystem listing, not a persistent sandbox backup. Requires a running Firecracker sandbox and sandbox.files.read.
|
|
436
|
+
*/
|
|
437
|
+
get: operations["snapshotSandboxFiles"];
|
|
438
|
+
put?: never;
|
|
439
|
+
post?: never;
|
|
440
|
+
delete?: never;
|
|
441
|
+
options?: never;
|
|
442
|
+
head?: never;
|
|
443
|
+
patch?: never;
|
|
444
|
+
trace?: never;
|
|
445
|
+
};
|
|
446
|
+
"/me": {
|
|
447
|
+
parameters: {
|
|
448
|
+
query?: never;
|
|
449
|
+
header?: never;
|
|
450
|
+
path?: never;
|
|
451
|
+
cookie?: never;
|
|
452
|
+
};
|
|
453
|
+
/** Read the authenticated caller's identity */
|
|
454
|
+
get: operations["getCurrentUser"];
|
|
455
|
+
put?: never;
|
|
456
|
+
post?: never;
|
|
457
|
+
delete?: never;
|
|
458
|
+
options?: never;
|
|
459
|
+
head?: never;
|
|
460
|
+
patch?: never;
|
|
461
|
+
trace?: never;
|
|
462
|
+
};
|
|
463
|
+
"/orgs/{orgId}/usage": {
|
|
464
|
+
parameters: {
|
|
465
|
+
query?: never;
|
|
466
|
+
header?: never;
|
|
467
|
+
path?: never;
|
|
468
|
+
cookie?: never;
|
|
469
|
+
};
|
|
470
|
+
/**
|
|
471
|
+
* Read machine-hour usage for the current billing period
|
|
472
|
+
* @description Requires billing.read. Optional filters attribute usage to a project or your own end user.
|
|
473
|
+
*/
|
|
474
|
+
get: operations["getOrgUsage"];
|
|
475
|
+
put?: never;
|
|
476
|
+
post?: never;
|
|
477
|
+
delete?: never;
|
|
478
|
+
options?: never;
|
|
479
|
+
head?: never;
|
|
480
|
+
patch?: never;
|
|
481
|
+
trace?: never;
|
|
482
|
+
};
|
|
483
|
+
"/orgs/{orgId}/usage/end-users": {
|
|
484
|
+
parameters: {
|
|
485
|
+
query?: never;
|
|
486
|
+
header?: never;
|
|
487
|
+
path?: never;
|
|
488
|
+
cookie?: never;
|
|
489
|
+
};
|
|
490
|
+
/**
|
|
491
|
+
* Read usage grouped by your end users
|
|
492
|
+
* @description Requires billing.read. Unattributed usage is excluded. Results are ordered by machine hours descending.
|
|
493
|
+
*/
|
|
494
|
+
get: operations["getOrgUsageByEndUser"];
|
|
495
|
+
put?: never;
|
|
496
|
+
post?: never;
|
|
497
|
+
delete?: never;
|
|
498
|
+
options?: never;
|
|
499
|
+
head?: never;
|
|
500
|
+
patch?: never;
|
|
501
|
+
trace?: never;
|
|
502
|
+
};
|
|
503
|
+
"/orgs/{orgId}/api-keys": {
|
|
504
|
+
parameters: {
|
|
505
|
+
query?: never;
|
|
506
|
+
header?: never;
|
|
507
|
+
path?: never;
|
|
508
|
+
cookie?: never;
|
|
509
|
+
};
|
|
510
|
+
/**
|
|
511
|
+
* List API key metadata
|
|
512
|
+
* @description Requires a user session with api_keys.manage. API keys cannot call this operation. Secret tokens are never returned.
|
|
513
|
+
*/
|
|
514
|
+
get: operations["listApiKeys"];
|
|
515
|
+
put?: never;
|
|
516
|
+
/**
|
|
517
|
+
* Mint an organization-bound API key
|
|
518
|
+
* @description Requires a user session with api_keys.manage. API keys cannot mint keys. Scopes narrow the creator's permissions; omitted or null means unscoped, while [] grants no permissions. Store the returned token securely: it is shown only once.
|
|
519
|
+
*/
|
|
520
|
+
post: operations["createApiKey"];
|
|
521
|
+
delete?: never;
|
|
522
|
+
options?: never;
|
|
523
|
+
head?: never;
|
|
524
|
+
patch?: never;
|
|
525
|
+
trace?: never;
|
|
526
|
+
};
|
|
527
|
+
"/orgs/{orgId}/api-keys/{keyId}": {
|
|
528
|
+
parameters: {
|
|
529
|
+
query?: never;
|
|
530
|
+
header?: never;
|
|
531
|
+
path?: never;
|
|
532
|
+
cookie?: never;
|
|
533
|
+
};
|
|
534
|
+
get?: never;
|
|
535
|
+
put?: never;
|
|
536
|
+
post?: never;
|
|
537
|
+
/**
|
|
538
|
+
* Revoke an API key
|
|
539
|
+
* @description Requires a user session with api_keys.manage. API keys cannot call this operation.
|
|
540
|
+
*/
|
|
541
|
+
delete: operations["revokeApiKey"];
|
|
542
|
+
options?: never;
|
|
543
|
+
head?: never;
|
|
544
|
+
patch?: never;
|
|
545
|
+
trace?: never;
|
|
546
|
+
};
|
|
547
|
+
"/agent-sessions/{sessionId}/recover": {
|
|
548
|
+
parameters: {
|
|
549
|
+
query?: never;
|
|
550
|
+
header?: never;
|
|
551
|
+
path?: never;
|
|
552
|
+
cookie?: never;
|
|
553
|
+
};
|
|
554
|
+
get?: never;
|
|
555
|
+
put?: never;
|
|
556
|
+
/** @description Resume a stopped managed bridge in the same running sandbox using its saved vendor conversation. Idempotent when already ready. Interrupted work and pending approvals are not replayed. Requires agent_session.send; cannot recover destroyed sandbox storage. */
|
|
557
|
+
post: operations["recoverAgentSession"];
|
|
558
|
+
delete?: never;
|
|
559
|
+
options?: never;
|
|
560
|
+
head?: never;
|
|
561
|
+
patch?: never;
|
|
562
|
+
trace?: never;
|
|
563
|
+
};
|
|
564
|
+
"/agent-sessions": {
|
|
565
|
+
parameters: {
|
|
566
|
+
query?: never;
|
|
567
|
+
header?: never;
|
|
568
|
+
path?: never;
|
|
569
|
+
cookie?: never;
|
|
570
|
+
};
|
|
571
|
+
/** @description Discover registered sessions across accessible projects. API keys retain their organization and permission limits. Native terminal sessions are not automatically registered. State is last known; read a session to refresh it. Pages are ordered by stable session ID, not activity. */
|
|
572
|
+
get: operations["discoverAgentSessions"];
|
|
573
|
+
put?: never;
|
|
574
|
+
post?: never;
|
|
575
|
+
delete?: never;
|
|
576
|
+
options?: never;
|
|
577
|
+
head?: never;
|
|
578
|
+
patch?: never;
|
|
579
|
+
trace?: never;
|
|
580
|
+
};
|
|
581
|
+
"/sandboxes/{sandboxId}/agent-sessions": {
|
|
582
|
+
parameters: {
|
|
583
|
+
query?: never;
|
|
584
|
+
header?: never;
|
|
585
|
+
path?: never;
|
|
586
|
+
cookie?: never;
|
|
587
|
+
};
|
|
588
|
+
get?: never;
|
|
589
|
+
put?: never;
|
|
590
|
+
/** @description Start a separate managed conversation using this running sandbox's configured agent. Does not attach to its native terminal conversation. Requires agent_session.send. */
|
|
591
|
+
post: operations["createAgentSession"];
|
|
592
|
+
delete?: never;
|
|
593
|
+
options?: never;
|
|
594
|
+
head?: never;
|
|
595
|
+
patch?: never;
|
|
596
|
+
trace?: never;
|
|
597
|
+
};
|
|
598
|
+
"/projects/{projectId}/agent-sessions": {
|
|
599
|
+
parameters: {
|
|
600
|
+
query?: never;
|
|
601
|
+
header?: never;
|
|
602
|
+
path?: never;
|
|
603
|
+
cookie?: never;
|
|
604
|
+
};
|
|
605
|
+
get: operations["listAgentSessions"];
|
|
606
|
+
put?: never;
|
|
607
|
+
post?: never;
|
|
608
|
+
delete?: never;
|
|
609
|
+
options?: never;
|
|
610
|
+
head?: never;
|
|
611
|
+
patch?: never;
|
|
612
|
+
trace?: never;
|
|
613
|
+
};
|
|
614
|
+
"/agent-sessions/{sessionId}": {
|
|
615
|
+
parameters: {
|
|
616
|
+
query?: never;
|
|
617
|
+
header?: never;
|
|
618
|
+
path?: never;
|
|
619
|
+
cookie?: never;
|
|
620
|
+
};
|
|
621
|
+
get: operations["getAgentSession"];
|
|
622
|
+
put?: never;
|
|
623
|
+
post?: never;
|
|
624
|
+
delete?: never;
|
|
625
|
+
options?: never;
|
|
626
|
+
head?: never;
|
|
627
|
+
patch?: never;
|
|
628
|
+
trace?: never;
|
|
629
|
+
};
|
|
630
|
+
"/agent-sessions/{sessionId}/output": {
|
|
631
|
+
parameters: {
|
|
632
|
+
query?: never;
|
|
633
|
+
header?: never;
|
|
634
|
+
path?: never;
|
|
635
|
+
cookie?: never;
|
|
636
|
+
};
|
|
637
|
+
get: operations["getAgentOutput"];
|
|
638
|
+
put?: never;
|
|
639
|
+
post?: never;
|
|
640
|
+
delete?: never;
|
|
641
|
+
options?: never;
|
|
642
|
+
head?: never;
|
|
643
|
+
patch?: never;
|
|
644
|
+
trace?: never;
|
|
645
|
+
};
|
|
646
|
+
"/agent-sessions/{sessionId}/messages": {
|
|
647
|
+
parameters: {
|
|
648
|
+
query?: never;
|
|
649
|
+
header?: never;
|
|
650
|
+
path?: never;
|
|
651
|
+
cookie?: never;
|
|
652
|
+
};
|
|
653
|
+
get?: never;
|
|
654
|
+
put?: never;
|
|
655
|
+
post: operations["sendAgentMessage"];
|
|
656
|
+
delete?: never;
|
|
657
|
+
options?: never;
|
|
658
|
+
head?: never;
|
|
659
|
+
patch?: never;
|
|
660
|
+
trace?: never;
|
|
661
|
+
};
|
|
662
|
+
"/agent-sessions/{sessionId}/answer": {
|
|
663
|
+
parameters: {
|
|
664
|
+
query?: never;
|
|
665
|
+
header?: never;
|
|
666
|
+
path?: never;
|
|
667
|
+
cookie?: never;
|
|
668
|
+
};
|
|
669
|
+
get?: never;
|
|
670
|
+
put?: never;
|
|
671
|
+
post: operations["answerAgentPrompt"];
|
|
672
|
+
delete?: never;
|
|
673
|
+
options?: never;
|
|
674
|
+
head?: never;
|
|
675
|
+
patch?: never;
|
|
676
|
+
trace?: never;
|
|
677
|
+
};
|
|
678
|
+
"/agent-sessions/{sessionId}/interrupt": {
|
|
679
|
+
parameters: {
|
|
680
|
+
query?: never;
|
|
681
|
+
header?: never;
|
|
682
|
+
path?: never;
|
|
683
|
+
cookie?: never;
|
|
684
|
+
};
|
|
685
|
+
get?: never;
|
|
686
|
+
put?: never;
|
|
687
|
+
post: operations["interruptAgentTurn"];
|
|
688
|
+
delete?: never;
|
|
689
|
+
options?: never;
|
|
690
|
+
head?: never;
|
|
691
|
+
patch?: never;
|
|
692
|
+
trace?: never;
|
|
693
|
+
};
|
|
426
694
|
}
|
|
427
695
|
export type webhooks = Record<string, never>;
|
|
428
696
|
export interface components {
|
|
@@ -721,6 +989,69 @@ export interface components {
|
|
|
721
989
|
} | null;
|
|
722
990
|
memoryWarning: components["schemas"]["MemoryPressureWarning"];
|
|
723
991
|
};
|
|
992
|
+
Usage: {
|
|
993
|
+
/** @enum {string} */
|
|
994
|
+
plan: "individual" | "pro" | "max" | "team" | "enterprise";
|
|
995
|
+
projectId: string | null;
|
|
996
|
+
endUserId: string | null;
|
|
997
|
+
periodStartsAt: string;
|
|
998
|
+
periodEndsAt: string | null;
|
|
999
|
+
includedMachineHours: number | null;
|
|
1000
|
+
sandboxMachineHourLimit: number | null;
|
|
1001
|
+
sandboxMachineHourLimitOverride: number | null;
|
|
1002
|
+
projectSandboxMachineHourLimit: number | null;
|
|
1003
|
+
sandboxOverageEnabled: boolean;
|
|
1004
|
+
usedMachineHours: number;
|
|
1005
|
+
remainingMachineHours: number | null;
|
|
1006
|
+
overageMachineHours: number;
|
|
1007
|
+
overageCostUsd: number | null;
|
|
1008
|
+
usageAlert: {
|
|
1009
|
+
percentUsed: number | null;
|
|
1010
|
+
/** @enum {string} */
|
|
1011
|
+
status: "uncapped" | "normal" | "approaching" | "critical" | "exhausted";
|
|
1012
|
+
message: string;
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
1015
|
+
ApiKey: {
|
|
1016
|
+
id: string;
|
|
1017
|
+
org_id: string;
|
|
1018
|
+
name: string;
|
|
1019
|
+
key_prefix: string;
|
|
1020
|
+
last_used_at: string | null;
|
|
1021
|
+
created_at: string;
|
|
1022
|
+
revoked_at: string | null;
|
|
1023
|
+
expires_at: string | null;
|
|
1024
|
+
scopes: string[] | null;
|
|
1025
|
+
};
|
|
1026
|
+
AgentSessionState: {
|
|
1027
|
+
id: string;
|
|
1028
|
+
sessionId: string;
|
|
1029
|
+
projectId: string;
|
|
1030
|
+
sandboxId: string | null;
|
|
1031
|
+
/** @enum {string} */
|
|
1032
|
+
agent: "claude" | "codex";
|
|
1033
|
+
/** @enum {string} */
|
|
1034
|
+
status: "active" | "closed";
|
|
1035
|
+
turnId: string | null;
|
|
1036
|
+
/** @enum {string|null} */
|
|
1037
|
+
turnState: "submitted" | "working" | "input-required" | "completed" | "failed" | "canceled" | null;
|
|
1038
|
+
needsYou: boolean;
|
|
1039
|
+
waitingOn: string | null;
|
|
1040
|
+
pendingInput: {
|
|
1041
|
+
requestId: string | number;
|
|
1042
|
+
kind: string;
|
|
1043
|
+
summary: string;
|
|
1044
|
+
} | null;
|
|
1045
|
+
error: string | null;
|
|
1046
|
+
/** @enum {string|null} */
|
|
1047
|
+
bridgeState: "starting" | "ready" | "closed" | null;
|
|
1048
|
+
drifted: boolean;
|
|
1049
|
+
problems: {
|
|
1050
|
+
seq: number;
|
|
1051
|
+
event: string;
|
|
1052
|
+
reason: string;
|
|
1053
|
+
}[];
|
|
1054
|
+
};
|
|
724
1055
|
};
|
|
725
1056
|
responses: never;
|
|
726
1057
|
parameters: never;
|
|
@@ -4213,5 +4544,1522 @@ export interface operations {
|
|
|
4213
4544
|
};
|
|
4214
4545
|
};
|
|
4215
4546
|
};
|
|
4547
|
+
snapshotSandboxFiles: {
|
|
4548
|
+
parameters: {
|
|
4549
|
+
query?: {
|
|
4550
|
+
path?: string;
|
|
4551
|
+
depth?: number;
|
|
4552
|
+
};
|
|
4553
|
+
header?: never;
|
|
4554
|
+
path: {
|
|
4555
|
+
sandboxId: string;
|
|
4556
|
+
};
|
|
4557
|
+
cookie?: never;
|
|
4558
|
+
};
|
|
4559
|
+
requestBody?: never;
|
|
4560
|
+
responses: {
|
|
4561
|
+
/** @description Directory tree. Large trees may be truncated. */
|
|
4562
|
+
200: {
|
|
4563
|
+
headers: {
|
|
4564
|
+
[name: string]: unknown;
|
|
4565
|
+
};
|
|
4566
|
+
content: {
|
|
4567
|
+
"application/json": {
|
|
4568
|
+
path: string;
|
|
4569
|
+
truncated: boolean;
|
|
4570
|
+
directories: {
|
|
4571
|
+
[key: string]: components["schemas"]["FilesystemEntry"][];
|
|
4572
|
+
};
|
|
4573
|
+
};
|
|
4574
|
+
};
|
|
4575
|
+
};
|
|
4576
|
+
/** @description Invalid path, provider, or sandbox state. */
|
|
4577
|
+
400: {
|
|
4578
|
+
headers: {
|
|
4579
|
+
[name: string]: unknown;
|
|
4580
|
+
};
|
|
4581
|
+
content: {
|
|
4582
|
+
"application/json": {
|
|
4583
|
+
error: {
|
|
4584
|
+
message: string;
|
|
4585
|
+
/** @enum {string} */
|
|
4586
|
+
code?: "rate_limited" | "limit_reached" | "plan_required" | "snapshot_in_progress";
|
|
4587
|
+
limit?: number;
|
|
4588
|
+
/** @enum {string} */
|
|
4589
|
+
window?: "minute" | "hour" | "day";
|
|
4590
|
+
retryAfterSeconds?: number;
|
|
4591
|
+
resetsAt?: string;
|
|
4592
|
+
active?: number;
|
|
4593
|
+
includedLimit?: number | null;
|
|
4594
|
+
planMaximum?: number | null;
|
|
4595
|
+
profile?: string;
|
|
4596
|
+
minimumPlan?: string | null;
|
|
4597
|
+
};
|
|
4598
|
+
};
|
|
4599
|
+
};
|
|
4600
|
+
};
|
|
4601
|
+
/** @description Permission sandbox.files.read is required. */
|
|
4602
|
+
403: {
|
|
4603
|
+
headers: {
|
|
4604
|
+
[name: string]: unknown;
|
|
4605
|
+
};
|
|
4606
|
+
content: {
|
|
4607
|
+
"application/json": {
|
|
4608
|
+
error: {
|
|
4609
|
+
message: string;
|
|
4610
|
+
/** @enum {string} */
|
|
4611
|
+
code?: "rate_limited" | "limit_reached" | "plan_required" | "snapshot_in_progress";
|
|
4612
|
+
limit?: number;
|
|
4613
|
+
/** @enum {string} */
|
|
4614
|
+
window?: "minute" | "hour" | "day";
|
|
4615
|
+
retryAfterSeconds?: number;
|
|
4616
|
+
resetsAt?: string;
|
|
4617
|
+
active?: number;
|
|
4618
|
+
includedLimit?: number | null;
|
|
4619
|
+
planMaximum?: number | null;
|
|
4620
|
+
profile?: string;
|
|
4621
|
+
minimumPlan?: string | null;
|
|
4622
|
+
};
|
|
4623
|
+
};
|
|
4624
|
+
};
|
|
4625
|
+
};
|
|
4626
|
+
/** @description Sandbox not found. */
|
|
4627
|
+
404: {
|
|
4628
|
+
headers: {
|
|
4629
|
+
[name: string]: unknown;
|
|
4630
|
+
};
|
|
4631
|
+
content: {
|
|
4632
|
+
"application/json": {
|
|
4633
|
+
error: {
|
|
4634
|
+
message: string;
|
|
4635
|
+
/** @enum {string} */
|
|
4636
|
+
code?: "rate_limited" | "limit_reached" | "plan_required" | "snapshot_in_progress";
|
|
4637
|
+
limit?: number;
|
|
4638
|
+
/** @enum {string} */
|
|
4639
|
+
window?: "minute" | "hour" | "day";
|
|
4640
|
+
retryAfterSeconds?: number;
|
|
4641
|
+
resetsAt?: string;
|
|
4642
|
+
active?: number;
|
|
4643
|
+
includedLimit?: number | null;
|
|
4644
|
+
planMaximum?: number | null;
|
|
4645
|
+
profile?: string;
|
|
4646
|
+
minimumPlan?: string | null;
|
|
4647
|
+
};
|
|
4648
|
+
};
|
|
4649
|
+
};
|
|
4650
|
+
};
|
|
4651
|
+
/** @description Filesystem operation failed. */
|
|
4652
|
+
500: {
|
|
4653
|
+
headers: {
|
|
4654
|
+
[name: string]: unknown;
|
|
4655
|
+
};
|
|
4656
|
+
content: {
|
|
4657
|
+
"application/json": {
|
|
4658
|
+
error: {
|
|
4659
|
+
message: string;
|
|
4660
|
+
/** @enum {string} */
|
|
4661
|
+
code?: "rate_limited" | "limit_reached" | "plan_required" | "snapshot_in_progress";
|
|
4662
|
+
limit?: number;
|
|
4663
|
+
/** @enum {string} */
|
|
4664
|
+
window?: "minute" | "hour" | "day";
|
|
4665
|
+
retryAfterSeconds?: number;
|
|
4666
|
+
resetsAt?: string;
|
|
4667
|
+
active?: number;
|
|
4668
|
+
includedLimit?: number | null;
|
|
4669
|
+
planMaximum?: number | null;
|
|
4670
|
+
profile?: string;
|
|
4671
|
+
minimumPlan?: string | null;
|
|
4672
|
+
};
|
|
4673
|
+
};
|
|
4674
|
+
};
|
|
4675
|
+
};
|
|
4676
|
+
};
|
|
4677
|
+
};
|
|
4678
|
+
getCurrentUser: {
|
|
4679
|
+
parameters: {
|
|
4680
|
+
query?: never;
|
|
4681
|
+
header?: never;
|
|
4682
|
+
path?: never;
|
|
4683
|
+
cookie?: never;
|
|
4684
|
+
};
|
|
4685
|
+
requestBody?: never;
|
|
4686
|
+
responses: {
|
|
4687
|
+
/** @description For an API key, the identity of its creator. */
|
|
4688
|
+
200: {
|
|
4689
|
+
headers: {
|
|
4690
|
+
[name: string]: unknown;
|
|
4691
|
+
};
|
|
4692
|
+
content: {
|
|
4693
|
+
"application/json": {
|
|
4694
|
+
id: string;
|
|
4695
|
+
email: string | null;
|
|
4696
|
+
displayName: string | null;
|
|
4697
|
+
};
|
|
4698
|
+
};
|
|
4699
|
+
};
|
|
4700
|
+
};
|
|
4701
|
+
};
|
|
4702
|
+
getOrgUsage: {
|
|
4703
|
+
parameters: {
|
|
4704
|
+
query?: {
|
|
4705
|
+
projectId?: string;
|
|
4706
|
+
endUserId?: string;
|
|
4707
|
+
};
|
|
4708
|
+
header?: never;
|
|
4709
|
+
path: {
|
|
4710
|
+
orgId: string;
|
|
4711
|
+
};
|
|
4712
|
+
cookie?: never;
|
|
4713
|
+
};
|
|
4714
|
+
requestBody?: never;
|
|
4715
|
+
responses: {
|
|
4716
|
+
/** @description Usage, caps, overage and alert state. */
|
|
4717
|
+
200: {
|
|
4718
|
+
headers: {
|
|
4719
|
+
[name: string]: unknown;
|
|
4720
|
+
};
|
|
4721
|
+
content: {
|
|
4722
|
+
"application/json": components["schemas"]["Usage"];
|
|
4723
|
+
};
|
|
4724
|
+
};
|
|
4725
|
+
/** @description The request failed. Inspect error.message. */
|
|
4726
|
+
402: {
|
|
4727
|
+
headers: {
|
|
4728
|
+
[name: string]: unknown;
|
|
4729
|
+
};
|
|
4730
|
+
content: {
|
|
4731
|
+
"application/json": {
|
|
4732
|
+
error: {
|
|
4733
|
+
message: string;
|
|
4734
|
+
};
|
|
4735
|
+
};
|
|
4736
|
+
};
|
|
4737
|
+
};
|
|
4738
|
+
/** @description The request failed. Inspect error.message. */
|
|
4739
|
+
403: {
|
|
4740
|
+
headers: {
|
|
4741
|
+
[name: string]: unknown;
|
|
4742
|
+
};
|
|
4743
|
+
content: {
|
|
4744
|
+
"application/json": {
|
|
4745
|
+
error: {
|
|
4746
|
+
message: string;
|
|
4747
|
+
};
|
|
4748
|
+
};
|
|
4749
|
+
};
|
|
4750
|
+
};
|
|
4751
|
+
/** @description The request failed. Inspect error.message. */
|
|
4752
|
+
404: {
|
|
4753
|
+
headers: {
|
|
4754
|
+
[name: string]: unknown;
|
|
4755
|
+
};
|
|
4756
|
+
content: {
|
|
4757
|
+
"application/json": {
|
|
4758
|
+
error: {
|
|
4759
|
+
message: string;
|
|
4760
|
+
};
|
|
4761
|
+
};
|
|
4762
|
+
};
|
|
4763
|
+
};
|
|
4764
|
+
/** @description The request failed. Inspect error.message. */
|
|
4765
|
+
500: {
|
|
4766
|
+
headers: {
|
|
4767
|
+
[name: string]: unknown;
|
|
4768
|
+
};
|
|
4769
|
+
content: {
|
|
4770
|
+
"application/json": {
|
|
4771
|
+
error: {
|
|
4772
|
+
message: string;
|
|
4773
|
+
};
|
|
4774
|
+
};
|
|
4775
|
+
};
|
|
4776
|
+
};
|
|
4777
|
+
};
|
|
4778
|
+
};
|
|
4779
|
+
getOrgUsageByEndUser: {
|
|
4780
|
+
parameters: {
|
|
4781
|
+
query?: never;
|
|
4782
|
+
header?: never;
|
|
4783
|
+
path: {
|
|
4784
|
+
orgId: string;
|
|
4785
|
+
};
|
|
4786
|
+
cookie?: never;
|
|
4787
|
+
};
|
|
4788
|
+
requestBody?: never;
|
|
4789
|
+
responses: {
|
|
4790
|
+
/** @description Current billing period and attributed usage. */
|
|
4791
|
+
200: {
|
|
4792
|
+
headers: {
|
|
4793
|
+
[name: string]: unknown;
|
|
4794
|
+
};
|
|
4795
|
+
content: {
|
|
4796
|
+
"application/json": {
|
|
4797
|
+
periodStartsAt: string;
|
|
4798
|
+
periodEndsAt: string | null;
|
|
4799
|
+
endUsers: {
|
|
4800
|
+
endUserId: string;
|
|
4801
|
+
machineHours: number;
|
|
4802
|
+
estimatedCogsUsd: number;
|
|
4803
|
+
}[];
|
|
4804
|
+
};
|
|
4805
|
+
};
|
|
4806
|
+
};
|
|
4807
|
+
/** @description The request failed. Inspect error.message. */
|
|
4808
|
+
402: {
|
|
4809
|
+
headers: {
|
|
4810
|
+
[name: string]: unknown;
|
|
4811
|
+
};
|
|
4812
|
+
content: {
|
|
4813
|
+
"application/json": {
|
|
4814
|
+
error: {
|
|
4815
|
+
message: string;
|
|
4816
|
+
};
|
|
4817
|
+
};
|
|
4818
|
+
};
|
|
4819
|
+
};
|
|
4820
|
+
/** @description The request failed. Inspect error.message. */
|
|
4821
|
+
403: {
|
|
4822
|
+
headers: {
|
|
4823
|
+
[name: string]: unknown;
|
|
4824
|
+
};
|
|
4825
|
+
content: {
|
|
4826
|
+
"application/json": {
|
|
4827
|
+
error: {
|
|
4828
|
+
message: string;
|
|
4829
|
+
};
|
|
4830
|
+
};
|
|
4831
|
+
};
|
|
4832
|
+
};
|
|
4833
|
+
/** @description The request failed. Inspect error.message. */
|
|
4834
|
+
500: {
|
|
4835
|
+
headers: {
|
|
4836
|
+
[name: string]: unknown;
|
|
4837
|
+
};
|
|
4838
|
+
content: {
|
|
4839
|
+
"application/json": {
|
|
4840
|
+
error: {
|
|
4841
|
+
message: string;
|
|
4842
|
+
};
|
|
4843
|
+
};
|
|
4844
|
+
};
|
|
4845
|
+
};
|
|
4846
|
+
};
|
|
4847
|
+
};
|
|
4848
|
+
listApiKeys: {
|
|
4849
|
+
parameters: {
|
|
4850
|
+
query?: never;
|
|
4851
|
+
header?: never;
|
|
4852
|
+
path: {
|
|
4853
|
+
orgId: string;
|
|
4854
|
+
};
|
|
4855
|
+
cookie?: never;
|
|
4856
|
+
};
|
|
4857
|
+
requestBody?: never;
|
|
4858
|
+
responses: {
|
|
4859
|
+
/** @description Keys, including expired and revoked keys, newest first. */
|
|
4860
|
+
200: {
|
|
4861
|
+
headers: {
|
|
4862
|
+
[name: string]: unknown;
|
|
4863
|
+
};
|
|
4864
|
+
content: {
|
|
4865
|
+
"application/json": {
|
|
4866
|
+
apiKeys: components["schemas"]["ApiKey"][];
|
|
4867
|
+
};
|
|
4868
|
+
};
|
|
4869
|
+
};
|
|
4870
|
+
/** @description The request failed. Inspect error.message. */
|
|
4871
|
+
403: {
|
|
4872
|
+
headers: {
|
|
4873
|
+
[name: string]: unknown;
|
|
4874
|
+
};
|
|
4875
|
+
content: {
|
|
4876
|
+
"application/json": {
|
|
4877
|
+
error: {
|
|
4878
|
+
message: string;
|
|
4879
|
+
};
|
|
4880
|
+
};
|
|
4881
|
+
};
|
|
4882
|
+
};
|
|
4883
|
+
/** @description The request failed. Inspect error.message. */
|
|
4884
|
+
500: {
|
|
4885
|
+
headers: {
|
|
4886
|
+
[name: string]: unknown;
|
|
4887
|
+
};
|
|
4888
|
+
content: {
|
|
4889
|
+
"application/json": {
|
|
4890
|
+
error: {
|
|
4891
|
+
message: string;
|
|
4892
|
+
};
|
|
4893
|
+
};
|
|
4894
|
+
};
|
|
4895
|
+
};
|
|
4896
|
+
};
|
|
4897
|
+
};
|
|
4898
|
+
createApiKey: {
|
|
4899
|
+
parameters: {
|
|
4900
|
+
query?: never;
|
|
4901
|
+
header?: never;
|
|
4902
|
+
path: {
|
|
4903
|
+
orgId: string;
|
|
4904
|
+
};
|
|
4905
|
+
cookie?: never;
|
|
4906
|
+
};
|
|
4907
|
+
requestBody: {
|
|
4908
|
+
content: {
|
|
4909
|
+
"application/json": {
|
|
4910
|
+
name: string;
|
|
4911
|
+
expiresInDays?: number | null;
|
|
4912
|
+
scopes?: string[] | null;
|
|
4913
|
+
};
|
|
4914
|
+
};
|
|
4915
|
+
};
|
|
4916
|
+
responses: {
|
|
4917
|
+
/** @description Created key and its one-time secret token. */
|
|
4918
|
+
201: {
|
|
4919
|
+
headers: {
|
|
4920
|
+
[name: string]: unknown;
|
|
4921
|
+
};
|
|
4922
|
+
content: {
|
|
4923
|
+
"application/json": {
|
|
4924
|
+
apiKey: components["schemas"]["ApiKey"];
|
|
4925
|
+
token: string;
|
|
4926
|
+
};
|
|
4927
|
+
};
|
|
4928
|
+
};
|
|
4929
|
+
/** @description The request failed. Inspect error.message. */
|
|
4930
|
+
400: {
|
|
4931
|
+
headers: {
|
|
4932
|
+
[name: string]: unknown;
|
|
4933
|
+
};
|
|
4934
|
+
content: {
|
|
4935
|
+
"application/json": {
|
|
4936
|
+
error: {
|
|
4937
|
+
message: string;
|
|
4938
|
+
};
|
|
4939
|
+
};
|
|
4940
|
+
};
|
|
4941
|
+
};
|
|
4942
|
+
/** @description The request failed. Inspect error.message. */
|
|
4943
|
+
403: {
|
|
4944
|
+
headers: {
|
|
4945
|
+
[name: string]: unknown;
|
|
4946
|
+
};
|
|
4947
|
+
content: {
|
|
4948
|
+
"application/json": {
|
|
4949
|
+
error: {
|
|
4950
|
+
message: string;
|
|
4951
|
+
};
|
|
4952
|
+
};
|
|
4953
|
+
};
|
|
4954
|
+
};
|
|
4955
|
+
/** @description The request failed. Inspect error.message. */
|
|
4956
|
+
500: {
|
|
4957
|
+
headers: {
|
|
4958
|
+
[name: string]: unknown;
|
|
4959
|
+
};
|
|
4960
|
+
content: {
|
|
4961
|
+
"application/json": {
|
|
4962
|
+
error: {
|
|
4963
|
+
message: string;
|
|
4964
|
+
};
|
|
4965
|
+
};
|
|
4966
|
+
};
|
|
4967
|
+
};
|
|
4968
|
+
};
|
|
4969
|
+
};
|
|
4970
|
+
revokeApiKey: {
|
|
4971
|
+
parameters: {
|
|
4972
|
+
query?: never;
|
|
4973
|
+
header?: never;
|
|
4974
|
+
path: {
|
|
4975
|
+
orgId: string;
|
|
4976
|
+
keyId: string;
|
|
4977
|
+
};
|
|
4978
|
+
cookie?: never;
|
|
4979
|
+
};
|
|
4980
|
+
requestBody?: never;
|
|
4981
|
+
responses: {
|
|
4982
|
+
/** @description Key revoked. */
|
|
4983
|
+
200: {
|
|
4984
|
+
headers: {
|
|
4985
|
+
[name: string]: unknown;
|
|
4986
|
+
};
|
|
4987
|
+
content: {
|
|
4988
|
+
"application/json": {
|
|
4989
|
+
ok: boolean;
|
|
4990
|
+
};
|
|
4991
|
+
};
|
|
4992
|
+
};
|
|
4993
|
+
/** @description The request failed. Inspect error.message. */
|
|
4994
|
+
403: {
|
|
4995
|
+
headers: {
|
|
4996
|
+
[name: string]: unknown;
|
|
4997
|
+
};
|
|
4998
|
+
content: {
|
|
4999
|
+
"application/json": {
|
|
5000
|
+
error: {
|
|
5001
|
+
message: string;
|
|
5002
|
+
};
|
|
5003
|
+
};
|
|
5004
|
+
};
|
|
5005
|
+
};
|
|
5006
|
+
/** @description The request failed. Inspect error.message. */
|
|
5007
|
+
404: {
|
|
5008
|
+
headers: {
|
|
5009
|
+
[name: string]: unknown;
|
|
5010
|
+
};
|
|
5011
|
+
content: {
|
|
5012
|
+
"application/json": {
|
|
5013
|
+
error: {
|
|
5014
|
+
message: string;
|
|
5015
|
+
};
|
|
5016
|
+
};
|
|
5017
|
+
};
|
|
5018
|
+
};
|
|
5019
|
+
/** @description The request failed. Inspect error.message. */
|
|
5020
|
+
500: {
|
|
5021
|
+
headers: {
|
|
5022
|
+
[name: string]: unknown;
|
|
5023
|
+
};
|
|
5024
|
+
content: {
|
|
5025
|
+
"application/json": {
|
|
5026
|
+
error: {
|
|
5027
|
+
message: string;
|
|
5028
|
+
};
|
|
5029
|
+
};
|
|
5030
|
+
};
|
|
5031
|
+
};
|
|
5032
|
+
};
|
|
5033
|
+
};
|
|
5034
|
+
recoverAgentSession: {
|
|
5035
|
+
parameters: {
|
|
5036
|
+
query?: never;
|
|
5037
|
+
header?: never;
|
|
5038
|
+
path: {
|
|
5039
|
+
sessionId: string;
|
|
5040
|
+
};
|
|
5041
|
+
cookie?: never;
|
|
5042
|
+
};
|
|
5043
|
+
requestBody?: never;
|
|
5044
|
+
responses: {
|
|
5045
|
+
/** @description Bridge ready with its saved conversation. */
|
|
5046
|
+
200: {
|
|
5047
|
+
headers: {
|
|
5048
|
+
[name: string]: unknown;
|
|
5049
|
+
};
|
|
5050
|
+
content: {
|
|
5051
|
+
"application/json": components["schemas"]["AgentSessionState"];
|
|
5052
|
+
};
|
|
5053
|
+
};
|
|
5054
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5055
|
+
400: {
|
|
5056
|
+
headers: {
|
|
5057
|
+
[name: string]: unknown;
|
|
5058
|
+
};
|
|
5059
|
+
content: {
|
|
5060
|
+
"application/json": {
|
|
5061
|
+
error: {
|
|
5062
|
+
message: string;
|
|
5063
|
+
code?: string;
|
|
5064
|
+
};
|
|
5065
|
+
};
|
|
5066
|
+
};
|
|
5067
|
+
};
|
|
5068
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5069
|
+
403: {
|
|
5070
|
+
headers: {
|
|
5071
|
+
[name: string]: unknown;
|
|
5072
|
+
};
|
|
5073
|
+
content: {
|
|
5074
|
+
"application/json": {
|
|
5075
|
+
error: {
|
|
5076
|
+
message: string;
|
|
5077
|
+
code?: string;
|
|
5078
|
+
};
|
|
5079
|
+
};
|
|
5080
|
+
};
|
|
5081
|
+
};
|
|
5082
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5083
|
+
404: {
|
|
5084
|
+
headers: {
|
|
5085
|
+
[name: string]: unknown;
|
|
5086
|
+
};
|
|
5087
|
+
content: {
|
|
5088
|
+
"application/json": {
|
|
5089
|
+
error: {
|
|
5090
|
+
message: string;
|
|
5091
|
+
code?: string;
|
|
5092
|
+
};
|
|
5093
|
+
};
|
|
5094
|
+
};
|
|
5095
|
+
};
|
|
5096
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5097
|
+
409: {
|
|
5098
|
+
headers: {
|
|
5099
|
+
[name: string]: unknown;
|
|
5100
|
+
};
|
|
5101
|
+
content: {
|
|
5102
|
+
"application/json": {
|
|
5103
|
+
error: {
|
|
5104
|
+
message: string;
|
|
5105
|
+
code?: string;
|
|
5106
|
+
};
|
|
5107
|
+
};
|
|
5108
|
+
};
|
|
5109
|
+
};
|
|
5110
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5111
|
+
500: {
|
|
5112
|
+
headers: {
|
|
5113
|
+
[name: string]: unknown;
|
|
5114
|
+
};
|
|
5115
|
+
content: {
|
|
5116
|
+
"application/json": {
|
|
5117
|
+
error: {
|
|
5118
|
+
message: string;
|
|
5119
|
+
code?: string;
|
|
5120
|
+
};
|
|
5121
|
+
};
|
|
5122
|
+
};
|
|
5123
|
+
};
|
|
5124
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5125
|
+
503: {
|
|
5126
|
+
headers: {
|
|
5127
|
+
[name: string]: unknown;
|
|
5128
|
+
};
|
|
5129
|
+
content: {
|
|
5130
|
+
"application/json": {
|
|
5131
|
+
error: {
|
|
5132
|
+
message: string;
|
|
5133
|
+
code?: string;
|
|
5134
|
+
};
|
|
5135
|
+
};
|
|
5136
|
+
};
|
|
5137
|
+
};
|
|
5138
|
+
};
|
|
5139
|
+
};
|
|
5140
|
+
discoverAgentSessions: {
|
|
5141
|
+
parameters: {
|
|
5142
|
+
query?: {
|
|
5143
|
+
orgId?: string;
|
|
5144
|
+
projectId?: string;
|
|
5145
|
+
sandboxId?: string;
|
|
5146
|
+
after?: string;
|
|
5147
|
+
limit?: number;
|
|
5148
|
+
};
|
|
5149
|
+
header?: never;
|
|
5150
|
+
path?: never;
|
|
5151
|
+
cookie?: never;
|
|
5152
|
+
};
|
|
5153
|
+
requestBody?: never;
|
|
5154
|
+
responses: {
|
|
5155
|
+
/** @description Permission-filtered page. Follow nextCursor with after while hasMore is true. */
|
|
5156
|
+
200: {
|
|
5157
|
+
headers: {
|
|
5158
|
+
[name: string]: unknown;
|
|
5159
|
+
};
|
|
5160
|
+
content: {
|
|
5161
|
+
"application/json": {
|
|
5162
|
+
sessions: {
|
|
5163
|
+
id: string;
|
|
5164
|
+
org_id: string;
|
|
5165
|
+
project_id: string;
|
|
5166
|
+
sandbox_id: string | null;
|
|
5167
|
+
/** @enum {string} */
|
|
5168
|
+
agent: "claude" | "codex";
|
|
5169
|
+
/** @enum {string} */
|
|
5170
|
+
status: "active" | "closed";
|
|
5171
|
+
last_activity_at: string;
|
|
5172
|
+
sandbox_status: string | null;
|
|
5173
|
+
turn_id: string | null;
|
|
5174
|
+
/** @enum {string|null} */
|
|
5175
|
+
turn_state: "submitted" | "working" | "input-required" | "completed" | "failed" | "canceled" | null;
|
|
5176
|
+
needs_you: boolean;
|
|
5177
|
+
permissions: ("agent_session.read" | "agent_session.send" | "agent_session.approve")[];
|
|
5178
|
+
}[];
|
|
5179
|
+
nextCursor: string | null;
|
|
5180
|
+
hasMore: boolean;
|
|
5181
|
+
};
|
|
5182
|
+
};
|
|
5183
|
+
};
|
|
5184
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5185
|
+
400: {
|
|
5186
|
+
headers: {
|
|
5187
|
+
[name: string]: unknown;
|
|
5188
|
+
};
|
|
5189
|
+
content: {
|
|
5190
|
+
"application/json": {
|
|
5191
|
+
error: {
|
|
5192
|
+
message: string;
|
|
5193
|
+
code?: string;
|
|
5194
|
+
};
|
|
5195
|
+
};
|
|
5196
|
+
};
|
|
5197
|
+
};
|
|
5198
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5199
|
+
403: {
|
|
5200
|
+
headers: {
|
|
5201
|
+
[name: string]: unknown;
|
|
5202
|
+
};
|
|
5203
|
+
content: {
|
|
5204
|
+
"application/json": {
|
|
5205
|
+
error: {
|
|
5206
|
+
message: string;
|
|
5207
|
+
code?: string;
|
|
5208
|
+
};
|
|
5209
|
+
};
|
|
5210
|
+
};
|
|
5211
|
+
};
|
|
5212
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5213
|
+
404: {
|
|
5214
|
+
headers: {
|
|
5215
|
+
[name: string]: unknown;
|
|
5216
|
+
};
|
|
5217
|
+
content: {
|
|
5218
|
+
"application/json": {
|
|
5219
|
+
error: {
|
|
5220
|
+
message: string;
|
|
5221
|
+
code?: string;
|
|
5222
|
+
};
|
|
5223
|
+
};
|
|
5224
|
+
};
|
|
5225
|
+
};
|
|
5226
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5227
|
+
409: {
|
|
5228
|
+
headers: {
|
|
5229
|
+
[name: string]: unknown;
|
|
5230
|
+
};
|
|
5231
|
+
content: {
|
|
5232
|
+
"application/json": {
|
|
5233
|
+
error: {
|
|
5234
|
+
message: string;
|
|
5235
|
+
code?: string;
|
|
5236
|
+
};
|
|
5237
|
+
};
|
|
5238
|
+
};
|
|
5239
|
+
};
|
|
5240
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5241
|
+
500: {
|
|
5242
|
+
headers: {
|
|
5243
|
+
[name: string]: unknown;
|
|
5244
|
+
};
|
|
5245
|
+
content: {
|
|
5246
|
+
"application/json": {
|
|
5247
|
+
error: {
|
|
5248
|
+
message: string;
|
|
5249
|
+
code?: string;
|
|
5250
|
+
};
|
|
5251
|
+
};
|
|
5252
|
+
};
|
|
5253
|
+
};
|
|
5254
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5255
|
+
503: {
|
|
5256
|
+
headers: {
|
|
5257
|
+
[name: string]: unknown;
|
|
5258
|
+
};
|
|
5259
|
+
content: {
|
|
5260
|
+
"application/json": {
|
|
5261
|
+
error: {
|
|
5262
|
+
message: string;
|
|
5263
|
+
code?: string;
|
|
5264
|
+
};
|
|
5265
|
+
};
|
|
5266
|
+
};
|
|
5267
|
+
};
|
|
5268
|
+
};
|
|
5269
|
+
};
|
|
5270
|
+
createAgentSession: {
|
|
5271
|
+
parameters: {
|
|
5272
|
+
query?: never;
|
|
5273
|
+
header?: never;
|
|
5274
|
+
path: {
|
|
5275
|
+
sandboxId: string;
|
|
5276
|
+
};
|
|
5277
|
+
cookie?: never;
|
|
5278
|
+
};
|
|
5279
|
+
requestBody?: never;
|
|
5280
|
+
responses: {
|
|
5281
|
+
/** @description Bridge ready. */
|
|
5282
|
+
201: {
|
|
5283
|
+
headers: {
|
|
5284
|
+
[name: string]: unknown;
|
|
5285
|
+
};
|
|
5286
|
+
content: {
|
|
5287
|
+
"application/json": components["schemas"]["AgentSessionState"];
|
|
5288
|
+
};
|
|
5289
|
+
};
|
|
5290
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5291
|
+
400: {
|
|
5292
|
+
headers: {
|
|
5293
|
+
[name: string]: unknown;
|
|
5294
|
+
};
|
|
5295
|
+
content: {
|
|
5296
|
+
"application/json": {
|
|
5297
|
+
error: {
|
|
5298
|
+
message: string;
|
|
5299
|
+
code?: string;
|
|
5300
|
+
};
|
|
5301
|
+
};
|
|
5302
|
+
};
|
|
5303
|
+
};
|
|
5304
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5305
|
+
403: {
|
|
5306
|
+
headers: {
|
|
5307
|
+
[name: string]: unknown;
|
|
5308
|
+
};
|
|
5309
|
+
content: {
|
|
5310
|
+
"application/json": {
|
|
5311
|
+
error: {
|
|
5312
|
+
message: string;
|
|
5313
|
+
code?: string;
|
|
5314
|
+
};
|
|
5315
|
+
};
|
|
5316
|
+
};
|
|
5317
|
+
};
|
|
5318
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5319
|
+
404: {
|
|
5320
|
+
headers: {
|
|
5321
|
+
[name: string]: unknown;
|
|
5322
|
+
};
|
|
5323
|
+
content: {
|
|
5324
|
+
"application/json": {
|
|
5325
|
+
error: {
|
|
5326
|
+
message: string;
|
|
5327
|
+
code?: string;
|
|
5328
|
+
};
|
|
5329
|
+
};
|
|
5330
|
+
};
|
|
5331
|
+
};
|
|
5332
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5333
|
+
409: {
|
|
5334
|
+
headers: {
|
|
5335
|
+
[name: string]: unknown;
|
|
5336
|
+
};
|
|
5337
|
+
content: {
|
|
5338
|
+
"application/json": {
|
|
5339
|
+
error: {
|
|
5340
|
+
message: string;
|
|
5341
|
+
code?: string;
|
|
5342
|
+
};
|
|
5343
|
+
};
|
|
5344
|
+
};
|
|
5345
|
+
};
|
|
5346
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5347
|
+
500: {
|
|
5348
|
+
headers: {
|
|
5349
|
+
[name: string]: unknown;
|
|
5350
|
+
};
|
|
5351
|
+
content: {
|
|
5352
|
+
"application/json": {
|
|
5353
|
+
error: {
|
|
5354
|
+
message: string;
|
|
5355
|
+
code?: string;
|
|
5356
|
+
};
|
|
5357
|
+
};
|
|
5358
|
+
};
|
|
5359
|
+
};
|
|
5360
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5361
|
+
503: {
|
|
5362
|
+
headers: {
|
|
5363
|
+
[name: string]: unknown;
|
|
5364
|
+
};
|
|
5365
|
+
content: {
|
|
5366
|
+
"application/json": {
|
|
5367
|
+
error: {
|
|
5368
|
+
message: string;
|
|
5369
|
+
code?: string;
|
|
5370
|
+
};
|
|
5371
|
+
};
|
|
5372
|
+
};
|
|
5373
|
+
};
|
|
5374
|
+
};
|
|
5375
|
+
};
|
|
5376
|
+
listAgentSessions: {
|
|
5377
|
+
parameters: {
|
|
5378
|
+
query: {
|
|
5379
|
+
orgId: string;
|
|
5380
|
+
};
|
|
5381
|
+
header?: never;
|
|
5382
|
+
path: {
|
|
5383
|
+
projectId: string;
|
|
5384
|
+
};
|
|
5385
|
+
cookie?: never;
|
|
5386
|
+
};
|
|
5387
|
+
requestBody?: never;
|
|
5388
|
+
responses: {
|
|
5389
|
+
/** @description Most recent session index records. Read a session for reconciled turn state. */
|
|
5390
|
+
200: {
|
|
5391
|
+
headers: {
|
|
5392
|
+
[name: string]: unknown;
|
|
5393
|
+
};
|
|
5394
|
+
content: {
|
|
5395
|
+
"application/json": {
|
|
5396
|
+
sessions: ({
|
|
5397
|
+
id: string;
|
|
5398
|
+
org_id: string;
|
|
5399
|
+
project_id: string;
|
|
5400
|
+
sandbox_id: string | null;
|
|
5401
|
+
/** @enum {string} */
|
|
5402
|
+
agent: "claude" | "codex";
|
|
5403
|
+
/** @enum {string} */
|
|
5404
|
+
status: "active" | "closed";
|
|
5405
|
+
vendor_session_id: string | null;
|
|
5406
|
+
last_activity_at: string;
|
|
5407
|
+
} & {
|
|
5408
|
+
[key: string]: unknown;
|
|
5409
|
+
})[];
|
|
5410
|
+
};
|
|
5411
|
+
};
|
|
5412
|
+
};
|
|
5413
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5414
|
+
400: {
|
|
5415
|
+
headers: {
|
|
5416
|
+
[name: string]: unknown;
|
|
5417
|
+
};
|
|
5418
|
+
content: {
|
|
5419
|
+
"application/json": {
|
|
5420
|
+
error: {
|
|
5421
|
+
message: string;
|
|
5422
|
+
code?: string;
|
|
5423
|
+
};
|
|
5424
|
+
};
|
|
5425
|
+
};
|
|
5426
|
+
};
|
|
5427
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5428
|
+
403: {
|
|
5429
|
+
headers: {
|
|
5430
|
+
[name: string]: unknown;
|
|
5431
|
+
};
|
|
5432
|
+
content: {
|
|
5433
|
+
"application/json": {
|
|
5434
|
+
error: {
|
|
5435
|
+
message: string;
|
|
5436
|
+
code?: string;
|
|
5437
|
+
};
|
|
5438
|
+
};
|
|
5439
|
+
};
|
|
5440
|
+
};
|
|
5441
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5442
|
+
404: {
|
|
5443
|
+
headers: {
|
|
5444
|
+
[name: string]: unknown;
|
|
5445
|
+
};
|
|
5446
|
+
content: {
|
|
5447
|
+
"application/json": {
|
|
5448
|
+
error: {
|
|
5449
|
+
message: string;
|
|
5450
|
+
code?: string;
|
|
5451
|
+
};
|
|
5452
|
+
};
|
|
5453
|
+
};
|
|
5454
|
+
};
|
|
5455
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5456
|
+
409: {
|
|
5457
|
+
headers: {
|
|
5458
|
+
[name: string]: unknown;
|
|
5459
|
+
};
|
|
5460
|
+
content: {
|
|
5461
|
+
"application/json": {
|
|
5462
|
+
error: {
|
|
5463
|
+
message: string;
|
|
5464
|
+
code?: string;
|
|
5465
|
+
};
|
|
5466
|
+
};
|
|
5467
|
+
};
|
|
5468
|
+
};
|
|
5469
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5470
|
+
500: {
|
|
5471
|
+
headers: {
|
|
5472
|
+
[name: string]: unknown;
|
|
5473
|
+
};
|
|
5474
|
+
content: {
|
|
5475
|
+
"application/json": {
|
|
5476
|
+
error: {
|
|
5477
|
+
message: string;
|
|
5478
|
+
code?: string;
|
|
5479
|
+
};
|
|
5480
|
+
};
|
|
5481
|
+
};
|
|
5482
|
+
};
|
|
5483
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5484
|
+
503: {
|
|
5485
|
+
headers: {
|
|
5486
|
+
[name: string]: unknown;
|
|
5487
|
+
};
|
|
5488
|
+
content: {
|
|
5489
|
+
"application/json": {
|
|
5490
|
+
error: {
|
|
5491
|
+
message: string;
|
|
5492
|
+
code?: string;
|
|
5493
|
+
};
|
|
5494
|
+
};
|
|
5495
|
+
};
|
|
5496
|
+
};
|
|
5497
|
+
};
|
|
5498
|
+
};
|
|
5499
|
+
getAgentSession: {
|
|
5500
|
+
parameters: {
|
|
5501
|
+
query?: never;
|
|
5502
|
+
header?: never;
|
|
5503
|
+
path: {
|
|
5504
|
+
sessionId: string;
|
|
5505
|
+
};
|
|
5506
|
+
cookie?: never;
|
|
5507
|
+
};
|
|
5508
|
+
requestBody?: never;
|
|
5509
|
+
responses: {
|
|
5510
|
+
/** @description Reconciled state, including the most recent completed turn or pending approval. */
|
|
5511
|
+
200: {
|
|
5512
|
+
headers: {
|
|
5513
|
+
[name: string]: unknown;
|
|
5514
|
+
};
|
|
5515
|
+
content: {
|
|
5516
|
+
"application/json": components["schemas"]["AgentSessionState"];
|
|
5517
|
+
};
|
|
5518
|
+
};
|
|
5519
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5520
|
+
400: {
|
|
5521
|
+
headers: {
|
|
5522
|
+
[name: string]: unknown;
|
|
5523
|
+
};
|
|
5524
|
+
content: {
|
|
5525
|
+
"application/json": {
|
|
5526
|
+
error: {
|
|
5527
|
+
message: string;
|
|
5528
|
+
code?: string;
|
|
5529
|
+
};
|
|
5530
|
+
};
|
|
5531
|
+
};
|
|
5532
|
+
};
|
|
5533
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5534
|
+
403: {
|
|
5535
|
+
headers: {
|
|
5536
|
+
[name: string]: unknown;
|
|
5537
|
+
};
|
|
5538
|
+
content: {
|
|
5539
|
+
"application/json": {
|
|
5540
|
+
error: {
|
|
5541
|
+
message: string;
|
|
5542
|
+
code?: string;
|
|
5543
|
+
};
|
|
5544
|
+
};
|
|
5545
|
+
};
|
|
5546
|
+
};
|
|
5547
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5548
|
+
404: {
|
|
5549
|
+
headers: {
|
|
5550
|
+
[name: string]: unknown;
|
|
5551
|
+
};
|
|
5552
|
+
content: {
|
|
5553
|
+
"application/json": {
|
|
5554
|
+
error: {
|
|
5555
|
+
message: string;
|
|
5556
|
+
code?: string;
|
|
5557
|
+
};
|
|
5558
|
+
};
|
|
5559
|
+
};
|
|
5560
|
+
};
|
|
5561
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5562
|
+
409: {
|
|
5563
|
+
headers: {
|
|
5564
|
+
[name: string]: unknown;
|
|
5565
|
+
};
|
|
5566
|
+
content: {
|
|
5567
|
+
"application/json": {
|
|
5568
|
+
error: {
|
|
5569
|
+
message: string;
|
|
5570
|
+
code?: string;
|
|
5571
|
+
};
|
|
5572
|
+
};
|
|
5573
|
+
};
|
|
5574
|
+
};
|
|
5575
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5576
|
+
500: {
|
|
5577
|
+
headers: {
|
|
5578
|
+
[name: string]: unknown;
|
|
5579
|
+
};
|
|
5580
|
+
content: {
|
|
5581
|
+
"application/json": {
|
|
5582
|
+
error: {
|
|
5583
|
+
message: string;
|
|
5584
|
+
code?: string;
|
|
5585
|
+
};
|
|
5586
|
+
};
|
|
5587
|
+
};
|
|
5588
|
+
};
|
|
5589
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5590
|
+
503: {
|
|
5591
|
+
headers: {
|
|
5592
|
+
[name: string]: unknown;
|
|
5593
|
+
};
|
|
5594
|
+
content: {
|
|
5595
|
+
"application/json": {
|
|
5596
|
+
error: {
|
|
5597
|
+
message: string;
|
|
5598
|
+
code?: string;
|
|
5599
|
+
};
|
|
5600
|
+
};
|
|
5601
|
+
};
|
|
5602
|
+
};
|
|
5603
|
+
};
|
|
5604
|
+
};
|
|
5605
|
+
getAgentOutput: {
|
|
5606
|
+
parameters: {
|
|
5607
|
+
query?: {
|
|
5608
|
+
after?: number | null;
|
|
5609
|
+
limit?: number;
|
|
5610
|
+
};
|
|
5611
|
+
header?: never;
|
|
5612
|
+
path: {
|
|
5613
|
+
sessionId: string;
|
|
5614
|
+
};
|
|
5615
|
+
cookie?: never;
|
|
5616
|
+
};
|
|
5617
|
+
requestBody?: never;
|
|
5618
|
+
responses: {
|
|
5619
|
+
/** @description Replies read in the guest; each reader keeps its own nextCursor. Unavailable while asleep. Pages contain at most 128 Ki UTF-16 code units of text; a larger individual reply is explicitly marked truncated. */
|
|
5620
|
+
200: {
|
|
5621
|
+
headers: {
|
|
5622
|
+
[name: string]: unknown;
|
|
5623
|
+
};
|
|
5624
|
+
content: {
|
|
5625
|
+
"application/json": {
|
|
5626
|
+
messages: {
|
|
5627
|
+
seq: number;
|
|
5628
|
+
turnId: string | null;
|
|
5629
|
+
at: string;
|
|
5630
|
+
text: string;
|
|
5631
|
+
truncated: boolean;
|
|
5632
|
+
}[];
|
|
5633
|
+
nextCursor: number;
|
|
5634
|
+
hasMore: boolean;
|
|
5635
|
+
};
|
|
5636
|
+
};
|
|
5637
|
+
};
|
|
5638
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5639
|
+
400: {
|
|
5640
|
+
headers: {
|
|
5641
|
+
[name: string]: unknown;
|
|
5642
|
+
};
|
|
5643
|
+
content: {
|
|
5644
|
+
"application/json": {
|
|
5645
|
+
error: {
|
|
5646
|
+
message: string;
|
|
5647
|
+
code?: string;
|
|
5648
|
+
};
|
|
5649
|
+
};
|
|
5650
|
+
};
|
|
5651
|
+
};
|
|
5652
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5653
|
+
403: {
|
|
5654
|
+
headers: {
|
|
5655
|
+
[name: string]: unknown;
|
|
5656
|
+
};
|
|
5657
|
+
content: {
|
|
5658
|
+
"application/json": {
|
|
5659
|
+
error: {
|
|
5660
|
+
message: string;
|
|
5661
|
+
code?: string;
|
|
5662
|
+
};
|
|
5663
|
+
};
|
|
5664
|
+
};
|
|
5665
|
+
};
|
|
5666
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5667
|
+
404: {
|
|
5668
|
+
headers: {
|
|
5669
|
+
[name: string]: unknown;
|
|
5670
|
+
};
|
|
5671
|
+
content: {
|
|
5672
|
+
"application/json": {
|
|
5673
|
+
error: {
|
|
5674
|
+
message: string;
|
|
5675
|
+
code?: string;
|
|
5676
|
+
};
|
|
5677
|
+
};
|
|
5678
|
+
};
|
|
5679
|
+
};
|
|
5680
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5681
|
+
409: {
|
|
5682
|
+
headers: {
|
|
5683
|
+
[name: string]: unknown;
|
|
5684
|
+
};
|
|
5685
|
+
content: {
|
|
5686
|
+
"application/json": {
|
|
5687
|
+
error: {
|
|
5688
|
+
message: string;
|
|
5689
|
+
code?: string;
|
|
5690
|
+
};
|
|
5691
|
+
};
|
|
5692
|
+
};
|
|
5693
|
+
};
|
|
5694
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5695
|
+
500: {
|
|
5696
|
+
headers: {
|
|
5697
|
+
[name: string]: unknown;
|
|
5698
|
+
};
|
|
5699
|
+
content: {
|
|
5700
|
+
"application/json": {
|
|
5701
|
+
error: {
|
|
5702
|
+
message: string;
|
|
5703
|
+
code?: string;
|
|
5704
|
+
};
|
|
5705
|
+
};
|
|
5706
|
+
};
|
|
5707
|
+
};
|
|
5708
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5709
|
+
503: {
|
|
5710
|
+
headers: {
|
|
5711
|
+
[name: string]: unknown;
|
|
5712
|
+
};
|
|
5713
|
+
content: {
|
|
5714
|
+
"application/json": {
|
|
5715
|
+
error: {
|
|
5716
|
+
message: string;
|
|
5717
|
+
code?: string;
|
|
5718
|
+
};
|
|
5719
|
+
};
|
|
5720
|
+
};
|
|
5721
|
+
};
|
|
5722
|
+
};
|
|
5723
|
+
};
|
|
5724
|
+
sendAgentMessage: {
|
|
5725
|
+
parameters: {
|
|
5726
|
+
query?: never;
|
|
5727
|
+
header?: never;
|
|
5728
|
+
path: {
|
|
5729
|
+
sessionId: string;
|
|
5730
|
+
};
|
|
5731
|
+
cookie?: never;
|
|
5732
|
+
};
|
|
5733
|
+
requestBody: {
|
|
5734
|
+
content: {
|
|
5735
|
+
"application/json": {
|
|
5736
|
+
text: string;
|
|
5737
|
+
};
|
|
5738
|
+
};
|
|
5739
|
+
};
|
|
5740
|
+
responses: {
|
|
5741
|
+
/** @description Turn reserved and command enqueued. Poll getAgentSession and read replies with getAgentOutput. */
|
|
5742
|
+
202: {
|
|
5743
|
+
headers: {
|
|
5744
|
+
[name: string]: unknown;
|
|
5745
|
+
};
|
|
5746
|
+
content: {
|
|
5747
|
+
"application/json": {
|
|
5748
|
+
turnId: string;
|
|
5749
|
+
/** @enum {string} */
|
|
5750
|
+
state: "submitted";
|
|
5751
|
+
};
|
|
5752
|
+
};
|
|
5753
|
+
};
|
|
5754
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5755
|
+
400: {
|
|
5756
|
+
headers: {
|
|
5757
|
+
[name: string]: unknown;
|
|
5758
|
+
};
|
|
5759
|
+
content: {
|
|
5760
|
+
"application/json": {
|
|
5761
|
+
error: {
|
|
5762
|
+
message: string;
|
|
5763
|
+
code?: string;
|
|
5764
|
+
};
|
|
5765
|
+
};
|
|
5766
|
+
};
|
|
5767
|
+
};
|
|
5768
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5769
|
+
403: {
|
|
5770
|
+
headers: {
|
|
5771
|
+
[name: string]: unknown;
|
|
5772
|
+
};
|
|
5773
|
+
content: {
|
|
5774
|
+
"application/json": {
|
|
5775
|
+
error: {
|
|
5776
|
+
message: string;
|
|
5777
|
+
code?: string;
|
|
5778
|
+
};
|
|
5779
|
+
};
|
|
5780
|
+
};
|
|
5781
|
+
};
|
|
5782
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5783
|
+
404: {
|
|
5784
|
+
headers: {
|
|
5785
|
+
[name: string]: unknown;
|
|
5786
|
+
};
|
|
5787
|
+
content: {
|
|
5788
|
+
"application/json": {
|
|
5789
|
+
error: {
|
|
5790
|
+
message: string;
|
|
5791
|
+
code?: string;
|
|
5792
|
+
};
|
|
5793
|
+
};
|
|
5794
|
+
};
|
|
5795
|
+
};
|
|
5796
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5797
|
+
409: {
|
|
5798
|
+
headers: {
|
|
5799
|
+
[name: string]: unknown;
|
|
5800
|
+
};
|
|
5801
|
+
content: {
|
|
5802
|
+
"application/json": {
|
|
5803
|
+
error: {
|
|
5804
|
+
message: string;
|
|
5805
|
+
code?: string;
|
|
5806
|
+
};
|
|
5807
|
+
};
|
|
5808
|
+
};
|
|
5809
|
+
};
|
|
5810
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5811
|
+
500: {
|
|
5812
|
+
headers: {
|
|
5813
|
+
[name: string]: unknown;
|
|
5814
|
+
};
|
|
5815
|
+
content: {
|
|
5816
|
+
"application/json": {
|
|
5817
|
+
error: {
|
|
5818
|
+
message: string;
|
|
5819
|
+
code?: string;
|
|
5820
|
+
};
|
|
5821
|
+
};
|
|
5822
|
+
};
|
|
5823
|
+
};
|
|
5824
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5825
|
+
503: {
|
|
5826
|
+
headers: {
|
|
5827
|
+
[name: string]: unknown;
|
|
5828
|
+
};
|
|
5829
|
+
content: {
|
|
5830
|
+
"application/json": {
|
|
5831
|
+
error: {
|
|
5832
|
+
message: string;
|
|
5833
|
+
code?: string;
|
|
5834
|
+
};
|
|
5835
|
+
};
|
|
5836
|
+
};
|
|
5837
|
+
};
|
|
5838
|
+
};
|
|
5839
|
+
};
|
|
5840
|
+
answerAgentPrompt: {
|
|
5841
|
+
parameters: {
|
|
5842
|
+
query?: never;
|
|
5843
|
+
header?: never;
|
|
5844
|
+
path: {
|
|
5845
|
+
sessionId: string;
|
|
5846
|
+
};
|
|
5847
|
+
cookie?: never;
|
|
5848
|
+
};
|
|
5849
|
+
requestBody: {
|
|
5850
|
+
content: {
|
|
5851
|
+
"application/json": {
|
|
5852
|
+
requestId: string | number;
|
|
5853
|
+
/** @enum {string} */
|
|
5854
|
+
decision: "accept" | "decline" | "cancel";
|
|
5855
|
+
};
|
|
5856
|
+
};
|
|
5857
|
+
};
|
|
5858
|
+
responses: {
|
|
5859
|
+
/** @description Decision enqueued for this exact prompt. Requires agent_session.approve. */
|
|
5860
|
+
200: {
|
|
5861
|
+
headers: {
|
|
5862
|
+
[name: string]: unknown;
|
|
5863
|
+
};
|
|
5864
|
+
content: {
|
|
5865
|
+
"application/json": {
|
|
5866
|
+
accepted: boolean;
|
|
5867
|
+
};
|
|
5868
|
+
};
|
|
5869
|
+
};
|
|
5870
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5871
|
+
400: {
|
|
5872
|
+
headers: {
|
|
5873
|
+
[name: string]: unknown;
|
|
5874
|
+
};
|
|
5875
|
+
content: {
|
|
5876
|
+
"application/json": {
|
|
5877
|
+
error: {
|
|
5878
|
+
message: string;
|
|
5879
|
+
code?: string;
|
|
5880
|
+
};
|
|
5881
|
+
};
|
|
5882
|
+
};
|
|
5883
|
+
};
|
|
5884
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5885
|
+
403: {
|
|
5886
|
+
headers: {
|
|
5887
|
+
[name: string]: unknown;
|
|
5888
|
+
};
|
|
5889
|
+
content: {
|
|
5890
|
+
"application/json": {
|
|
5891
|
+
error: {
|
|
5892
|
+
message: string;
|
|
5893
|
+
code?: string;
|
|
5894
|
+
};
|
|
5895
|
+
};
|
|
5896
|
+
};
|
|
5897
|
+
};
|
|
5898
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5899
|
+
404: {
|
|
5900
|
+
headers: {
|
|
5901
|
+
[name: string]: unknown;
|
|
5902
|
+
};
|
|
5903
|
+
content: {
|
|
5904
|
+
"application/json": {
|
|
5905
|
+
error: {
|
|
5906
|
+
message: string;
|
|
5907
|
+
code?: string;
|
|
5908
|
+
};
|
|
5909
|
+
};
|
|
5910
|
+
};
|
|
5911
|
+
};
|
|
5912
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5913
|
+
409: {
|
|
5914
|
+
headers: {
|
|
5915
|
+
[name: string]: unknown;
|
|
5916
|
+
};
|
|
5917
|
+
content: {
|
|
5918
|
+
"application/json": {
|
|
5919
|
+
error: {
|
|
5920
|
+
message: string;
|
|
5921
|
+
code?: string;
|
|
5922
|
+
};
|
|
5923
|
+
};
|
|
5924
|
+
};
|
|
5925
|
+
};
|
|
5926
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5927
|
+
500: {
|
|
5928
|
+
headers: {
|
|
5929
|
+
[name: string]: unknown;
|
|
5930
|
+
};
|
|
5931
|
+
content: {
|
|
5932
|
+
"application/json": {
|
|
5933
|
+
error: {
|
|
5934
|
+
message: string;
|
|
5935
|
+
code?: string;
|
|
5936
|
+
};
|
|
5937
|
+
};
|
|
5938
|
+
};
|
|
5939
|
+
};
|
|
5940
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5941
|
+
503: {
|
|
5942
|
+
headers: {
|
|
5943
|
+
[name: string]: unknown;
|
|
5944
|
+
};
|
|
5945
|
+
content: {
|
|
5946
|
+
"application/json": {
|
|
5947
|
+
error: {
|
|
5948
|
+
message: string;
|
|
5949
|
+
code?: string;
|
|
5950
|
+
};
|
|
5951
|
+
};
|
|
5952
|
+
};
|
|
5953
|
+
};
|
|
5954
|
+
};
|
|
5955
|
+
};
|
|
5956
|
+
interruptAgentTurn: {
|
|
5957
|
+
parameters: {
|
|
5958
|
+
query?: never;
|
|
5959
|
+
header?: never;
|
|
5960
|
+
path: {
|
|
5961
|
+
sessionId: string;
|
|
5962
|
+
};
|
|
5963
|
+
cookie?: never;
|
|
5964
|
+
};
|
|
5965
|
+
requestBody?: never;
|
|
5966
|
+
responses: {
|
|
5967
|
+
/** @description Interrupt requested. Requires agent_session.send. */
|
|
5968
|
+
200: {
|
|
5969
|
+
headers: {
|
|
5970
|
+
[name: string]: unknown;
|
|
5971
|
+
};
|
|
5972
|
+
content: {
|
|
5973
|
+
"application/json": {
|
|
5974
|
+
accepted: boolean;
|
|
5975
|
+
};
|
|
5976
|
+
};
|
|
5977
|
+
};
|
|
5978
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5979
|
+
400: {
|
|
5980
|
+
headers: {
|
|
5981
|
+
[name: string]: unknown;
|
|
5982
|
+
};
|
|
5983
|
+
content: {
|
|
5984
|
+
"application/json": {
|
|
5985
|
+
error: {
|
|
5986
|
+
message: string;
|
|
5987
|
+
code?: string;
|
|
5988
|
+
};
|
|
5989
|
+
};
|
|
5990
|
+
};
|
|
5991
|
+
};
|
|
5992
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
5993
|
+
403: {
|
|
5994
|
+
headers: {
|
|
5995
|
+
[name: string]: unknown;
|
|
5996
|
+
};
|
|
5997
|
+
content: {
|
|
5998
|
+
"application/json": {
|
|
5999
|
+
error: {
|
|
6000
|
+
message: string;
|
|
6001
|
+
code?: string;
|
|
6002
|
+
};
|
|
6003
|
+
};
|
|
6004
|
+
};
|
|
6005
|
+
};
|
|
6006
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6007
|
+
404: {
|
|
6008
|
+
headers: {
|
|
6009
|
+
[name: string]: unknown;
|
|
6010
|
+
};
|
|
6011
|
+
content: {
|
|
6012
|
+
"application/json": {
|
|
6013
|
+
error: {
|
|
6014
|
+
message: string;
|
|
6015
|
+
code?: string;
|
|
6016
|
+
};
|
|
6017
|
+
};
|
|
6018
|
+
};
|
|
6019
|
+
};
|
|
6020
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6021
|
+
409: {
|
|
6022
|
+
headers: {
|
|
6023
|
+
[name: string]: unknown;
|
|
6024
|
+
};
|
|
6025
|
+
content: {
|
|
6026
|
+
"application/json": {
|
|
6027
|
+
error: {
|
|
6028
|
+
message: string;
|
|
6029
|
+
code?: string;
|
|
6030
|
+
};
|
|
6031
|
+
};
|
|
6032
|
+
};
|
|
6033
|
+
};
|
|
6034
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6035
|
+
500: {
|
|
6036
|
+
headers: {
|
|
6037
|
+
[name: string]: unknown;
|
|
6038
|
+
};
|
|
6039
|
+
content: {
|
|
6040
|
+
"application/json": {
|
|
6041
|
+
error: {
|
|
6042
|
+
message: string;
|
|
6043
|
+
code?: string;
|
|
6044
|
+
};
|
|
6045
|
+
};
|
|
6046
|
+
};
|
|
6047
|
+
};
|
|
6048
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6049
|
+
503: {
|
|
6050
|
+
headers: {
|
|
6051
|
+
[name: string]: unknown;
|
|
6052
|
+
};
|
|
6053
|
+
content: {
|
|
6054
|
+
"application/json": {
|
|
6055
|
+
error: {
|
|
6056
|
+
message: string;
|
|
6057
|
+
code?: string;
|
|
6058
|
+
};
|
|
6059
|
+
};
|
|
6060
|
+
};
|
|
6061
|
+
};
|
|
6062
|
+
};
|
|
6063
|
+
};
|
|
4216
6064
|
}
|
|
4217
6065
|
//# sourceMappingURL=schema.d.ts.map
|