@netlify/open-api 2.37.0 → 2.39.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/swagger.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "swagger": "2.0",
3
3
  "info": {
4
- "version": "2.37.0",
4
+ "version": "2.39.0",
5
5
  "title": "Netlify's API documentation",
6
6
  "description": "Netlify is a hosting service for the programmable web. It understands your documents and provides an API to handle atomic deploys of websites, manage form submissions, inject JavaScript snippets, and much more. This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.\n\nThis document is an OpenAPI reference for the Netlify API that you can explore. For more detailed instructions for common uses, please visit the [online documentation](https://www.netlify.com/docs/api/). Visit our Community forum to join the conversation about [understanding and using Netlify's API](https://community.netlify.com/t/common-issue-understanding-and-using-netlifys-api/160).\n\nAdditionally, we have two API clients for your convenience:\n- [Go Client](https://github.com/netlify/open-api#go-client)\n- [JS Client](https://github.com/netlify/build/tree/main/packages/js-client)",
7
7
  "termsOfService": "https://www.netlify.com/legal/terms-of-use/",
@@ -11664,90 +11664,87 @@
11664
11664
  "200": {
11665
11665
  "description": "OK",
11666
11666
  "schema": {
11667
- "type": "array",
11668
- "items": {
11669
- "type": "object",
11670
- "properties": {
11671
- "id": {
11672
- "type": "string"
11673
- },
11674
- "name": {
11675
- "type": "string"
11676
- },
11677
- "slug": {
11678
- "type": "string"
11679
- },
11680
- "type": {
11681
- "type": "string"
11682
- },
11683
- "capabilities": {
11684
- "type": "object",
11685
- "properties": {
11686
- "sites": {
11687
- "type": "object",
11688
- "properties": {
11689
- "included": {
11690
- "type": "integer"
11691
- },
11692
- "used": {
11693
- "type": "integer"
11694
- }
11667
+ "type": "object",
11668
+ "properties": {
11669
+ "id": {
11670
+ "type": "string"
11671
+ },
11672
+ "name": {
11673
+ "type": "string"
11674
+ },
11675
+ "slug": {
11676
+ "type": "string"
11677
+ },
11678
+ "type": {
11679
+ "type": "string"
11680
+ },
11681
+ "capabilities": {
11682
+ "type": "object",
11683
+ "properties": {
11684
+ "sites": {
11685
+ "type": "object",
11686
+ "properties": {
11687
+ "included": {
11688
+ "type": "integer"
11689
+ },
11690
+ "used": {
11691
+ "type": "integer"
11695
11692
  }
11696
- },
11697
- "collaborators": {
11698
- "type": "object",
11699
- "properties": {
11700
- "included": {
11701
- "type": "integer"
11702
- },
11703
- "used": {
11704
- "type": "integer"
11705
- }
11693
+ }
11694
+ },
11695
+ "collaborators": {
11696
+ "type": "object",
11697
+ "properties": {
11698
+ "included": {
11699
+ "type": "integer"
11700
+ },
11701
+ "used": {
11702
+ "type": "integer"
11706
11703
  }
11707
11704
  }
11708
11705
  }
11709
- },
11710
- "billing_name": {
11711
- "type": "string"
11712
- },
11713
- "billing_email": {
11714
- "type": "string"
11715
- },
11716
- "billing_details": {
11717
- "type": "string"
11718
- },
11719
- "billing_period": {
11720
- "type": "string"
11721
- },
11722
- "payment_method_id": {
11723
- "type": "string"
11724
- },
11725
- "type_name": {
11706
+ }
11707
+ },
11708
+ "billing_name": {
11709
+ "type": "string"
11710
+ },
11711
+ "billing_email": {
11712
+ "type": "string"
11713
+ },
11714
+ "billing_details": {
11715
+ "type": "string"
11716
+ },
11717
+ "billing_period": {
11718
+ "type": "string"
11719
+ },
11720
+ "payment_method_id": {
11721
+ "type": "string"
11722
+ },
11723
+ "type_name": {
11724
+ "type": "string"
11725
+ },
11726
+ "type_id": {
11727
+ "type": "string"
11728
+ },
11729
+ "owner_ids": {
11730
+ "type": "array",
11731
+ "items": {
11726
11732
  "type": "string"
11727
- },
11728
- "type_id": {
11733
+ }
11734
+ },
11735
+ "roles_allowed": {
11736
+ "type": "array",
11737
+ "items": {
11729
11738
  "type": "string"
11730
- },
11731
- "owner_ids": {
11732
- "type": "array",
11733
- "items": {
11734
- "type": "string"
11735
- }
11736
- },
11737
- "roles_allowed": {
11738
- "type": "array",
11739
- "items": {
11740
- "type": "string"
11741
- }
11742
- },
11743
- "created_at": {
11744
- "type": "string",
11745
- "format": "dateTime"
11746
- },
11747
- "updated_at": {
11748
- "type": "string",
11749
- "format": "dateTime"
11750
11739
  }
11740
+ },
11741
+ "created_at": {
11742
+ "type": "string",
11743
+ "format": "dateTime"
11744
+ },
11745
+ "updated_at": {
11746
+ "type": "string",
11747
+ "format": "dateTime"
11751
11748
  }
11752
11749
  }
11753
11750
  }
@@ -12058,6 +12055,1632 @@
12058
12055
  }
12059
12056
  }
12060
12057
  },
12058
+ "/agent_runners": {
12059
+ "get": {
12060
+ "operationId": "listAgentRunners",
12061
+ "tags": [
12062
+ "agentRunner"
12063
+ ],
12064
+ "parameters": [
12065
+ {
12066
+ "name": "account_id",
12067
+ "type": "string",
12068
+ "in": "query",
12069
+ "required": true
12070
+ },
12071
+ {
12072
+ "name": "site_id",
12073
+ "type": "string",
12074
+ "in": "query",
12075
+ "required": true
12076
+ },
12077
+ {
12078
+ "type": "integer",
12079
+ "format": "int32",
12080
+ "name": "page",
12081
+ "required": false,
12082
+ "in": "query"
12083
+ },
12084
+ {
12085
+ "type": "integer",
12086
+ "format": "int32",
12087
+ "name": "per_page",
12088
+ "required": false,
12089
+ "in": "query"
12090
+ },
12091
+ {
12092
+ "name": "state",
12093
+ "type": "string",
12094
+ "in": "query",
12095
+ "enum": [
12096
+ "live",
12097
+ "error"
12098
+ ]
12099
+ },
12100
+ {
12101
+ "name": "title",
12102
+ "type": "string",
12103
+ "in": "query"
12104
+ },
12105
+ {
12106
+ "name": "branch",
12107
+ "type": "string",
12108
+ "in": "query"
12109
+ },
12110
+ {
12111
+ "name": "result_branch",
12112
+ "type": "string",
12113
+ "in": "query"
12114
+ },
12115
+ {
12116
+ "name": "from",
12117
+ "type": "integer",
12118
+ "in": "query"
12119
+ },
12120
+ {
12121
+ "name": "to",
12122
+ "type": "integer",
12123
+ "in": "query"
12124
+ }
12125
+ ],
12126
+ "responses": {
12127
+ "200": {
12128
+ "description": "OK",
12129
+ "schema": {
12130
+ "type": "array",
12131
+ "items": {
12132
+ "type": "object",
12133
+ "properties": {
12134
+ "id": {
12135
+ "type": "string"
12136
+ },
12137
+ "site_id": {
12138
+ "type": "string"
12139
+ },
12140
+ "parent_agent_runner_id": {
12141
+ "type": "string"
12142
+ },
12143
+ "state": {
12144
+ "type": "string"
12145
+ },
12146
+ "created_at": {
12147
+ "type": "string",
12148
+ "format": "dateTime"
12149
+ },
12150
+ "updated_at": {
12151
+ "type": "string",
12152
+ "format": "dateTime"
12153
+ },
12154
+ "done_at": {
12155
+ "type": "string",
12156
+ "format": "dateTime"
12157
+ },
12158
+ "title": {
12159
+ "type": "string"
12160
+ },
12161
+ "branch": {
12162
+ "type": "string"
12163
+ },
12164
+ "result_branch": {
12165
+ "type": "string"
12166
+ },
12167
+ "pr_url": {
12168
+ "type": "string"
12169
+ },
12170
+ "pr_branch": {
12171
+ "type": "string"
12172
+ },
12173
+ "pr_state": {
12174
+ "type": "string"
12175
+ },
12176
+ "pr_number": {
12177
+ "type": "integer"
12178
+ },
12179
+ "pr_is_being_created": {
12180
+ "type": "boolean"
12181
+ },
12182
+ "pr_error": {
12183
+ "type": "string"
12184
+ },
12185
+ "current_task": {
12186
+ "type": "string"
12187
+ },
12188
+ "result_diff": {
12189
+ "type": "string"
12190
+ },
12191
+ "sha": {
12192
+ "type": "string"
12193
+ },
12194
+ "merge_commit_sha": {
12195
+ "type": "string"
12196
+ },
12197
+ "merge_commit_error": {
12198
+ "type": "string"
12199
+ },
12200
+ "merge_commit_is_being_created": {
12201
+ "type": "boolean"
12202
+ },
12203
+ "base_deploy_id": {
12204
+ "type": "string"
12205
+ },
12206
+ "attached_file_keys": {
12207
+ "type": "array",
12208
+ "items": {
12209
+ "type": "string"
12210
+ }
12211
+ },
12212
+ "active_session_created_at": {
12213
+ "type": "string",
12214
+ "format": "dateTime"
12215
+ },
12216
+ "latest_session_deploy_id": {
12217
+ "type": "string"
12218
+ },
12219
+ "latest_session_deploy_url": {
12220
+ "type": "string"
12221
+ },
12222
+ "user": {
12223
+ "type": "object",
12224
+ "properties": {
12225
+ "id": {
12226
+ "type": "string"
12227
+ },
12228
+ "full_name": {
12229
+ "type": "string"
12230
+ },
12231
+ "email": {
12232
+ "type": "string"
12233
+ },
12234
+ "avatar_url": {
12235
+ "type": "string"
12236
+ }
12237
+ }
12238
+ }
12239
+ }
12240
+ }
12241
+ }
12242
+ },
12243
+ "default": {
12244
+ "description": "error",
12245
+ "schema": {
12246
+ "type": "object",
12247
+ "required": [
12248
+ "message"
12249
+ ],
12250
+ "properties": {
12251
+ "code": {
12252
+ "type": "integer",
12253
+ "format": "int64"
12254
+ },
12255
+ "message": {
12256
+ "type": "string",
12257
+ "x-nullable": false
12258
+ }
12259
+ }
12260
+ }
12261
+ }
12262
+ }
12263
+ },
12264
+ "post": {
12265
+ "operationId": "createAgentRunner",
12266
+ "tags": [
12267
+ "agentRunner"
12268
+ ],
12269
+ "parameters": [
12270
+ {
12271
+ "name": "site_id",
12272
+ "type": "string",
12273
+ "in": "query",
12274
+ "required": true
12275
+ },
12276
+ {
12277
+ "name": "deploy_id",
12278
+ "type": "string",
12279
+ "in": "query"
12280
+ },
12281
+ {
12282
+ "name": "branch",
12283
+ "type": "string",
12284
+ "in": "query"
12285
+ },
12286
+ {
12287
+ "name": "prompt",
12288
+ "type": "string",
12289
+ "in": "query"
12290
+ },
12291
+ {
12292
+ "name": "agent",
12293
+ "type": "string",
12294
+ "in": "query"
12295
+ },
12296
+ {
12297
+ "name": "model",
12298
+ "type": "string",
12299
+ "in": "query"
12300
+ },
12301
+ {
12302
+ "name": "parent_agent_runner_id",
12303
+ "type": "string",
12304
+ "in": "query"
12305
+ },
12306
+ {
12307
+ "name": "dev_server_image",
12308
+ "type": "string",
12309
+ "in": "query"
12310
+ },
12311
+ {
12312
+ "name": "file_keys",
12313
+ "type": "array",
12314
+ "in": "query",
12315
+ "items": {
12316
+ "type": "string"
12317
+ }
12318
+ }
12319
+ ],
12320
+ "responses": {
12321
+ "200": {
12322
+ "description": "OK",
12323
+ "schema": {
12324
+ "type": "object",
12325
+ "properties": {
12326
+ "id": {
12327
+ "type": "string"
12328
+ },
12329
+ "site_id": {
12330
+ "type": "string"
12331
+ },
12332
+ "parent_agent_runner_id": {
12333
+ "type": "string"
12334
+ },
12335
+ "state": {
12336
+ "type": "string"
12337
+ },
12338
+ "created_at": {
12339
+ "type": "string",
12340
+ "format": "dateTime"
12341
+ },
12342
+ "updated_at": {
12343
+ "type": "string",
12344
+ "format": "dateTime"
12345
+ },
12346
+ "done_at": {
12347
+ "type": "string",
12348
+ "format": "dateTime"
12349
+ },
12350
+ "title": {
12351
+ "type": "string"
12352
+ },
12353
+ "branch": {
12354
+ "type": "string"
12355
+ },
12356
+ "result_branch": {
12357
+ "type": "string"
12358
+ },
12359
+ "pr_url": {
12360
+ "type": "string"
12361
+ },
12362
+ "pr_branch": {
12363
+ "type": "string"
12364
+ },
12365
+ "pr_state": {
12366
+ "type": "string"
12367
+ },
12368
+ "pr_number": {
12369
+ "type": "integer"
12370
+ },
12371
+ "pr_is_being_created": {
12372
+ "type": "boolean"
12373
+ },
12374
+ "pr_error": {
12375
+ "type": "string"
12376
+ },
12377
+ "current_task": {
12378
+ "type": "string"
12379
+ },
12380
+ "result_diff": {
12381
+ "type": "string"
12382
+ },
12383
+ "sha": {
12384
+ "type": "string"
12385
+ },
12386
+ "merge_commit_sha": {
12387
+ "type": "string"
12388
+ },
12389
+ "merge_commit_error": {
12390
+ "type": "string"
12391
+ },
12392
+ "merge_commit_is_being_created": {
12393
+ "type": "boolean"
12394
+ },
12395
+ "base_deploy_id": {
12396
+ "type": "string"
12397
+ },
12398
+ "attached_file_keys": {
12399
+ "type": "array",
12400
+ "items": {
12401
+ "type": "string"
12402
+ }
12403
+ },
12404
+ "active_session_created_at": {
12405
+ "type": "string",
12406
+ "format": "dateTime"
12407
+ },
12408
+ "latest_session_deploy_id": {
12409
+ "type": "string"
12410
+ },
12411
+ "latest_session_deploy_url": {
12412
+ "type": "string"
12413
+ },
12414
+ "user": {
12415
+ "type": "object",
12416
+ "properties": {
12417
+ "id": {
12418
+ "type": "string"
12419
+ },
12420
+ "full_name": {
12421
+ "type": "string"
12422
+ },
12423
+ "email": {
12424
+ "type": "string"
12425
+ },
12426
+ "avatar_url": {
12427
+ "type": "string"
12428
+ }
12429
+ }
12430
+ }
12431
+ }
12432
+ }
12433
+ },
12434
+ "404": {
12435
+ "description": "Not Found"
12436
+ },
12437
+ "422": {
12438
+ "description": "Unprocessable Entity"
12439
+ },
12440
+ "default": {
12441
+ "description": "error",
12442
+ "schema": {
12443
+ "type": "object",
12444
+ "required": [
12445
+ "message"
12446
+ ],
12447
+ "properties": {
12448
+ "code": {
12449
+ "type": "integer",
12450
+ "format": "int64"
12451
+ },
12452
+ "message": {
12453
+ "type": "string",
12454
+ "x-nullable": false
12455
+ }
12456
+ }
12457
+ }
12458
+ }
12459
+ }
12460
+ }
12461
+ },
12462
+ "/agent_runners/upload_url": {
12463
+ "post": {
12464
+ "x-internal": true,
12465
+ "operationId": "createAgentRunnerUploadUrl",
12466
+ "tags": [
12467
+ "agentRunner"
12468
+ ],
12469
+ "parameters": [
12470
+ {
12471
+ "name": "account_id",
12472
+ "type": "string",
12473
+ "in": "query",
12474
+ "required": true
12475
+ },
12476
+ {
12477
+ "name": "filename",
12478
+ "type": "string",
12479
+ "in": "query",
12480
+ "required": true
12481
+ },
12482
+ {
12483
+ "name": "content_type",
12484
+ "type": "string",
12485
+ "in": "query",
12486
+ "required": true
12487
+ }
12488
+ ],
12489
+ "responses": {
12490
+ "200": {
12491
+ "description": "OK"
12492
+ },
12493
+ "400": {
12494
+ "description": "Bad Request"
12495
+ },
12496
+ "422": {
12497
+ "description": "Unprocessable Entity"
12498
+ },
12499
+ "default": {
12500
+ "description": "error",
12501
+ "schema": {
12502
+ "type": "object",
12503
+ "required": [
12504
+ "message"
12505
+ ],
12506
+ "properties": {
12507
+ "code": {
12508
+ "type": "integer",
12509
+ "format": "int64"
12510
+ },
12511
+ "message": {
12512
+ "type": "string",
12513
+ "x-nullable": false
12514
+ }
12515
+ }
12516
+ }
12517
+ }
12518
+ }
12519
+ }
12520
+ },
12521
+ "/agent_runners/{agent_runner_id}": {
12522
+ "parameters": [
12523
+ {
12524
+ "name": "agent_runner_id",
12525
+ "type": "string",
12526
+ "in": "path",
12527
+ "required": true
12528
+ }
12529
+ ],
12530
+ "get": {
12531
+ "operationId": "getAgentRunner",
12532
+ "tags": [
12533
+ "agentRunner"
12534
+ ],
12535
+ "responses": {
12536
+ "200": {
12537
+ "description": "OK",
12538
+ "schema": {
12539
+ "type": "object",
12540
+ "properties": {
12541
+ "id": {
12542
+ "type": "string"
12543
+ },
12544
+ "site_id": {
12545
+ "type": "string"
12546
+ },
12547
+ "parent_agent_runner_id": {
12548
+ "type": "string"
12549
+ },
12550
+ "state": {
12551
+ "type": "string"
12552
+ },
12553
+ "created_at": {
12554
+ "type": "string",
12555
+ "format": "dateTime"
12556
+ },
12557
+ "updated_at": {
12558
+ "type": "string",
12559
+ "format": "dateTime"
12560
+ },
12561
+ "done_at": {
12562
+ "type": "string",
12563
+ "format": "dateTime"
12564
+ },
12565
+ "title": {
12566
+ "type": "string"
12567
+ },
12568
+ "branch": {
12569
+ "type": "string"
12570
+ },
12571
+ "result_branch": {
12572
+ "type": "string"
12573
+ },
12574
+ "pr_url": {
12575
+ "type": "string"
12576
+ },
12577
+ "pr_branch": {
12578
+ "type": "string"
12579
+ },
12580
+ "pr_state": {
12581
+ "type": "string"
12582
+ },
12583
+ "pr_number": {
12584
+ "type": "integer"
12585
+ },
12586
+ "pr_is_being_created": {
12587
+ "type": "boolean"
12588
+ },
12589
+ "pr_error": {
12590
+ "type": "string"
12591
+ },
12592
+ "current_task": {
12593
+ "type": "string"
12594
+ },
12595
+ "result_diff": {
12596
+ "type": "string"
12597
+ },
12598
+ "sha": {
12599
+ "type": "string"
12600
+ },
12601
+ "merge_commit_sha": {
12602
+ "type": "string"
12603
+ },
12604
+ "merge_commit_error": {
12605
+ "type": "string"
12606
+ },
12607
+ "merge_commit_is_being_created": {
12608
+ "type": "boolean"
12609
+ },
12610
+ "base_deploy_id": {
12611
+ "type": "string"
12612
+ },
12613
+ "attached_file_keys": {
12614
+ "type": "array",
12615
+ "items": {
12616
+ "type": "string"
12617
+ }
12618
+ },
12619
+ "active_session_created_at": {
12620
+ "type": "string",
12621
+ "format": "dateTime"
12622
+ },
12623
+ "latest_session_deploy_id": {
12624
+ "type": "string"
12625
+ },
12626
+ "latest_session_deploy_url": {
12627
+ "type": "string"
12628
+ },
12629
+ "user": {
12630
+ "type": "object",
12631
+ "properties": {
12632
+ "id": {
12633
+ "type": "string"
12634
+ },
12635
+ "full_name": {
12636
+ "type": "string"
12637
+ },
12638
+ "email": {
12639
+ "type": "string"
12640
+ },
12641
+ "avatar_url": {
12642
+ "type": "string"
12643
+ }
12644
+ }
12645
+ }
12646
+ }
12647
+ }
12648
+ },
12649
+ "default": {
12650
+ "description": "error",
12651
+ "schema": {
12652
+ "type": "object",
12653
+ "required": [
12654
+ "message"
12655
+ ],
12656
+ "properties": {
12657
+ "code": {
12658
+ "type": "integer",
12659
+ "format": "int64"
12660
+ },
12661
+ "message": {
12662
+ "type": "string",
12663
+ "x-nullable": false
12664
+ }
12665
+ }
12666
+ }
12667
+ }
12668
+ }
12669
+ },
12670
+ "patch": {
12671
+ "operationId": "updateAgentRunner",
12672
+ "tags": [
12673
+ "agentRunner"
12674
+ ],
12675
+ "responses": {
12676
+ "200": {
12677
+ "description": "OK",
12678
+ "schema": {
12679
+ "type": "object",
12680
+ "properties": {
12681
+ "id": {
12682
+ "type": "string"
12683
+ },
12684
+ "site_id": {
12685
+ "type": "string"
12686
+ },
12687
+ "parent_agent_runner_id": {
12688
+ "type": "string"
12689
+ },
12690
+ "state": {
12691
+ "type": "string"
12692
+ },
12693
+ "created_at": {
12694
+ "type": "string",
12695
+ "format": "dateTime"
12696
+ },
12697
+ "updated_at": {
12698
+ "type": "string",
12699
+ "format": "dateTime"
12700
+ },
12701
+ "done_at": {
12702
+ "type": "string",
12703
+ "format": "dateTime"
12704
+ },
12705
+ "title": {
12706
+ "type": "string"
12707
+ },
12708
+ "branch": {
12709
+ "type": "string"
12710
+ },
12711
+ "result_branch": {
12712
+ "type": "string"
12713
+ },
12714
+ "pr_url": {
12715
+ "type": "string"
12716
+ },
12717
+ "pr_branch": {
12718
+ "type": "string"
12719
+ },
12720
+ "pr_state": {
12721
+ "type": "string"
12722
+ },
12723
+ "pr_number": {
12724
+ "type": "integer"
12725
+ },
12726
+ "pr_is_being_created": {
12727
+ "type": "boolean"
12728
+ },
12729
+ "pr_error": {
12730
+ "type": "string"
12731
+ },
12732
+ "current_task": {
12733
+ "type": "string"
12734
+ },
12735
+ "result_diff": {
12736
+ "type": "string"
12737
+ },
12738
+ "sha": {
12739
+ "type": "string"
12740
+ },
12741
+ "merge_commit_sha": {
12742
+ "type": "string"
12743
+ },
12744
+ "merge_commit_error": {
12745
+ "type": "string"
12746
+ },
12747
+ "merge_commit_is_being_created": {
12748
+ "type": "boolean"
12749
+ },
12750
+ "base_deploy_id": {
12751
+ "type": "string"
12752
+ },
12753
+ "attached_file_keys": {
12754
+ "type": "array",
12755
+ "items": {
12756
+ "type": "string"
12757
+ }
12758
+ },
12759
+ "active_session_created_at": {
12760
+ "type": "string",
12761
+ "format": "dateTime"
12762
+ },
12763
+ "latest_session_deploy_id": {
12764
+ "type": "string"
12765
+ },
12766
+ "latest_session_deploy_url": {
12767
+ "type": "string"
12768
+ },
12769
+ "user": {
12770
+ "type": "object",
12771
+ "properties": {
12772
+ "id": {
12773
+ "type": "string"
12774
+ },
12775
+ "full_name": {
12776
+ "type": "string"
12777
+ },
12778
+ "email": {
12779
+ "type": "string"
12780
+ },
12781
+ "avatar_url": {
12782
+ "type": "string"
12783
+ }
12784
+ }
12785
+ }
12786
+ }
12787
+ }
12788
+ },
12789
+ "default": {
12790
+ "description": "error",
12791
+ "schema": {
12792
+ "type": "object",
12793
+ "required": [
12794
+ "message"
12795
+ ],
12796
+ "properties": {
12797
+ "code": {
12798
+ "type": "integer",
12799
+ "format": "int64"
12800
+ },
12801
+ "message": {
12802
+ "type": "string",
12803
+ "x-nullable": false
12804
+ }
12805
+ }
12806
+ }
12807
+ }
12808
+ }
12809
+ },
12810
+ "delete": {
12811
+ "operationId": "deleteAgentRunner",
12812
+ "tags": [
12813
+ "agentRunner"
12814
+ ],
12815
+ "responses": {
12816
+ "202": {
12817
+ "description": "Accepted"
12818
+ },
12819
+ "default": {
12820
+ "description": "error",
12821
+ "schema": {
12822
+ "type": "object",
12823
+ "required": [
12824
+ "message"
12825
+ ],
12826
+ "properties": {
12827
+ "code": {
12828
+ "type": "integer",
12829
+ "format": "int64"
12830
+ },
12831
+ "message": {
12832
+ "type": "string",
12833
+ "x-nullable": false
12834
+ }
12835
+ }
12836
+ }
12837
+ }
12838
+ }
12839
+ }
12840
+ },
12841
+ "/agent_runners/{agent_runner_id}/archive": {
12842
+ "parameters": [
12843
+ {
12844
+ "name": "agent_runner_id",
12845
+ "type": "string",
12846
+ "in": "path",
12847
+ "required": true
12848
+ }
12849
+ ],
12850
+ "post": {
12851
+ "operationId": "archiveAgentRunner",
12852
+ "tags": [
12853
+ "agentRunner"
12854
+ ],
12855
+ "responses": {
12856
+ "202": {
12857
+ "description": "Accepted"
12858
+ },
12859
+ "404": {
12860
+ "description": "Not Found"
12861
+ },
12862
+ "422": {
12863
+ "description": "Unprocessable Entity"
12864
+ },
12865
+ "default": {
12866
+ "description": "error",
12867
+ "schema": {
12868
+ "type": "object",
12869
+ "required": [
12870
+ "message"
12871
+ ],
12872
+ "properties": {
12873
+ "code": {
12874
+ "type": "integer",
12875
+ "format": "int64"
12876
+ },
12877
+ "message": {
12878
+ "type": "string",
12879
+ "x-nullable": false
12880
+ }
12881
+ }
12882
+ }
12883
+ }
12884
+ }
12885
+ }
12886
+ },
12887
+ "/agent_runners/{agent_runner_id}/pull_request": {
12888
+ "parameters": [
12889
+ {
12890
+ "name": "agent_runner_id",
12891
+ "type": "string",
12892
+ "in": "path",
12893
+ "required": true
12894
+ }
12895
+ ],
12896
+ "post": {
12897
+ "x-internal": true,
12898
+ "operationId": "agentRunnerPullRequest",
12899
+ "tags": [
12900
+ "agentRunner"
12901
+ ],
12902
+ "responses": {
12903
+ "200": {
12904
+ "description": "OK"
12905
+ },
12906
+ "400": {
12907
+ "description": "Bad Request"
12908
+ },
12909
+ "409": {
12910
+ "description": "Conflict"
12911
+ },
12912
+ "422": {
12913
+ "description": "Unprocessable Entity"
12914
+ },
12915
+ "default": {
12916
+ "description": "error",
12917
+ "schema": {
12918
+ "type": "object",
12919
+ "required": [
12920
+ "message"
12921
+ ],
12922
+ "properties": {
12923
+ "code": {
12924
+ "type": "integer",
12925
+ "format": "int64"
12926
+ },
12927
+ "message": {
12928
+ "type": "string",
12929
+ "x-nullable": false
12930
+ }
12931
+ }
12932
+ }
12933
+ }
12934
+ }
12935
+ }
12936
+ },
12937
+ "/agent_runners/{agent_runner_id}/commit": {
12938
+ "parameters": [
12939
+ {
12940
+ "name": "agent_runner_id",
12941
+ "type": "string",
12942
+ "in": "path",
12943
+ "required": true
12944
+ }
12945
+ ],
12946
+ "post": {
12947
+ "x-internal": true,
12948
+ "operationId": "agentRunnerCommitToBranch",
12949
+ "tags": [
12950
+ "agentRunner"
12951
+ ],
12952
+ "parameters": [
12953
+ {
12954
+ "name": "target_branch",
12955
+ "type": "string",
12956
+ "in": "query",
12957
+ "required": true
12958
+ }
12959
+ ],
12960
+ "responses": {
12961
+ "200": {
12962
+ "description": "OK"
12963
+ },
12964
+ "400": {
12965
+ "description": "Bad Request"
12966
+ },
12967
+ "409": {
12968
+ "description": "Conflict"
12969
+ },
12970
+ "422": {
12971
+ "description": "Unprocessable Entity"
12972
+ },
12973
+ "default": {
12974
+ "description": "error",
12975
+ "schema": {
12976
+ "type": "object",
12977
+ "required": [
12978
+ "message"
12979
+ ],
12980
+ "properties": {
12981
+ "code": {
12982
+ "type": "integer",
12983
+ "format": "int64"
12984
+ },
12985
+ "message": {
12986
+ "type": "string",
12987
+ "x-nullable": false
12988
+ }
12989
+ }
12990
+ }
12991
+ }
12992
+ }
12993
+ }
12994
+ },
12995
+ "/agent_runners/{agent_runner_id}/sessions": {
12996
+ "parameters": [
12997
+ {
12998
+ "name": "agent_runner_id",
12999
+ "type": "string",
13000
+ "in": "path",
13001
+ "required": true
13002
+ }
13003
+ ],
13004
+ "get": {
13005
+ "operationId": "listAgentRunnerSessions",
13006
+ "tags": [
13007
+ "agentRunnerSession"
13008
+ ],
13009
+ "parameters": [
13010
+ {
13011
+ "type": "integer",
13012
+ "format": "int32",
13013
+ "name": "page",
13014
+ "required": false,
13015
+ "in": "query"
13016
+ },
13017
+ {
13018
+ "type": "integer",
13019
+ "format": "int32",
13020
+ "name": "per_page",
13021
+ "required": false,
13022
+ "in": "query"
13023
+ },
13024
+ {
13025
+ "name": "state",
13026
+ "type": "string",
13027
+ "in": "query",
13028
+ "enum": [
13029
+ "live",
13030
+ "error"
13031
+ ]
13032
+ },
13033
+ {
13034
+ "name": "from",
13035
+ "type": "integer",
13036
+ "in": "query"
13037
+ },
13038
+ {
13039
+ "name": "to",
13040
+ "type": "integer",
13041
+ "in": "query"
13042
+ },
13043
+ {
13044
+ "name": "order_by",
13045
+ "type": "string",
13046
+ "in": "query",
13047
+ "enum": [
13048
+ "asc",
13049
+ "desc"
13050
+ ]
13051
+ }
13052
+ ],
13053
+ "responses": {
13054
+ "200": {
13055
+ "description": "OK",
13056
+ "schema": {
13057
+ "type": "array",
13058
+ "items": {
13059
+ "type": "object",
13060
+ "properties": {
13061
+ "id": {
13062
+ "type": "string"
13063
+ },
13064
+ "agent_runner_id": {
13065
+ "type": "string"
13066
+ },
13067
+ "dev_server_id": {
13068
+ "type": "string"
13069
+ },
13070
+ "state": {
13071
+ "type": "string"
13072
+ },
13073
+ "created_at": {
13074
+ "type": "string",
13075
+ "format": "dateTime"
13076
+ },
13077
+ "updated_at": {
13078
+ "type": "string",
13079
+ "format": "dateTime"
13080
+ },
13081
+ "done_at": {
13082
+ "type": "string",
13083
+ "format": "dateTime"
13084
+ },
13085
+ "title": {
13086
+ "type": "string"
13087
+ },
13088
+ "prompt": {
13089
+ "type": "string"
13090
+ },
13091
+ "agent_config": {
13092
+ "type": "object",
13093
+ "properties": {
13094
+ "agent": {
13095
+ "type": "string"
13096
+ },
13097
+ "model": {
13098
+ "type": "string"
13099
+ }
13100
+ }
13101
+ },
13102
+ "result": {
13103
+ "type": "string"
13104
+ },
13105
+ "result_diff": {
13106
+ "type": "string"
13107
+ },
13108
+ "commit_sha": {
13109
+ "type": "string"
13110
+ },
13111
+ "deploy_id": {
13112
+ "type": "string"
13113
+ },
13114
+ "deploy_url": {
13115
+ "type": "string"
13116
+ },
13117
+ "duration": {
13118
+ "type": "integer"
13119
+ },
13120
+ "steps": {
13121
+ "type": "array",
13122
+ "items": {
13123
+ "type": "object",
13124
+ "properties": {
13125
+ "title": {
13126
+ "type": "string"
13127
+ },
13128
+ "message": {
13129
+ "type": "string"
13130
+ }
13131
+ }
13132
+ }
13133
+ },
13134
+ "user": {
13135
+ "type": "object",
13136
+ "properties": {
13137
+ "id": {
13138
+ "type": "string"
13139
+ },
13140
+ "full_name": {
13141
+ "type": "string"
13142
+ },
13143
+ "email": {
13144
+ "type": "string"
13145
+ },
13146
+ "avatar_url": {
13147
+ "type": "string"
13148
+ }
13149
+ }
13150
+ },
13151
+ "attached_file_keys": {
13152
+ "type": "array",
13153
+ "items": {
13154
+ "type": "string"
13155
+ }
13156
+ },
13157
+ "result_zip_file_name": {
13158
+ "type": "string"
13159
+ },
13160
+ "is_published": {
13161
+ "type": "boolean"
13162
+ }
13163
+ }
13164
+ }
13165
+ }
13166
+ },
13167
+ "default": {
13168
+ "description": "error",
13169
+ "schema": {
13170
+ "type": "object",
13171
+ "required": [
13172
+ "message"
13173
+ ],
13174
+ "properties": {
13175
+ "code": {
13176
+ "type": "integer",
13177
+ "format": "int64"
13178
+ },
13179
+ "message": {
13180
+ "type": "string",
13181
+ "x-nullable": false
13182
+ }
13183
+ }
13184
+ }
13185
+ }
13186
+ }
13187
+ },
13188
+ "post": {
13189
+ "operationId": "createAgentRunnerSession",
13190
+ "tags": [
13191
+ "agentRunnerSession"
13192
+ ],
13193
+ "parameters": [
13194
+ {
13195
+ "name": "prompt",
13196
+ "type": "string",
13197
+ "in": "query"
13198
+ },
13199
+ {
13200
+ "name": "agent",
13201
+ "type": "string",
13202
+ "in": "query"
13203
+ },
13204
+ {
13205
+ "name": "model",
13206
+ "type": "string",
13207
+ "in": "query"
13208
+ },
13209
+ {
13210
+ "name": "file_keys",
13211
+ "type": "array",
13212
+ "in": "query",
13213
+ "items": {
13214
+ "type": "string"
13215
+ }
13216
+ }
13217
+ ],
13218
+ "responses": {
13219
+ "200": {
13220
+ "description": "OK",
13221
+ "schema": {
13222
+ "type": "object",
13223
+ "properties": {
13224
+ "id": {
13225
+ "type": "string"
13226
+ },
13227
+ "agent_runner_id": {
13228
+ "type": "string"
13229
+ },
13230
+ "dev_server_id": {
13231
+ "type": "string"
13232
+ },
13233
+ "state": {
13234
+ "type": "string"
13235
+ },
13236
+ "created_at": {
13237
+ "type": "string",
13238
+ "format": "dateTime"
13239
+ },
13240
+ "updated_at": {
13241
+ "type": "string",
13242
+ "format": "dateTime"
13243
+ },
13244
+ "done_at": {
13245
+ "type": "string",
13246
+ "format": "dateTime"
13247
+ },
13248
+ "title": {
13249
+ "type": "string"
13250
+ },
13251
+ "prompt": {
13252
+ "type": "string"
13253
+ },
13254
+ "agent_config": {
13255
+ "type": "object",
13256
+ "properties": {
13257
+ "agent": {
13258
+ "type": "string"
13259
+ },
13260
+ "model": {
13261
+ "type": "string"
13262
+ }
13263
+ }
13264
+ },
13265
+ "result": {
13266
+ "type": "string"
13267
+ },
13268
+ "result_diff": {
13269
+ "type": "string"
13270
+ },
13271
+ "commit_sha": {
13272
+ "type": "string"
13273
+ },
13274
+ "deploy_id": {
13275
+ "type": "string"
13276
+ },
13277
+ "deploy_url": {
13278
+ "type": "string"
13279
+ },
13280
+ "duration": {
13281
+ "type": "integer"
13282
+ },
13283
+ "steps": {
13284
+ "type": "array",
13285
+ "items": {
13286
+ "type": "object",
13287
+ "properties": {
13288
+ "title": {
13289
+ "type": "string"
13290
+ },
13291
+ "message": {
13292
+ "type": "string"
13293
+ }
13294
+ }
13295
+ }
13296
+ },
13297
+ "user": {
13298
+ "type": "object",
13299
+ "properties": {
13300
+ "id": {
13301
+ "type": "string"
13302
+ },
13303
+ "full_name": {
13304
+ "type": "string"
13305
+ },
13306
+ "email": {
13307
+ "type": "string"
13308
+ },
13309
+ "avatar_url": {
13310
+ "type": "string"
13311
+ }
13312
+ }
13313
+ },
13314
+ "attached_file_keys": {
13315
+ "type": "array",
13316
+ "items": {
13317
+ "type": "string"
13318
+ }
13319
+ },
13320
+ "result_zip_file_name": {
13321
+ "type": "string"
13322
+ },
13323
+ "is_published": {
13324
+ "type": "boolean"
13325
+ }
13326
+ }
13327
+ }
13328
+ },
13329
+ "404": {
13330
+ "description": "Not Found"
13331
+ },
13332
+ "422": {
13333
+ "description": "Unprocessable Entity"
13334
+ },
13335
+ "default": {
13336
+ "description": "error",
13337
+ "schema": {
13338
+ "type": "object",
13339
+ "required": [
13340
+ "message"
13341
+ ],
13342
+ "properties": {
13343
+ "code": {
13344
+ "type": "integer",
13345
+ "format": "int64"
13346
+ },
13347
+ "message": {
13348
+ "type": "string",
13349
+ "x-nullable": false
13350
+ }
13351
+ }
13352
+ }
13353
+ }
13354
+ }
13355
+ }
13356
+ },
13357
+ "/agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}": {
13358
+ "parameters": [
13359
+ {
13360
+ "name": "agent_runner_id",
13361
+ "type": "string",
13362
+ "in": "path",
13363
+ "required": true
13364
+ },
13365
+ {
13366
+ "name": "agent_runner_session_id",
13367
+ "type": "string",
13368
+ "in": "path",
13369
+ "required": true
13370
+ }
13371
+ ],
13372
+ "get": {
13373
+ "operationId": "getAgentRunnerSession",
13374
+ "tags": [
13375
+ "agentRunnerSession"
13376
+ ],
13377
+ "responses": {
13378
+ "200": {
13379
+ "description": "OK",
13380
+ "schema": {
13381
+ "type": "object",
13382
+ "properties": {
13383
+ "id": {
13384
+ "type": "string"
13385
+ },
13386
+ "agent_runner_id": {
13387
+ "type": "string"
13388
+ },
13389
+ "dev_server_id": {
13390
+ "type": "string"
13391
+ },
13392
+ "state": {
13393
+ "type": "string"
13394
+ },
13395
+ "created_at": {
13396
+ "type": "string",
13397
+ "format": "dateTime"
13398
+ },
13399
+ "updated_at": {
13400
+ "type": "string",
13401
+ "format": "dateTime"
13402
+ },
13403
+ "done_at": {
13404
+ "type": "string",
13405
+ "format": "dateTime"
13406
+ },
13407
+ "title": {
13408
+ "type": "string"
13409
+ },
13410
+ "prompt": {
13411
+ "type": "string"
13412
+ },
13413
+ "agent_config": {
13414
+ "type": "object",
13415
+ "properties": {
13416
+ "agent": {
13417
+ "type": "string"
13418
+ },
13419
+ "model": {
13420
+ "type": "string"
13421
+ }
13422
+ }
13423
+ },
13424
+ "result": {
13425
+ "type": "string"
13426
+ },
13427
+ "result_diff": {
13428
+ "type": "string"
13429
+ },
13430
+ "commit_sha": {
13431
+ "type": "string"
13432
+ },
13433
+ "deploy_id": {
13434
+ "type": "string"
13435
+ },
13436
+ "deploy_url": {
13437
+ "type": "string"
13438
+ },
13439
+ "duration": {
13440
+ "type": "integer"
13441
+ },
13442
+ "steps": {
13443
+ "type": "array",
13444
+ "items": {
13445
+ "type": "object",
13446
+ "properties": {
13447
+ "title": {
13448
+ "type": "string"
13449
+ },
13450
+ "message": {
13451
+ "type": "string"
13452
+ }
13453
+ }
13454
+ }
13455
+ },
13456
+ "user": {
13457
+ "type": "object",
13458
+ "properties": {
13459
+ "id": {
13460
+ "type": "string"
13461
+ },
13462
+ "full_name": {
13463
+ "type": "string"
13464
+ },
13465
+ "email": {
13466
+ "type": "string"
13467
+ },
13468
+ "avatar_url": {
13469
+ "type": "string"
13470
+ }
13471
+ }
13472
+ },
13473
+ "attached_file_keys": {
13474
+ "type": "array",
13475
+ "items": {
13476
+ "type": "string"
13477
+ }
13478
+ },
13479
+ "result_zip_file_name": {
13480
+ "type": "string"
13481
+ },
13482
+ "is_published": {
13483
+ "type": "boolean"
13484
+ }
13485
+ }
13486
+ }
13487
+ },
13488
+ "default": {
13489
+ "description": "error",
13490
+ "schema": {
13491
+ "type": "object",
13492
+ "required": [
13493
+ "message"
13494
+ ],
13495
+ "properties": {
13496
+ "code": {
13497
+ "type": "integer",
13498
+ "format": "int64"
13499
+ },
13500
+ "message": {
13501
+ "type": "string",
13502
+ "x-nullable": false
13503
+ }
13504
+ }
13505
+ }
13506
+ }
13507
+ }
13508
+ },
13509
+ "patch": {
13510
+ "operationId": "updateAgentRunnerSession",
13511
+ "tags": [
13512
+ "agentRunnerSession"
13513
+ ],
13514
+ "parameters": [
13515
+ {
13516
+ "name": "is_published",
13517
+ "type": "boolean",
13518
+ "in": "query"
13519
+ }
13520
+ ],
13521
+ "responses": {
13522
+ "200": {
13523
+ "description": "OK",
13524
+ "schema": {
13525
+ "type": "object",
13526
+ "properties": {
13527
+ "id": {
13528
+ "type": "string"
13529
+ },
13530
+ "agent_runner_id": {
13531
+ "type": "string"
13532
+ },
13533
+ "dev_server_id": {
13534
+ "type": "string"
13535
+ },
13536
+ "state": {
13537
+ "type": "string"
13538
+ },
13539
+ "created_at": {
13540
+ "type": "string",
13541
+ "format": "dateTime"
13542
+ },
13543
+ "updated_at": {
13544
+ "type": "string",
13545
+ "format": "dateTime"
13546
+ },
13547
+ "done_at": {
13548
+ "type": "string",
13549
+ "format": "dateTime"
13550
+ },
13551
+ "title": {
13552
+ "type": "string"
13553
+ },
13554
+ "prompt": {
13555
+ "type": "string"
13556
+ },
13557
+ "agent_config": {
13558
+ "type": "object",
13559
+ "properties": {
13560
+ "agent": {
13561
+ "type": "string"
13562
+ },
13563
+ "model": {
13564
+ "type": "string"
13565
+ }
13566
+ }
13567
+ },
13568
+ "result": {
13569
+ "type": "string"
13570
+ },
13571
+ "result_diff": {
13572
+ "type": "string"
13573
+ },
13574
+ "commit_sha": {
13575
+ "type": "string"
13576
+ },
13577
+ "deploy_id": {
13578
+ "type": "string"
13579
+ },
13580
+ "deploy_url": {
13581
+ "type": "string"
13582
+ },
13583
+ "duration": {
13584
+ "type": "integer"
13585
+ },
13586
+ "steps": {
13587
+ "type": "array",
13588
+ "items": {
13589
+ "type": "object",
13590
+ "properties": {
13591
+ "title": {
13592
+ "type": "string"
13593
+ },
13594
+ "message": {
13595
+ "type": "string"
13596
+ }
13597
+ }
13598
+ }
13599
+ },
13600
+ "user": {
13601
+ "type": "object",
13602
+ "properties": {
13603
+ "id": {
13604
+ "type": "string"
13605
+ },
13606
+ "full_name": {
13607
+ "type": "string"
13608
+ },
13609
+ "email": {
13610
+ "type": "string"
13611
+ },
13612
+ "avatar_url": {
13613
+ "type": "string"
13614
+ }
13615
+ }
13616
+ },
13617
+ "attached_file_keys": {
13618
+ "type": "array",
13619
+ "items": {
13620
+ "type": "string"
13621
+ }
13622
+ },
13623
+ "result_zip_file_name": {
13624
+ "type": "string"
13625
+ },
13626
+ "is_published": {
13627
+ "type": "boolean"
13628
+ }
13629
+ }
13630
+ }
13631
+ },
13632
+ "default": {
13633
+ "description": "error",
13634
+ "schema": {
13635
+ "type": "object",
13636
+ "required": [
13637
+ "message"
13638
+ ],
13639
+ "properties": {
13640
+ "code": {
13641
+ "type": "integer",
13642
+ "format": "int64"
13643
+ },
13644
+ "message": {
13645
+ "type": "string",
13646
+ "x-nullable": false
13647
+ }
13648
+ }
13649
+ }
13650
+ }
13651
+ }
13652
+ },
13653
+ "delete": {
13654
+ "operationId": "deleteAgentRunnerSession",
13655
+ "tags": [
13656
+ "agentRunnerSession"
13657
+ ],
13658
+ "responses": {
13659
+ "202": {
13660
+ "description": "Accepted"
13661
+ },
13662
+ "default": {
13663
+ "description": "error",
13664
+ "schema": {
13665
+ "type": "object",
13666
+ "required": [
13667
+ "message"
13668
+ ],
13669
+ "properties": {
13670
+ "code": {
13671
+ "type": "integer",
13672
+ "format": "int64"
13673
+ },
13674
+ "message": {
13675
+ "type": "string",
13676
+ "x-nullable": false
13677
+ }
13678
+ }
13679
+ }
13680
+ }
13681
+ }
13682
+ }
13683
+ },
12061
13684
  "/submissions/{submission_id}": {
12062
13685
  "parameters": [
12063
13686
  {
@@ -14924,6 +16547,39 @@
14924
16547
  }
14925
16548
  }
14926
16549
  }
16550
+ },
16551
+ "/ai-gateway/providers": {
16552
+ "get": {
16553
+ "responses": {
16554
+ "200": {
16555
+ "description": "The mapping of providers and supported models",
16556
+ "schema": {
16557
+ "type": "object",
16558
+ "properties": {
16559
+ "providers": {
16560
+ "additionalProperties": {
16561
+ "type": "object",
16562
+ "properties": {
16563
+ "token_env_var": {
16564
+ "type": "string"
16565
+ },
16566
+ "url_env_var": {
16567
+ "type": "string"
16568
+ },
16569
+ "models": {
16570
+ "type": "array",
16571
+ "items": {
16572
+ "type": "string"
16573
+ }
16574
+ }
16575
+ }
16576
+ }
16577
+ }
16578
+ }
16579
+ }
16580
+ }
16581
+ }
16582
+ }
14927
16583
  }
14928
16584
  },
14929
16585
  "definitions": {
@@ -17570,6 +19226,262 @@
17570
19226
  }
17571
19227
  }
17572
19228
  },
19229
+ "agentRunner": {
19230
+ "type": "object",
19231
+ "properties": {
19232
+ "id": {
19233
+ "type": "string"
19234
+ },
19235
+ "site_id": {
19236
+ "type": "string"
19237
+ },
19238
+ "parent_agent_runner_id": {
19239
+ "type": "string"
19240
+ },
19241
+ "state": {
19242
+ "type": "string"
19243
+ },
19244
+ "created_at": {
19245
+ "type": "string",
19246
+ "format": "dateTime"
19247
+ },
19248
+ "updated_at": {
19249
+ "type": "string",
19250
+ "format": "dateTime"
19251
+ },
19252
+ "done_at": {
19253
+ "type": "string",
19254
+ "format": "dateTime"
19255
+ },
19256
+ "title": {
19257
+ "type": "string"
19258
+ },
19259
+ "branch": {
19260
+ "type": "string"
19261
+ },
19262
+ "result_branch": {
19263
+ "type": "string"
19264
+ },
19265
+ "pr_url": {
19266
+ "type": "string"
19267
+ },
19268
+ "pr_branch": {
19269
+ "type": "string"
19270
+ },
19271
+ "pr_state": {
19272
+ "type": "string"
19273
+ },
19274
+ "pr_number": {
19275
+ "type": "integer"
19276
+ },
19277
+ "pr_is_being_created": {
19278
+ "type": "boolean"
19279
+ },
19280
+ "pr_error": {
19281
+ "type": "string"
19282
+ },
19283
+ "current_task": {
19284
+ "type": "string"
19285
+ },
19286
+ "result_diff": {
19287
+ "type": "string"
19288
+ },
19289
+ "sha": {
19290
+ "type": "string"
19291
+ },
19292
+ "merge_commit_sha": {
19293
+ "type": "string"
19294
+ },
19295
+ "merge_commit_error": {
19296
+ "type": "string"
19297
+ },
19298
+ "merge_commit_is_being_created": {
19299
+ "type": "boolean"
19300
+ },
19301
+ "base_deploy_id": {
19302
+ "type": "string"
19303
+ },
19304
+ "attached_file_keys": {
19305
+ "type": "array",
19306
+ "items": {
19307
+ "type": "string"
19308
+ }
19309
+ },
19310
+ "active_session_created_at": {
19311
+ "type": "string",
19312
+ "format": "dateTime"
19313
+ },
19314
+ "latest_session_deploy_id": {
19315
+ "type": "string"
19316
+ },
19317
+ "latest_session_deploy_url": {
19318
+ "type": "string"
19319
+ },
19320
+ "user": {
19321
+ "type": "object",
19322
+ "properties": {
19323
+ "id": {
19324
+ "type": "string"
19325
+ },
19326
+ "full_name": {
19327
+ "type": "string"
19328
+ },
19329
+ "email": {
19330
+ "type": "string"
19331
+ },
19332
+ "avatar_url": {
19333
+ "type": "string"
19334
+ }
19335
+ }
19336
+ }
19337
+ }
19338
+ },
19339
+ "agentRunnerSession": {
19340
+ "type": "object",
19341
+ "properties": {
19342
+ "id": {
19343
+ "type": "string"
19344
+ },
19345
+ "agent_runner_id": {
19346
+ "type": "string"
19347
+ },
19348
+ "dev_server_id": {
19349
+ "type": "string"
19350
+ },
19351
+ "state": {
19352
+ "type": "string"
19353
+ },
19354
+ "created_at": {
19355
+ "type": "string",
19356
+ "format": "dateTime"
19357
+ },
19358
+ "updated_at": {
19359
+ "type": "string",
19360
+ "format": "dateTime"
19361
+ },
19362
+ "done_at": {
19363
+ "type": "string",
19364
+ "format": "dateTime"
19365
+ },
19366
+ "title": {
19367
+ "type": "string"
19368
+ },
19369
+ "prompt": {
19370
+ "type": "string"
19371
+ },
19372
+ "agent_config": {
19373
+ "type": "object",
19374
+ "properties": {
19375
+ "agent": {
19376
+ "type": "string"
19377
+ },
19378
+ "model": {
19379
+ "type": "string"
19380
+ }
19381
+ }
19382
+ },
19383
+ "result": {
19384
+ "type": "string"
19385
+ },
19386
+ "result_diff": {
19387
+ "type": "string"
19388
+ },
19389
+ "commit_sha": {
19390
+ "type": "string"
19391
+ },
19392
+ "deploy_id": {
19393
+ "type": "string"
19394
+ },
19395
+ "deploy_url": {
19396
+ "type": "string"
19397
+ },
19398
+ "duration": {
19399
+ "type": "integer"
19400
+ },
19401
+ "steps": {
19402
+ "type": "array",
19403
+ "items": {
19404
+ "type": "object",
19405
+ "properties": {
19406
+ "title": {
19407
+ "type": "string"
19408
+ },
19409
+ "message": {
19410
+ "type": "string"
19411
+ }
19412
+ }
19413
+ }
19414
+ },
19415
+ "user": {
19416
+ "type": "object",
19417
+ "properties": {
19418
+ "id": {
19419
+ "type": "string"
19420
+ },
19421
+ "full_name": {
19422
+ "type": "string"
19423
+ },
19424
+ "email": {
19425
+ "type": "string"
19426
+ },
19427
+ "avatar_url": {
19428
+ "type": "string"
19429
+ }
19430
+ }
19431
+ },
19432
+ "attached_file_keys": {
19433
+ "type": "array",
19434
+ "items": {
19435
+ "type": "string"
19436
+ }
19437
+ },
19438
+ "result_zip_file_name": {
19439
+ "type": "string"
19440
+ },
19441
+ "is_published": {
19442
+ "type": "boolean"
19443
+ }
19444
+ }
19445
+ },
19446
+ "agentRunnerSessionStep": {
19447
+ "type": "object",
19448
+ "properties": {
19449
+ "title": {
19450
+ "type": "string"
19451
+ },
19452
+ "message": {
19453
+ "type": "string"
19454
+ }
19455
+ }
19456
+ },
19457
+ "agentRunnerSessionConfig": {
19458
+ "type": "object",
19459
+ "properties": {
19460
+ "agent": {
19461
+ "type": "string"
19462
+ },
19463
+ "model": {
19464
+ "type": "string"
19465
+ }
19466
+ }
19467
+ },
19468
+ "agentRunnerUser": {
19469
+ "type": "object",
19470
+ "properties": {
19471
+ "id": {
19472
+ "type": "string"
19473
+ },
19474
+ "full_name": {
19475
+ "type": "string"
19476
+ },
19477
+ "email": {
19478
+ "type": "string"
19479
+ },
19480
+ "avatar_url": {
19481
+ "type": "string"
19482
+ }
19483
+ }
19484
+ },
17573
19485
  "accountUsageCapability": {
17574
19486
  "type": "object",
17575
19487
  "properties": {
@@ -18114,6 +20026,23 @@
18114
20026
  ]
18115
20027
  }
18116
20028
  }
20029
+ },
20030
+ "providerDefinition": {
20031
+ "type": "object",
20032
+ "properties": {
20033
+ "token_env_var": {
20034
+ "type": "string"
20035
+ },
20036
+ "url_env_var": {
20037
+ "type": "string"
20038
+ },
20039
+ "models": {
20040
+ "type": "array",
20041
+ "items": {
20042
+ "type": "string"
20043
+ }
20044
+ }
20045
+ }
18117
20046
  }
18118
20047
  },
18119
20048
  "parameters": {