@netlify/open-api 2.38.0 → 2.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +430 -12
- package/dist/swagger.json +2007 -20
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -542,6 +542,73 @@ export interface paths {
|
|
|
542
542
|
};
|
|
543
543
|
};
|
|
544
544
|
};
|
|
545
|
+
"/agent_runners": {
|
|
546
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/listAgentRunners | `listAgentRunners`} */
|
|
547
|
+
get: operations["listAgentRunners"];
|
|
548
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/createAgentRunner | `createAgentRunner`} */
|
|
549
|
+
post: operations["createAgentRunner"];
|
|
550
|
+
};
|
|
551
|
+
"/agent_runners/{agent_runner_id}": {
|
|
552
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/getAgentRunner | `getAgentRunner`} */
|
|
553
|
+
get: operations["getAgentRunner"];
|
|
554
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/deleteAgentRunner | `deleteAgentRunner`} */
|
|
555
|
+
delete: operations["deleteAgentRunner"];
|
|
556
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/updateAgentRunner | `updateAgentRunner`} */
|
|
557
|
+
patch: operations["updateAgentRunner"];
|
|
558
|
+
parameters: {
|
|
559
|
+
path: {
|
|
560
|
+
agent_runner_id: string;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
"/agent_runners/{agent_runner_id}/archive": {
|
|
565
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/archiveAgentRunner | `archiveAgentRunner`} */
|
|
566
|
+
post: operations["archiveAgentRunner"];
|
|
567
|
+
parameters: {
|
|
568
|
+
path: {
|
|
569
|
+
agent_runner_id: string;
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
"/agent_runners/{agent_runner_id}/pull_request": {
|
|
574
|
+
parameters: {
|
|
575
|
+
path: {
|
|
576
|
+
agent_runner_id: string;
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
"/agent_runners/{agent_runner_id}/commit": {
|
|
581
|
+
parameters: {
|
|
582
|
+
path: {
|
|
583
|
+
agent_runner_id: string;
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
"/agent_runners/{agent_runner_id}/sessions": {
|
|
588
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/listAgentRunnerSessions | `listAgentRunnerSessions`} */
|
|
589
|
+
get: operations["listAgentRunnerSessions"];
|
|
590
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/createAgentRunnerSession | `createAgentRunnerSession`} */
|
|
591
|
+
post: operations["createAgentRunnerSession"];
|
|
592
|
+
parameters: {
|
|
593
|
+
path: {
|
|
594
|
+
agent_runner_id: string;
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
"/agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}": {
|
|
599
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/getAgentRunnerSession | `getAgentRunnerSession`} */
|
|
600
|
+
get: operations["getAgentRunnerSession"];
|
|
601
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/deleteAgentRunnerSession | `deleteAgentRunnerSession`} */
|
|
602
|
+
delete: operations["deleteAgentRunnerSession"];
|
|
603
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/updateAgentRunnerSession | `updateAgentRunnerSession`} */
|
|
604
|
+
patch: operations["updateAgentRunnerSession"];
|
|
605
|
+
parameters: {
|
|
606
|
+
path: {
|
|
607
|
+
agent_runner_id: string;
|
|
608
|
+
agent_runner_session_id: string;
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
};
|
|
545
612
|
"/submissions/{submission_id}": {
|
|
546
613
|
/** API Reference: {@link https://open-api.netlify.com/#tag/submission/operation/listFormSubmission | `listFormSubmission`} */
|
|
547
614
|
get: operations["listFormSubmission"];
|
|
@@ -775,18 +842,20 @@ export interface paths {
|
|
|
775
842
|
};
|
|
776
843
|
};
|
|
777
844
|
"/ai-gateway/providers": {
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
845
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/aiGateway/operation/getAIGatewayProviders | `getAIGatewayProviders`} */
|
|
846
|
+
get: operations["getAIGatewayProviders"];
|
|
847
|
+
};
|
|
848
|
+
"/api/v1/sites/{site_id}/ai-gateway/token": {
|
|
849
|
+
/**
|
|
850
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/aiGateway/operation/getAIGatewayToken | `getAIGatewayToken`}
|
|
851
|
+
*
|
|
852
|
+
* Returns an AI Gateway token for a specific site
|
|
853
|
+
*/
|
|
854
|
+
get: operations["getAIGatewayToken"];
|
|
855
|
+
parameters: {
|
|
856
|
+
path: {
|
|
857
|
+
/** The site ID */
|
|
858
|
+
site_id: string;
|
|
790
859
|
};
|
|
791
860
|
};
|
|
792
861
|
};
|
|
@@ -1364,6 +1433,80 @@ export interface components {
|
|
|
1364
1433
|
log_type?: string;
|
|
1365
1434
|
} & { [key: string]: { [key: string]: unknown } };
|
|
1366
1435
|
};
|
|
1436
|
+
agentRunner: {
|
|
1437
|
+
id?: string;
|
|
1438
|
+
site_id?: string;
|
|
1439
|
+
parent_agent_runner_id?: string;
|
|
1440
|
+
state?: string;
|
|
1441
|
+
/** Format: dateTime */
|
|
1442
|
+
created_at?: string;
|
|
1443
|
+
/** Format: dateTime */
|
|
1444
|
+
updated_at?: string;
|
|
1445
|
+
/** Format: dateTime */
|
|
1446
|
+
done_at?: string;
|
|
1447
|
+
title?: string;
|
|
1448
|
+
branch?: string;
|
|
1449
|
+
result_branch?: string;
|
|
1450
|
+
pr_url?: string;
|
|
1451
|
+
pr_branch?: string;
|
|
1452
|
+
pr_state?: string;
|
|
1453
|
+
pr_number?: number;
|
|
1454
|
+
pr_is_being_created?: boolean;
|
|
1455
|
+
pr_error?: string;
|
|
1456
|
+
current_task?: string;
|
|
1457
|
+
result_diff?: string;
|
|
1458
|
+
sha?: string;
|
|
1459
|
+
merge_commit_sha?: string;
|
|
1460
|
+
merge_commit_error?: string;
|
|
1461
|
+
merge_commit_is_being_created?: boolean;
|
|
1462
|
+
base_deploy_id?: string;
|
|
1463
|
+
attached_file_keys?: string[];
|
|
1464
|
+
/** Format: dateTime */
|
|
1465
|
+
active_session_created_at?: string;
|
|
1466
|
+
latest_session_deploy_id?: string;
|
|
1467
|
+
latest_session_deploy_url?: string;
|
|
1468
|
+
user?: components["schemas"]["agentRunnerUser"];
|
|
1469
|
+
};
|
|
1470
|
+
agentRunnerSession: {
|
|
1471
|
+
id?: string;
|
|
1472
|
+
agent_runner_id?: string;
|
|
1473
|
+
dev_server_id?: string;
|
|
1474
|
+
state?: string;
|
|
1475
|
+
/** Format: dateTime */
|
|
1476
|
+
created_at?: string;
|
|
1477
|
+
/** Format: dateTime */
|
|
1478
|
+
updated_at?: string;
|
|
1479
|
+
/** Format: dateTime */
|
|
1480
|
+
done_at?: string;
|
|
1481
|
+
title?: string;
|
|
1482
|
+
prompt?: string;
|
|
1483
|
+
agent_config?: components["schemas"]["agentRunnerSessionConfig"];
|
|
1484
|
+
result?: string;
|
|
1485
|
+
result_diff?: string;
|
|
1486
|
+
commit_sha?: string;
|
|
1487
|
+
deploy_id?: string;
|
|
1488
|
+
deploy_url?: string;
|
|
1489
|
+
duration?: number;
|
|
1490
|
+
steps?: components["schemas"]["agentRunnerSessionStep"][];
|
|
1491
|
+
user?: components["schemas"]["agentRunnerUser"];
|
|
1492
|
+
attached_file_keys?: string[];
|
|
1493
|
+
result_zip_file_name?: string;
|
|
1494
|
+
is_published?: boolean;
|
|
1495
|
+
};
|
|
1496
|
+
agentRunnerSessionStep: {
|
|
1497
|
+
title?: string;
|
|
1498
|
+
message?: string;
|
|
1499
|
+
};
|
|
1500
|
+
agentRunnerSessionConfig: {
|
|
1501
|
+
agent?: string;
|
|
1502
|
+
model?: string;
|
|
1503
|
+
};
|
|
1504
|
+
agentRunnerUser: {
|
|
1505
|
+
id?: string;
|
|
1506
|
+
full_name?: string;
|
|
1507
|
+
email?: string;
|
|
1508
|
+
avatar_url?: string;
|
|
1509
|
+
};
|
|
1367
1510
|
accountUsageCapability: {
|
|
1368
1511
|
included?: number;
|
|
1369
1512
|
used?: number;
|
|
@@ -1514,6 +1657,17 @@ export interface components {
|
|
|
1514
1657
|
url_env_var?: string;
|
|
1515
1658
|
models?: string[];
|
|
1516
1659
|
};
|
|
1660
|
+
aiGatewayToken: {
|
|
1661
|
+
/** @description The AI Gateway authentication token */
|
|
1662
|
+
token?: string;
|
|
1663
|
+
/** @description AI gateway base url */
|
|
1664
|
+
url?: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* Format: int64
|
|
1667
|
+
* @description Unix timestamp when the token expires
|
|
1668
|
+
*/
|
|
1669
|
+
expires_at?: number;
|
|
1670
|
+
};
|
|
1517
1671
|
};
|
|
1518
1672
|
responses: {
|
|
1519
1673
|
/** error */
|
|
@@ -3448,6 +3602,230 @@ export interface operations {
|
|
|
3448
3602
|
default: components["responses"]["error"];
|
|
3449
3603
|
};
|
|
3450
3604
|
};
|
|
3605
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/listAgentRunners | `listAgentRunners`} */
|
|
3606
|
+
listAgentRunners: {
|
|
3607
|
+
parameters: {
|
|
3608
|
+
query: {
|
|
3609
|
+
account_id: string;
|
|
3610
|
+
site_id: string;
|
|
3611
|
+
page?: components["parameters"]["page"];
|
|
3612
|
+
per_page?: components["parameters"]["perPage"];
|
|
3613
|
+
state?: "live" | "error";
|
|
3614
|
+
title?: string;
|
|
3615
|
+
branch?: string;
|
|
3616
|
+
result_branch?: string;
|
|
3617
|
+
from?: number;
|
|
3618
|
+
to?: number;
|
|
3619
|
+
};
|
|
3620
|
+
};
|
|
3621
|
+
responses: {
|
|
3622
|
+
/** OK */
|
|
3623
|
+
200: {
|
|
3624
|
+
content: {
|
|
3625
|
+
"application/json": components["schemas"]["agentRunner"][];
|
|
3626
|
+
};
|
|
3627
|
+
};
|
|
3628
|
+
default: components["responses"]["error"];
|
|
3629
|
+
};
|
|
3630
|
+
};
|
|
3631
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/createAgentRunner | `createAgentRunner`} */
|
|
3632
|
+
createAgentRunner: {
|
|
3633
|
+
parameters: {
|
|
3634
|
+
query: {
|
|
3635
|
+
site_id: string;
|
|
3636
|
+
deploy_id?: string;
|
|
3637
|
+
branch?: string;
|
|
3638
|
+
prompt?: string;
|
|
3639
|
+
agent?: string;
|
|
3640
|
+
model?: string;
|
|
3641
|
+
parent_agent_runner_id?: string;
|
|
3642
|
+
dev_server_image?: string;
|
|
3643
|
+
file_keys?: string[];
|
|
3644
|
+
};
|
|
3645
|
+
};
|
|
3646
|
+
responses: {
|
|
3647
|
+
/** OK */
|
|
3648
|
+
200: {
|
|
3649
|
+
content: {
|
|
3650
|
+
"application/json": components["schemas"]["agentRunner"];
|
|
3651
|
+
};
|
|
3652
|
+
};
|
|
3653
|
+
/** Not Found */
|
|
3654
|
+
404: unknown;
|
|
3655
|
+
/** Unprocessable Entity */
|
|
3656
|
+
422: unknown;
|
|
3657
|
+
default: components["responses"]["error"];
|
|
3658
|
+
};
|
|
3659
|
+
};
|
|
3660
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/getAgentRunner | `getAgentRunner`} */
|
|
3661
|
+
getAgentRunner: {
|
|
3662
|
+
parameters: {
|
|
3663
|
+
path: {
|
|
3664
|
+
agent_runner_id: string;
|
|
3665
|
+
};
|
|
3666
|
+
};
|
|
3667
|
+
responses: {
|
|
3668
|
+
/** OK */
|
|
3669
|
+
200: {
|
|
3670
|
+
content: {
|
|
3671
|
+
"application/json": components["schemas"]["agentRunner"];
|
|
3672
|
+
};
|
|
3673
|
+
};
|
|
3674
|
+
default: components["responses"]["error"];
|
|
3675
|
+
};
|
|
3676
|
+
};
|
|
3677
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/deleteAgentRunner | `deleteAgentRunner`} */
|
|
3678
|
+
deleteAgentRunner: {
|
|
3679
|
+
parameters: {
|
|
3680
|
+
path: {
|
|
3681
|
+
agent_runner_id: string;
|
|
3682
|
+
};
|
|
3683
|
+
};
|
|
3684
|
+
responses: {
|
|
3685
|
+
/** Accepted */
|
|
3686
|
+
202: unknown;
|
|
3687
|
+
default: components["responses"]["error"];
|
|
3688
|
+
};
|
|
3689
|
+
};
|
|
3690
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/updateAgentRunner | `updateAgentRunner`} */
|
|
3691
|
+
updateAgentRunner: {
|
|
3692
|
+
parameters: {
|
|
3693
|
+
path: {
|
|
3694
|
+
agent_runner_id: string;
|
|
3695
|
+
};
|
|
3696
|
+
};
|
|
3697
|
+
responses: {
|
|
3698
|
+
/** OK */
|
|
3699
|
+
200: {
|
|
3700
|
+
content: {
|
|
3701
|
+
"application/json": components["schemas"]["agentRunner"];
|
|
3702
|
+
};
|
|
3703
|
+
};
|
|
3704
|
+
default: components["responses"]["error"];
|
|
3705
|
+
};
|
|
3706
|
+
};
|
|
3707
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/archiveAgentRunner | `archiveAgentRunner`} */
|
|
3708
|
+
archiveAgentRunner: {
|
|
3709
|
+
parameters: {
|
|
3710
|
+
path: {
|
|
3711
|
+
agent_runner_id: string;
|
|
3712
|
+
};
|
|
3713
|
+
};
|
|
3714
|
+
responses: {
|
|
3715
|
+
/** Accepted */
|
|
3716
|
+
202: unknown;
|
|
3717
|
+
/** Not Found */
|
|
3718
|
+
404: unknown;
|
|
3719
|
+
/** Unprocessable Entity */
|
|
3720
|
+
422: unknown;
|
|
3721
|
+
default: components["responses"]["error"];
|
|
3722
|
+
};
|
|
3723
|
+
};
|
|
3724
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/listAgentRunnerSessions | `listAgentRunnerSessions`} */
|
|
3725
|
+
listAgentRunnerSessions: {
|
|
3726
|
+
parameters: {
|
|
3727
|
+
path: {
|
|
3728
|
+
agent_runner_id: string;
|
|
3729
|
+
};
|
|
3730
|
+
query: {
|
|
3731
|
+
page?: components["parameters"]["page"];
|
|
3732
|
+
per_page?: components["parameters"]["perPage"];
|
|
3733
|
+
state?: "live" | "error";
|
|
3734
|
+
from?: number;
|
|
3735
|
+
to?: number;
|
|
3736
|
+
order_by?: "asc" | "desc";
|
|
3737
|
+
};
|
|
3738
|
+
};
|
|
3739
|
+
responses: {
|
|
3740
|
+
/** OK */
|
|
3741
|
+
200: {
|
|
3742
|
+
content: {
|
|
3743
|
+
"application/json": components["schemas"]["agentRunnerSession"][];
|
|
3744
|
+
};
|
|
3745
|
+
};
|
|
3746
|
+
default: components["responses"]["error"];
|
|
3747
|
+
};
|
|
3748
|
+
};
|
|
3749
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/createAgentRunnerSession | `createAgentRunnerSession`} */
|
|
3750
|
+
createAgentRunnerSession: {
|
|
3751
|
+
parameters: {
|
|
3752
|
+
path: {
|
|
3753
|
+
agent_runner_id: string;
|
|
3754
|
+
};
|
|
3755
|
+
query: {
|
|
3756
|
+
prompt?: string;
|
|
3757
|
+
agent?: string;
|
|
3758
|
+
model?: string;
|
|
3759
|
+
file_keys?: string[];
|
|
3760
|
+
};
|
|
3761
|
+
};
|
|
3762
|
+
responses: {
|
|
3763
|
+
/** OK */
|
|
3764
|
+
200: {
|
|
3765
|
+
content: {
|
|
3766
|
+
"application/json": components["schemas"]["agentRunnerSession"];
|
|
3767
|
+
};
|
|
3768
|
+
};
|
|
3769
|
+
/** Not Found */
|
|
3770
|
+
404: unknown;
|
|
3771
|
+
/** Unprocessable Entity */
|
|
3772
|
+
422: unknown;
|
|
3773
|
+
default: components["responses"]["error"];
|
|
3774
|
+
};
|
|
3775
|
+
};
|
|
3776
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/getAgentRunnerSession | `getAgentRunnerSession`} */
|
|
3777
|
+
getAgentRunnerSession: {
|
|
3778
|
+
parameters: {
|
|
3779
|
+
path: {
|
|
3780
|
+
agent_runner_id: string;
|
|
3781
|
+
agent_runner_session_id: string;
|
|
3782
|
+
};
|
|
3783
|
+
};
|
|
3784
|
+
responses: {
|
|
3785
|
+
/** OK */
|
|
3786
|
+
200: {
|
|
3787
|
+
content: {
|
|
3788
|
+
"application/json": components["schemas"]["agentRunnerSession"];
|
|
3789
|
+
};
|
|
3790
|
+
};
|
|
3791
|
+
default: components["responses"]["error"];
|
|
3792
|
+
};
|
|
3793
|
+
};
|
|
3794
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/deleteAgentRunnerSession | `deleteAgentRunnerSession`} */
|
|
3795
|
+
deleteAgentRunnerSession: {
|
|
3796
|
+
parameters: {
|
|
3797
|
+
path: {
|
|
3798
|
+
agent_runner_id: string;
|
|
3799
|
+
agent_runner_session_id: string;
|
|
3800
|
+
};
|
|
3801
|
+
};
|
|
3802
|
+
responses: {
|
|
3803
|
+
/** Accepted */
|
|
3804
|
+
202: unknown;
|
|
3805
|
+
default: components["responses"]["error"];
|
|
3806
|
+
};
|
|
3807
|
+
};
|
|
3808
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/updateAgentRunnerSession | `updateAgentRunnerSession`} */
|
|
3809
|
+
updateAgentRunnerSession: {
|
|
3810
|
+
parameters: {
|
|
3811
|
+
path: {
|
|
3812
|
+
agent_runner_id: string;
|
|
3813
|
+
agent_runner_session_id: string;
|
|
3814
|
+
};
|
|
3815
|
+
query: {
|
|
3816
|
+
is_published?: boolean;
|
|
3817
|
+
};
|
|
3818
|
+
};
|
|
3819
|
+
responses: {
|
|
3820
|
+
/** OK */
|
|
3821
|
+
200: {
|
|
3822
|
+
content: {
|
|
3823
|
+
"application/json": components["schemas"]["agentRunnerSession"];
|
|
3824
|
+
};
|
|
3825
|
+
};
|
|
3826
|
+
default: components["responses"]["error"];
|
|
3827
|
+
};
|
|
3828
|
+
};
|
|
3451
3829
|
/** API Reference: {@link https://open-api.netlify.com/#tag/submission/operation/listFormSubmission | `listFormSubmission`} */
|
|
3452
3830
|
listFormSubmission: {
|
|
3453
3831
|
parameters: {
|
|
@@ -4048,6 +4426,46 @@ export interface operations {
|
|
|
4048
4426
|
default: components["responses"]["error"];
|
|
4049
4427
|
};
|
|
4050
4428
|
};
|
|
4429
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/aiGateway/operation/getAIGatewayProviders | `getAIGatewayProviders`} */
|
|
4430
|
+
getAIGatewayProviders: {
|
|
4431
|
+
responses: {
|
|
4432
|
+
/** The mapping of providers and supported models */
|
|
4433
|
+
200: {
|
|
4434
|
+
content: {
|
|
4435
|
+
"application/json": {
|
|
4436
|
+
providers?: {
|
|
4437
|
+
[key: string]: components["schemas"]["providerDefinition"];
|
|
4438
|
+
};
|
|
4439
|
+
};
|
|
4440
|
+
};
|
|
4441
|
+
};
|
|
4442
|
+
default: components["responses"]["error"];
|
|
4443
|
+
};
|
|
4444
|
+
};
|
|
4445
|
+
/**
|
|
4446
|
+
* API Reference: {@link https://open-api.netlify.com/#tag/aiGateway/operation/getAIGatewayToken | `getAIGatewayToken`}
|
|
4447
|
+
*
|
|
4448
|
+
* Returns an AI Gateway token for a specific site
|
|
4449
|
+
*/
|
|
4450
|
+
getAIGatewayToken: {
|
|
4451
|
+
parameters: {
|
|
4452
|
+
path: {
|
|
4453
|
+
/** The site ID */
|
|
4454
|
+
site_id: string;
|
|
4455
|
+
};
|
|
4456
|
+
};
|
|
4457
|
+
responses: {
|
|
4458
|
+
/** AI Gateway token for the site */
|
|
4459
|
+
200: {
|
|
4460
|
+
content: {
|
|
4461
|
+
"application/json": components["schemas"]["aiGatewayToken"];
|
|
4462
|
+
};
|
|
4463
|
+
};
|
|
4464
|
+
/** AI Gateway not available for this site */
|
|
4465
|
+
404: unknown;
|
|
4466
|
+
default: components["responses"]["error"];
|
|
4467
|
+
};
|
|
4468
|
+
};
|
|
4051
4469
|
}
|
|
4052
4470
|
|
|
4053
4471
|
export interface external {}
|