@ellipsis-dev/sdk 0.38.0 → 0.44.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/README.md +4 -3
- package/dist/index.d.ts +105 -48
- package/dist/index.js +90 -3
- package/dist/store/index.d.ts +9 -3
- package/dist/store/index.js +10 -2
- package/dist/stream/index.d.ts +1 -1
- package/dist/{types-D4cLMGUn.d.ts → types-Dwyd1Aud.d.ts} +529 -119
- package/package.json +1 -1
- package/schema/collection_frames.schema.json +19 -57
- package/schema/frames.schema.json +32 -57
- package/schema/lifecycle.schema.json +15 -1
- package/schema/openapi.v1.json +930 -125
package/schema/openapi.v1.json
CHANGED
|
@@ -5623,7 +5623,7 @@
|
|
|
5623
5623
|
},
|
|
5624
5624
|
"ComputeConfig-Input": {
|
|
5625
5625
|
"additionalProperties": false,
|
|
5626
|
-
"description": "
|
|
5626
|
+
"description": "The size and lifetime of the environment. Every field is optional. An\nomitted field takes the platform default (2 vCPUs, 4096 MiB, a 4h timeout,\n10m idle). A value outside the platform bounds fails validation.\n\n`memory` accepts a string such as `8GB` or an object such as `{gb: 8}`.\n`timeout` and `idle` accept a duration string such as `30m`, `8h`, or\n`1h30m`.\n\n`timeout` is the longest one message's work may run before it is stopped,\n1m to 22h, default 4h. The message ends `stopped` with reason `timeout`.\n\n`idle` is how long the environment stays awake after the agent finishes\nwith no message waiting, 10s to 1h, default 10m. Then it pauses, and the\nnext message resumes it. Only an interactive session pauses. A session\nthat runs once ends when its message ends.",
|
|
5627
5627
|
"properties": {
|
|
5628
5628
|
"cpu": {
|
|
5629
5629
|
"anyOf": [
|
|
@@ -5638,6 +5638,17 @@
|
|
|
5638
5638
|
],
|
|
5639
5639
|
"title": "Cpu"
|
|
5640
5640
|
},
|
|
5641
|
+
"idle": {
|
|
5642
|
+
"anyOf": [
|
|
5643
|
+
{
|
|
5644
|
+
"type": "string"
|
|
5645
|
+
},
|
|
5646
|
+
{
|
|
5647
|
+
"type": "null"
|
|
5648
|
+
}
|
|
5649
|
+
],
|
|
5650
|
+
"title": "Idle"
|
|
5651
|
+
},
|
|
5641
5652
|
"memory": {
|
|
5642
5653
|
"anyOf": [
|
|
5643
5654
|
{
|
|
@@ -5657,9 +5668,6 @@
|
|
|
5657
5668
|
{
|
|
5658
5669
|
"type": "string"
|
|
5659
5670
|
},
|
|
5660
|
-
{
|
|
5661
|
-
"$ref": "#/components/schemas/Duration-Input"
|
|
5662
|
-
},
|
|
5663
5671
|
{
|
|
5664
5672
|
"type": "null"
|
|
5665
5673
|
}
|
|
@@ -5672,7 +5680,7 @@
|
|
|
5672
5680
|
},
|
|
5673
5681
|
"ComputeConfig-Output": {
|
|
5674
5682
|
"additionalProperties": false,
|
|
5675
|
-
"description": "
|
|
5683
|
+
"description": "The size and lifetime of the environment. Every field is optional. An\nomitted field takes the platform default (2 vCPUs, 4096 MiB, a 4h timeout,\n10m idle). A value outside the platform bounds fails validation.\n\n`memory` accepts a string such as `8GB` or an object such as `{gb: 8}`.\n`timeout` and `idle` accept a duration string such as `30m`, `8h`, or\n`1h30m`.\n\n`timeout` is the longest one message's work may run before it is stopped,\n1m to 22h, default 4h. The message ends `stopped` with reason `timeout`.\n\n`idle` is how long the environment stays awake after the agent finishes\nwith no message waiting, 10s to 1h, default 10m. Then it pauses, and the\nnext message resumes it. Only an interactive session pauses. A session\nthat runs once ends when its message ends.",
|
|
5676
5684
|
"properties": {
|
|
5677
5685
|
"cpu": {
|
|
5678
5686
|
"anyOf": [
|
|
@@ -5687,6 +5695,17 @@
|
|
|
5687
5695
|
],
|
|
5688
5696
|
"title": "Cpu"
|
|
5689
5697
|
},
|
|
5698
|
+
"idle": {
|
|
5699
|
+
"anyOf": [
|
|
5700
|
+
{
|
|
5701
|
+
"type": "string"
|
|
5702
|
+
},
|
|
5703
|
+
{
|
|
5704
|
+
"type": "null"
|
|
5705
|
+
}
|
|
5706
|
+
],
|
|
5707
|
+
"title": "Idle"
|
|
5708
|
+
},
|
|
5690
5709
|
"memory": {
|
|
5691
5710
|
"anyOf": [
|
|
5692
5711
|
{
|
|
@@ -5706,9 +5725,6 @@
|
|
|
5706
5725
|
{
|
|
5707
5726
|
"type": "string"
|
|
5708
5727
|
},
|
|
5709
|
-
{
|
|
5710
|
-
"$ref": "#/components/schemas/Duration-Output"
|
|
5711
|
-
},
|
|
5712
5728
|
{
|
|
5713
5729
|
"type": "null"
|
|
5714
5730
|
}
|
|
@@ -5718,6 +5734,7 @@
|
|
|
5718
5734
|
},
|
|
5719
5735
|
"required": [
|
|
5720
5736
|
"cpu",
|
|
5737
|
+
"idle",
|
|
5721
5738
|
"memory",
|
|
5722
5739
|
"timeout"
|
|
5723
5740
|
],
|
|
@@ -6165,7 +6182,9 @@
|
|
|
6165
6182
|
"github_installation_unsuspended",
|
|
6166
6183
|
"credit_granted",
|
|
6167
6184
|
"refund_issued",
|
|
6168
|
-
"auto_recharge_updated"
|
|
6185
|
+
"auto_recharge_updated",
|
|
6186
|
+
"platform_fee_updated",
|
|
6187
|
+
"github_proxy_updated"
|
|
6169
6188
|
],
|
|
6170
6189
|
"title": "CustomerAuditLogEventType",
|
|
6171
6190
|
"type": "string"
|
|
@@ -6543,99 +6562,6 @@
|
|
|
6543
6562
|
"title": "DeveloperUsage",
|
|
6544
6563
|
"type": "object"
|
|
6545
6564
|
},
|
|
6546
|
-
"Duration-Input": {
|
|
6547
|
-
"additionalProperties": false,
|
|
6548
|
-
"description": "A duration as explicit units, summed. Set any of `hours`/`minutes`/\n`seconds` (at least one). The alternative to the `30m`-style shorthand\nstring wherever a duration is accepted.",
|
|
6549
|
-
"properties": {
|
|
6550
|
-
"hours": {
|
|
6551
|
-
"anyOf": [
|
|
6552
|
-
{
|
|
6553
|
-
"minimum": 0.0,
|
|
6554
|
-
"type": "integer"
|
|
6555
|
-
},
|
|
6556
|
-
{
|
|
6557
|
-
"type": "null"
|
|
6558
|
-
}
|
|
6559
|
-
],
|
|
6560
|
-
"title": "Hours"
|
|
6561
|
-
},
|
|
6562
|
-
"minutes": {
|
|
6563
|
-
"anyOf": [
|
|
6564
|
-
{
|
|
6565
|
-
"minimum": 0.0,
|
|
6566
|
-
"type": "integer"
|
|
6567
|
-
},
|
|
6568
|
-
{
|
|
6569
|
-
"type": "null"
|
|
6570
|
-
}
|
|
6571
|
-
],
|
|
6572
|
-
"title": "Minutes"
|
|
6573
|
-
},
|
|
6574
|
-
"seconds": {
|
|
6575
|
-
"anyOf": [
|
|
6576
|
-
{
|
|
6577
|
-
"minimum": 0.0,
|
|
6578
|
-
"type": "integer"
|
|
6579
|
-
},
|
|
6580
|
-
{
|
|
6581
|
-
"type": "null"
|
|
6582
|
-
}
|
|
6583
|
-
],
|
|
6584
|
-
"title": "Seconds"
|
|
6585
|
-
}
|
|
6586
|
-
},
|
|
6587
|
-
"title": "Duration",
|
|
6588
|
-
"type": "object"
|
|
6589
|
-
},
|
|
6590
|
-
"Duration-Output": {
|
|
6591
|
-
"additionalProperties": false,
|
|
6592
|
-
"description": "A duration as explicit units, summed. Set any of `hours`/`minutes`/\n`seconds` (at least one). The alternative to the `30m`-style shorthand\nstring wherever a duration is accepted.",
|
|
6593
|
-
"properties": {
|
|
6594
|
-
"hours": {
|
|
6595
|
-
"anyOf": [
|
|
6596
|
-
{
|
|
6597
|
-
"minimum": 0.0,
|
|
6598
|
-
"type": "integer"
|
|
6599
|
-
},
|
|
6600
|
-
{
|
|
6601
|
-
"type": "null"
|
|
6602
|
-
}
|
|
6603
|
-
],
|
|
6604
|
-
"title": "Hours"
|
|
6605
|
-
},
|
|
6606
|
-
"minutes": {
|
|
6607
|
-
"anyOf": [
|
|
6608
|
-
{
|
|
6609
|
-
"minimum": 0.0,
|
|
6610
|
-
"type": "integer"
|
|
6611
|
-
},
|
|
6612
|
-
{
|
|
6613
|
-
"type": "null"
|
|
6614
|
-
}
|
|
6615
|
-
],
|
|
6616
|
-
"title": "Minutes"
|
|
6617
|
-
},
|
|
6618
|
-
"seconds": {
|
|
6619
|
-
"anyOf": [
|
|
6620
|
-
{
|
|
6621
|
-
"minimum": 0.0,
|
|
6622
|
-
"type": "integer"
|
|
6623
|
-
},
|
|
6624
|
-
{
|
|
6625
|
-
"type": "null"
|
|
6626
|
-
}
|
|
6627
|
-
],
|
|
6628
|
-
"title": "Seconds"
|
|
6629
|
-
}
|
|
6630
|
-
},
|
|
6631
|
-
"required": [
|
|
6632
|
-
"hours",
|
|
6633
|
-
"minutes",
|
|
6634
|
-
"seconds"
|
|
6635
|
-
],
|
|
6636
|
-
"title": "Duration",
|
|
6637
|
-
"type": "object"
|
|
6638
|
-
},
|
|
6639
6565
|
"EffortLevel": {
|
|
6640
6566
|
"enum": [
|
|
6641
6567
|
"low",
|
|
@@ -8145,7 +8071,8 @@
|
|
|
8145
8071
|
"unsupported_configuration",
|
|
8146
8072
|
"execution_disabled",
|
|
8147
8073
|
"interrupted",
|
|
8148
|
-
"stopped"
|
|
8074
|
+
"stopped",
|
|
8075
|
+
"timeout"
|
|
8149
8076
|
],
|
|
8150
8077
|
"title": "ErrorReason",
|
|
8151
8078
|
"type": "string"
|
|
@@ -13983,6 +13910,68 @@
|
|
|
13983
13910
|
"title": "PatchAccountSettingsRequest",
|
|
13984
13911
|
"type": "object"
|
|
13985
13912
|
},
|
|
13913
|
+
"PatchUserSettingsRequest": {
|
|
13914
|
+
"additionalProperties": false,
|
|
13915
|
+
"description": "Change the keys sent; every other key stays as it is.",
|
|
13916
|
+
"properties": {
|
|
13917
|
+
"web": {
|
|
13918
|
+
"anyOf": [
|
|
13919
|
+
{
|
|
13920
|
+
"$ref": "#/components/schemas/PatchUserSettingsWeb"
|
|
13921
|
+
},
|
|
13922
|
+
{
|
|
13923
|
+
"type": "null"
|
|
13924
|
+
}
|
|
13925
|
+
]
|
|
13926
|
+
}
|
|
13927
|
+
},
|
|
13928
|
+
"title": "PatchUserSettingsRequest",
|
|
13929
|
+
"type": "object"
|
|
13930
|
+
},
|
|
13931
|
+
"PatchUserSettingsWeb": {
|
|
13932
|
+
"additionalProperties": false,
|
|
13933
|
+
"properties": {
|
|
13934
|
+
"ui": {
|
|
13935
|
+
"anyOf": [
|
|
13936
|
+
{
|
|
13937
|
+
"$ref": "#/components/schemas/PatchUserSettingsWebUi"
|
|
13938
|
+
},
|
|
13939
|
+
{
|
|
13940
|
+
"type": "null"
|
|
13941
|
+
}
|
|
13942
|
+
]
|
|
13943
|
+
}
|
|
13944
|
+
},
|
|
13945
|
+
"title": "PatchUserSettingsWeb",
|
|
13946
|
+
"type": "object"
|
|
13947
|
+
},
|
|
13948
|
+
"PatchUserSettingsWebUi": {
|
|
13949
|
+
"additionalProperties": false,
|
|
13950
|
+
"properties": {
|
|
13951
|
+
"density": {
|
|
13952
|
+
"anyOf": [
|
|
13953
|
+
{
|
|
13954
|
+
"$ref": "#/components/schemas/UiSize"
|
|
13955
|
+
},
|
|
13956
|
+
{
|
|
13957
|
+
"type": "null"
|
|
13958
|
+
}
|
|
13959
|
+
]
|
|
13960
|
+
},
|
|
13961
|
+
"font_size": {
|
|
13962
|
+
"anyOf": [
|
|
13963
|
+
{
|
|
13964
|
+
"$ref": "#/components/schemas/UiSize"
|
|
13965
|
+
},
|
|
13966
|
+
{
|
|
13967
|
+
"type": "null"
|
|
13968
|
+
}
|
|
13969
|
+
]
|
|
13970
|
+
}
|
|
13971
|
+
},
|
|
13972
|
+
"title": "PatchUserSettingsWebUi",
|
|
13973
|
+
"type": "object"
|
|
13974
|
+
},
|
|
13986
13975
|
"PermissionsConfig-Input": {
|
|
13987
13976
|
"additionalProperties": false,
|
|
13988
13977
|
"description": "What the agent is allowed to touch, per credential the platform mints\ninto its session's environment. Distinct from `environment:`, which is\nwhere the agent runs; this is what it may do from there.\n\n`ellipsis` scopes the session's Ellipsis API token (`ELLIPSIS_API_TOKEN`,\nwhat the `ellipsis` CLI running inside the session authenticates with).\n`true` / the string `all` (the default) grant the full session token\nceiling \u2014 everything a session token can ever do. A map narrows it per\nresource (see `EllipsisPermissions`); the minted token carries\nthe intersection, so a config can only ever reduce access. `false` fails\nvalidation \u2014 an agent with no API token cannot report its own progress.\n\n`github` scopes the session's GitHub installation token (`GH_TOKEN`) \u2014\nsee `GithubPermissions`. GitHub enforces it at mint time.",
|
|
@@ -14124,6 +14113,135 @@
|
|
|
14124
14113
|
"title": "PromptBlockedReason",
|
|
14125
14114
|
"type": "string"
|
|
14126
14115
|
},
|
|
14116
|
+
"ProxyRequest": {
|
|
14117
|
+
"description": "One request an environment sent through Ellipsis to GitHub, as the\nproxy recorded it.",
|
|
14118
|
+
"properties": {
|
|
14119
|
+
"connection": {
|
|
14120
|
+
"description": "Where it went. `github` today.",
|
|
14121
|
+
"title": "Connection",
|
|
14122
|
+
"type": "string"
|
|
14123
|
+
},
|
|
14124
|
+
"created_at": {
|
|
14125
|
+
"description": "When the request ended.",
|
|
14126
|
+
"format": "date-time",
|
|
14127
|
+
"title": "Created At",
|
|
14128
|
+
"type": "string"
|
|
14129
|
+
},
|
|
14130
|
+
"customer_id": {
|
|
14131
|
+
"anyOf": [
|
|
14132
|
+
{
|
|
14133
|
+
"type": "string"
|
|
14134
|
+
},
|
|
14135
|
+
{
|
|
14136
|
+
"type": "null"
|
|
14137
|
+
}
|
|
14138
|
+
],
|
|
14139
|
+
"description": "The account.",
|
|
14140
|
+
"title": "Customer Id"
|
|
14141
|
+
},
|
|
14142
|
+
"duration_ms": {
|
|
14143
|
+
"description": "Milliseconds from arrival to the end.",
|
|
14144
|
+
"title": "Duration Ms",
|
|
14145
|
+
"type": "integer"
|
|
14146
|
+
},
|
|
14147
|
+
"id": {
|
|
14148
|
+
"title": "Id",
|
|
14149
|
+
"type": "string"
|
|
14150
|
+
},
|
|
14151
|
+
"method": {
|
|
14152
|
+
"description": "The HTTP method as the environment sent it.",
|
|
14153
|
+
"title": "Method",
|
|
14154
|
+
"type": "string"
|
|
14155
|
+
},
|
|
14156
|
+
"path": {
|
|
14157
|
+
"description": "The path as the environment sent it.",
|
|
14158
|
+
"title": "Path",
|
|
14159
|
+
"type": "string"
|
|
14160
|
+
},
|
|
14161
|
+
"reason": {
|
|
14162
|
+
"anyOf": [
|
|
14163
|
+
{
|
|
14164
|
+
"type": "string"
|
|
14165
|
+
},
|
|
14166
|
+
{
|
|
14167
|
+
"type": "null"
|
|
14168
|
+
}
|
|
14169
|
+
],
|
|
14170
|
+
"description": "Why Ellipsis answered itself or the transfer ended early, null when GitHub answered in full.",
|
|
14171
|
+
"title": "Reason"
|
|
14172
|
+
},
|
|
14173
|
+
"request_bytes": {
|
|
14174
|
+
"anyOf": [
|
|
14175
|
+
{
|
|
14176
|
+
"type": "integer"
|
|
14177
|
+
},
|
|
14178
|
+
{
|
|
14179
|
+
"type": "null"
|
|
14180
|
+
}
|
|
14181
|
+
],
|
|
14182
|
+
"description": "Body bytes sent, null when none was read.",
|
|
14183
|
+
"title": "Request Bytes"
|
|
14184
|
+
},
|
|
14185
|
+
"response_bytes": {
|
|
14186
|
+
"anyOf": [
|
|
14187
|
+
{
|
|
14188
|
+
"type": "integer"
|
|
14189
|
+
},
|
|
14190
|
+
{
|
|
14191
|
+
"type": "null"
|
|
14192
|
+
}
|
|
14193
|
+
],
|
|
14194
|
+
"description": "Body bytes received, null when nothing was forwarded.",
|
|
14195
|
+
"title": "Response Bytes"
|
|
14196
|
+
},
|
|
14197
|
+
"sandbox_id": {
|
|
14198
|
+
"anyOf": [
|
|
14199
|
+
{
|
|
14200
|
+
"type": "string"
|
|
14201
|
+
},
|
|
14202
|
+
{
|
|
14203
|
+
"type": "null"
|
|
14204
|
+
}
|
|
14205
|
+
],
|
|
14206
|
+
"description": "The environment that sent it, the id `GET /v1/vms/{id}` reads.",
|
|
14207
|
+
"title": "Sandbox Id"
|
|
14208
|
+
},
|
|
14209
|
+
"status_code": {
|
|
14210
|
+
"anyOf": [
|
|
14211
|
+
{
|
|
14212
|
+
"type": "integer"
|
|
14213
|
+
},
|
|
14214
|
+
{
|
|
14215
|
+
"type": "null"
|
|
14216
|
+
}
|
|
14217
|
+
],
|
|
14218
|
+
"description": "The status the environment received.",
|
|
14219
|
+
"title": "Status Code"
|
|
14220
|
+
},
|
|
14221
|
+
"upstream_host": {
|
|
14222
|
+
"anyOf": [
|
|
14223
|
+
{
|
|
14224
|
+
"type": "string"
|
|
14225
|
+
},
|
|
14226
|
+
{
|
|
14227
|
+
"type": "null"
|
|
14228
|
+
}
|
|
14229
|
+
],
|
|
14230
|
+
"description": "The host Ellipsis forwarded it to, null when Ellipsis answered itself.",
|
|
14231
|
+
"title": "Upstream Host"
|
|
14232
|
+
}
|
|
14233
|
+
},
|
|
14234
|
+
"required": [
|
|
14235
|
+
"id",
|
|
14236
|
+
"connection",
|
|
14237
|
+
"method",
|
|
14238
|
+
"path",
|
|
14239
|
+
"duration_ms",
|
|
14240
|
+
"created_at"
|
|
14241
|
+
],
|
|
14242
|
+
"title": "ProxyRequest",
|
|
14243
|
+
"type": "object"
|
|
14244
|
+
},
|
|
14127
14245
|
"PublicFeeSchedule": {
|
|
14128
14246
|
"description": "Rates in millicents. purchase_fee_fraction is a fraction, for example 0.10.",
|
|
14129
14247
|
"properties": {
|
|
@@ -15737,6 +15855,11 @@
|
|
|
15737
15855
|
"title": "Base Sha",
|
|
15738
15856
|
"type": "string"
|
|
15739
15857
|
},
|
|
15858
|
+
"blocking": {
|
|
15859
|
+
"description": "Blocking comments posted to GitHub.",
|
|
15860
|
+
"title": "Blocking",
|
|
15861
|
+
"type": "integer"
|
|
15862
|
+
},
|
|
15740
15863
|
"budget": {
|
|
15741
15864
|
"description": "The reviewer sessions' spend budgets together, in millicents.",
|
|
15742
15865
|
"title": "Budget",
|
|
@@ -15792,11 +15915,6 @@
|
|
|
15792
15915
|
],
|
|
15793
15916
|
"title": "Finalized At"
|
|
15794
15917
|
},
|
|
15795
|
-
"findings": {
|
|
15796
|
-
"description": "Comments the reviewers returned, posted to GitHub or not.",
|
|
15797
|
-
"title": "Findings",
|
|
15798
|
-
"type": "integer"
|
|
15799
|
-
},
|
|
15800
15918
|
"github_review_id": {
|
|
15801
15919
|
"anyOf": [
|
|
15802
15920
|
{
|
|
@@ -15818,6 +15936,11 @@
|
|
|
15818
15936
|
"title": "Id",
|
|
15819
15937
|
"type": "string"
|
|
15820
15938
|
},
|
|
15939
|
+
"non_blocking": {
|
|
15940
|
+
"description": "Comments posted to GitHub that do not block.",
|
|
15941
|
+
"title": "Non Blocking",
|
|
15942
|
+
"type": "integer"
|
|
15943
|
+
},
|
|
15821
15944
|
"pull_request": {
|
|
15822
15945
|
"anyOf": [
|
|
15823
15946
|
{
|
|
@@ -15855,7 +15978,8 @@
|
|
|
15855
15978
|
"base_sha",
|
|
15856
15979
|
"head_sha",
|
|
15857
15980
|
"status",
|
|
15858
|
-
"
|
|
15981
|
+
"blocking",
|
|
15982
|
+
"non_blocking",
|
|
15859
15983
|
"created_at",
|
|
15860
15984
|
"reviewers",
|
|
15861
15985
|
"comments",
|
|
@@ -16208,9 +16332,14 @@
|
|
|
16208
16332
|
"title": "Base Sha",
|
|
16209
16333
|
"type": "string"
|
|
16210
16334
|
},
|
|
16211
|
-
"
|
|
16212
|
-
"
|
|
16213
|
-
"title": "
|
|
16335
|
+
"blocking": {
|
|
16336
|
+
"description": "Blocking comments posted to GitHub.",
|
|
16337
|
+
"title": "Blocking",
|
|
16338
|
+
"type": "integer"
|
|
16339
|
+
},
|
|
16340
|
+
"created_at": {
|
|
16341
|
+
"format": "date-time",
|
|
16342
|
+
"title": "Created At",
|
|
16214
16343
|
"type": "string"
|
|
16215
16344
|
},
|
|
16216
16345
|
"error": {
|
|
@@ -16247,11 +16376,6 @@
|
|
|
16247
16376
|
],
|
|
16248
16377
|
"title": "Finalized At"
|
|
16249
16378
|
},
|
|
16250
|
-
"findings": {
|
|
16251
|
-
"description": "Comments the reviewers returned, posted to GitHub or not.",
|
|
16252
|
-
"title": "Findings",
|
|
16253
|
-
"type": "integer"
|
|
16254
|
-
},
|
|
16255
16379
|
"github_review_id": {
|
|
16256
16380
|
"anyOf": [
|
|
16257
16381
|
{
|
|
@@ -16273,6 +16397,11 @@
|
|
|
16273
16397
|
"title": "Id",
|
|
16274
16398
|
"type": "string"
|
|
16275
16399
|
},
|
|
16400
|
+
"non_blocking": {
|
|
16401
|
+
"description": "Comments posted to GitHub that do not block.",
|
|
16402
|
+
"title": "Non Blocking",
|
|
16403
|
+
"type": "integer"
|
|
16404
|
+
},
|
|
16276
16405
|
"pull_request": {
|
|
16277
16406
|
"anyOf": [
|
|
16278
16407
|
{
|
|
@@ -16299,7 +16428,8 @@
|
|
|
16299
16428
|
"base_sha",
|
|
16300
16429
|
"head_sha",
|
|
16301
16430
|
"status",
|
|
16302
|
-
"
|
|
16431
|
+
"blocking",
|
|
16432
|
+
"non_blocking",
|
|
16303
16433
|
"created_at"
|
|
16304
16434
|
],
|
|
16305
16435
|
"title": "ReviewSummary",
|
|
@@ -19330,6 +19460,18 @@
|
|
|
19330
19460
|
"SessionMessageImage": {
|
|
19331
19461
|
"description": "One image on a message, metadata only. `index` is the N in the\n`[Image #N]` placeholder in the message body.",
|
|
19332
19462
|
"properties": {
|
|
19463
|
+
"id": {
|
|
19464
|
+
"anyOf": [
|
|
19465
|
+
{
|
|
19466
|
+
"type": "string"
|
|
19467
|
+
},
|
|
19468
|
+
{
|
|
19469
|
+
"type": "null"
|
|
19470
|
+
}
|
|
19471
|
+
],
|
|
19472
|
+
"description": "The image's ID. `GET /v1/sessions/{session_id}/images/{id}` returns its bytes. Null when the image can't be fetched.",
|
|
19473
|
+
"title": "Id"
|
|
19474
|
+
},
|
|
19333
19475
|
"index": {
|
|
19334
19476
|
"description": "1-based position: the N in `[Image #N]`.",
|
|
19335
19477
|
"title": "Index",
|
|
@@ -19506,6 +19648,40 @@
|
|
|
19506
19648
|
"title": "SessionPrompting",
|
|
19507
19649
|
"type": "object"
|
|
19508
19650
|
},
|
|
19651
|
+
"SessionProxyResponse": {
|
|
19652
|
+
"properties": {
|
|
19653
|
+
"has_more": {
|
|
19654
|
+
"default": false,
|
|
19655
|
+
"description": "Whether more results exist past this page.",
|
|
19656
|
+
"title": "Has More",
|
|
19657
|
+
"type": "boolean"
|
|
19658
|
+
},
|
|
19659
|
+
"next_cursor": {
|
|
19660
|
+
"anyOf": [
|
|
19661
|
+
{
|
|
19662
|
+
"type": "string"
|
|
19663
|
+
},
|
|
19664
|
+
{
|
|
19665
|
+
"type": "null"
|
|
19666
|
+
}
|
|
19667
|
+
],
|
|
19668
|
+
"description": "Pass as `cursor` to fetch the next page. Null on the last page. Opaque \u2014 echo it back rather than parsing it.",
|
|
19669
|
+
"title": "Next Cursor"
|
|
19670
|
+
},
|
|
19671
|
+
"proxy_requests": {
|
|
19672
|
+
"items": {
|
|
19673
|
+
"$ref": "#/components/schemas/ProxyRequest"
|
|
19674
|
+
},
|
|
19675
|
+
"title": "Proxy Requests",
|
|
19676
|
+
"type": "array"
|
|
19677
|
+
}
|
|
19678
|
+
},
|
|
19679
|
+
"required": [
|
|
19680
|
+
"proxy_requests"
|
|
19681
|
+
],
|
|
19682
|
+
"title": "SessionProxyResponse",
|
|
19683
|
+
"type": "object"
|
|
19684
|
+
},
|
|
19509
19685
|
"SessionPullRequestReview": {
|
|
19510
19686
|
"properties": {
|
|
19511
19687
|
"body": {
|
|
@@ -21056,6 +21232,18 @@
|
|
|
21056
21232
|
"title": "TokensInfo",
|
|
21057
21233
|
"type": "object"
|
|
21058
21234
|
},
|
|
21235
|
+
"UiSize": {
|
|
21236
|
+
"description": "A step on the dashboard's five-step scale, shared by every size setting.",
|
|
21237
|
+
"enum": [
|
|
21238
|
+
"xs",
|
|
21239
|
+
"sm",
|
|
21240
|
+
"md",
|
|
21241
|
+
"lg",
|
|
21242
|
+
"xl"
|
|
21243
|
+
],
|
|
21244
|
+
"title": "UiSize",
|
|
21245
|
+
"type": "string"
|
|
21246
|
+
},
|
|
21059
21247
|
"UninstallGithubAppRequest": {
|
|
21060
21248
|
"properties": {
|
|
21061
21249
|
"confirm_account_login": {
|
|
@@ -21255,17 +21443,35 @@
|
|
|
21255
21443
|
},
|
|
21256
21444
|
"UpdateSessionRequest": {
|
|
21257
21445
|
"additionalProperties": false,
|
|
21258
|
-
"description": "Set the session's archive state.",
|
|
21446
|
+
"description": "Set the session's archive state, its summary, or both.",
|
|
21259
21447
|
"properties": {
|
|
21260
21448
|
"archived": {
|
|
21449
|
+
"anyOf": [
|
|
21450
|
+
{
|
|
21451
|
+
"type": "boolean"
|
|
21452
|
+
},
|
|
21453
|
+
{
|
|
21454
|
+
"type": "null"
|
|
21455
|
+
}
|
|
21456
|
+
],
|
|
21261
21457
|
"description": "True to archive the session; false to unarchive it.",
|
|
21262
|
-
"title": "Archived"
|
|
21263
|
-
|
|
21458
|
+
"title": "Archived"
|
|
21459
|
+
},
|
|
21460
|
+
"summary": {
|
|
21461
|
+
"anyOf": [
|
|
21462
|
+
{
|
|
21463
|
+
"maxLength": 1000,
|
|
21464
|
+
"minLength": 1,
|
|
21465
|
+
"type": "string"
|
|
21466
|
+
},
|
|
21467
|
+
{
|
|
21468
|
+
"type": "null"
|
|
21469
|
+
}
|
|
21470
|
+
],
|
|
21471
|
+
"description": "A name for the session. It becomes the summary with source `user`, and Ellipsis never replaces it with a generated one.",
|
|
21472
|
+
"title": "Summary"
|
|
21264
21473
|
}
|
|
21265
21474
|
},
|
|
21266
|
-
"required": [
|
|
21267
|
-
"archived"
|
|
21268
|
-
],
|
|
21269
21475
|
"title": "UpdateSessionRequest",
|
|
21270
21476
|
"type": "object"
|
|
21271
21477
|
},
|
|
@@ -21341,6 +21547,53 @@
|
|
|
21341
21547
|
"title": "UserPlan",
|
|
21342
21548
|
"type": "object"
|
|
21343
21549
|
},
|
|
21550
|
+
"UserSettings": {
|
|
21551
|
+
"description": "One user's own settings.",
|
|
21552
|
+
"properties": {
|
|
21553
|
+
"web": {
|
|
21554
|
+
"$ref": "#/components/schemas/UserSettingsWeb"
|
|
21555
|
+
}
|
|
21556
|
+
},
|
|
21557
|
+
"required": [
|
|
21558
|
+
"web"
|
|
21559
|
+
],
|
|
21560
|
+
"title": "UserSettings",
|
|
21561
|
+
"type": "object"
|
|
21562
|
+
},
|
|
21563
|
+
"UserSettingsWeb": {
|
|
21564
|
+
"description": "Settings for the web dashboard.",
|
|
21565
|
+
"properties": {
|
|
21566
|
+
"ui": {
|
|
21567
|
+
"$ref": "#/components/schemas/UserSettingsWebUi"
|
|
21568
|
+
}
|
|
21569
|
+
},
|
|
21570
|
+
"required": [
|
|
21571
|
+
"ui"
|
|
21572
|
+
],
|
|
21573
|
+
"title": "UserSettingsWeb",
|
|
21574
|
+
"type": "object"
|
|
21575
|
+
},
|
|
21576
|
+
"UserSettingsWebUi": {
|
|
21577
|
+
"description": "How the web dashboard looks.",
|
|
21578
|
+
"properties": {
|
|
21579
|
+
"density": {
|
|
21580
|
+
"$ref": "#/components/schemas/UiSize",
|
|
21581
|
+
"default": "md",
|
|
21582
|
+
"description": "How much padding the dashboard uses."
|
|
21583
|
+
},
|
|
21584
|
+
"font_size": {
|
|
21585
|
+
"$ref": "#/components/schemas/UiSize",
|
|
21586
|
+
"default": "md",
|
|
21587
|
+
"description": "How large the dashboard's text is."
|
|
21588
|
+
}
|
|
21589
|
+
},
|
|
21590
|
+
"required": [
|
|
21591
|
+
"density",
|
|
21592
|
+
"font_size"
|
|
21593
|
+
],
|
|
21594
|
+
"title": "UserSettingsWebUi",
|
|
21595
|
+
"type": "object"
|
|
21596
|
+
},
|
|
21344
21597
|
"UserTokenApi": {
|
|
21345
21598
|
"description": "A user token as shown in listings -- never includes the secret.",
|
|
21346
21599
|
"properties": {
|
|
@@ -31428,7 +31681,7 @@
|
|
|
31428
31681
|
"x-ellipsis-sdk-method": "sessions.get"
|
|
31429
31682
|
},
|
|
31430
31683
|
"put": {
|
|
31431
|
-
"description": "Archive or unarchive a session and return it.\n\nSet archived to true to record the current server time and the\nauthenticated GitHub user. API-key requests record no user.\nRepeated archive requests preserve the original time and user.\nArchiving stops the message in progress. An archived session takes\nno messages (409 `session_archived`), and a reply on the Slack\nthread, pull request, issue, or Linear issue it answers starts a\nnew session. A session is also archived when it closes and after\nthe account's `archive_inactive_sessions_days` without a message.\nWhen the account sets session log retention, the session's\nrecords, messages, and prompt are deleted that many days after it\nwas archived (`archived.deletes_at`). The session itself stays.\n\nSet archived to false to clear both fields and let the session\ntake messages again. 409 `session_superseded` when a newer session\nnow answers the same thread.\n\nChanges are delivered to session and session-list streams.",
|
|
31684
|
+
"description": "Archive or unarchive a session, or set its summary, and return it.\n\nSet archived to true to record the current server time and the\nauthenticated GitHub user. API-key requests record no user.\nRepeated archive requests preserve the original time and user.\nArchiving stops the message in progress. An archived session takes\nno messages (409 `session_archived`), and a reply on the Slack\nthread, pull request, issue, or Linear issue it answers starts a\nnew session. A session is also archived when it closes and after\nthe account's `archive_inactive_sessions_days` without a message.\nWhen the account sets session log retention, the session's\nrecords, messages, and prompt are deleted that many days after it\nwas archived (`archived.deletes_at`). The session itself stays.\n\nSet archived to false to clear both fields and let the session\ntake messages again. 409 `session_superseded` when a newer session\nnow answers the same thread.\n\nSet summary to name the session. The summary's source becomes\n`user`, and Ellipsis never replaces it with a generated one. With\nboth fields, the archive change applies first, and a refused\narchive change leaves the summary as it was.\n\nChanges are delivered to session and session-list streams.",
|
|
31432
31685
|
"operationId": "update_session",
|
|
31433
31686
|
"parameters": [
|
|
31434
31687
|
{
|
|
@@ -32411,6 +32664,164 @@
|
|
|
32411
32664
|
"x-ellipsis-undocumented": true
|
|
32412
32665
|
}
|
|
32413
32666
|
},
|
|
32667
|
+
"/v1/sessions/{id}/proxy": {
|
|
32668
|
+
"get": {
|
|
32669
|
+
"description": "The requests the session's environment sent to GitHub through\nEllipsis, newest first. Each is one `proxy_requests` row as stored.",
|
|
32670
|
+
"operationId": "get_session_proxy",
|
|
32671
|
+
"parameters": [
|
|
32672
|
+
{
|
|
32673
|
+
"in": "path",
|
|
32674
|
+
"name": "id",
|
|
32675
|
+
"required": true,
|
|
32676
|
+
"schema": {
|
|
32677
|
+
"title": "Id",
|
|
32678
|
+
"type": "string"
|
|
32679
|
+
}
|
|
32680
|
+
},
|
|
32681
|
+
{
|
|
32682
|
+
"in": "query",
|
|
32683
|
+
"name": "limit",
|
|
32684
|
+
"required": false,
|
|
32685
|
+
"schema": {
|
|
32686
|
+
"default": 50,
|
|
32687
|
+
"maximum": 200,
|
|
32688
|
+
"minimum": 1,
|
|
32689
|
+
"title": "Limit",
|
|
32690
|
+
"type": "integer"
|
|
32691
|
+
}
|
|
32692
|
+
},
|
|
32693
|
+
{
|
|
32694
|
+
"description": "The `next_cursor` of the previous page.",
|
|
32695
|
+
"in": "query",
|
|
32696
|
+
"name": "cursor",
|
|
32697
|
+
"required": false,
|
|
32698
|
+
"schema": {
|
|
32699
|
+
"anyOf": [
|
|
32700
|
+
{
|
|
32701
|
+
"type": "string"
|
|
32702
|
+
},
|
|
32703
|
+
{
|
|
32704
|
+
"type": "null"
|
|
32705
|
+
}
|
|
32706
|
+
],
|
|
32707
|
+
"description": "The `next_cursor` of the previous page.",
|
|
32708
|
+
"title": "Cursor"
|
|
32709
|
+
}
|
|
32710
|
+
},
|
|
32711
|
+
{
|
|
32712
|
+
"in": "header",
|
|
32713
|
+
"name": "user-agent",
|
|
32714
|
+
"required": false,
|
|
32715
|
+
"schema": {
|
|
32716
|
+
"anyOf": [
|
|
32717
|
+
{
|
|
32718
|
+
"type": "string"
|
|
32719
|
+
},
|
|
32720
|
+
{
|
|
32721
|
+
"type": "null"
|
|
32722
|
+
}
|
|
32723
|
+
],
|
|
32724
|
+
"title": "User-Agent"
|
|
32725
|
+
}
|
|
32726
|
+
}
|
|
32727
|
+
],
|
|
32728
|
+
"responses": {
|
|
32729
|
+
"200": {
|
|
32730
|
+
"content": {
|
|
32731
|
+
"application/json": {
|
|
32732
|
+
"schema": {
|
|
32733
|
+
"$ref": "#/components/schemas/SessionProxyResponse"
|
|
32734
|
+
}
|
|
32735
|
+
}
|
|
32736
|
+
},
|
|
32737
|
+
"description": "Successful Response"
|
|
32738
|
+
},
|
|
32739
|
+
"401": {
|
|
32740
|
+
"content": {
|
|
32741
|
+
"application/json": {
|
|
32742
|
+
"schema": {
|
|
32743
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
32744
|
+
}
|
|
32745
|
+
}
|
|
32746
|
+
},
|
|
32747
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
32748
|
+
},
|
|
32749
|
+
"403": {
|
|
32750
|
+
"content": {
|
|
32751
|
+
"application/json": {
|
|
32752
|
+
"schema": {
|
|
32753
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
32754
|
+
}
|
|
32755
|
+
}
|
|
32756
|
+
},
|
|
32757
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
32758
|
+
},
|
|
32759
|
+
"422": {
|
|
32760
|
+
"content": {
|
|
32761
|
+
"application/json": {
|
|
32762
|
+
"schema": {
|
|
32763
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
32764
|
+
}
|
|
32765
|
+
}
|
|
32766
|
+
},
|
|
32767
|
+
"description": "Validation Error"
|
|
32768
|
+
}
|
|
32769
|
+
},
|
|
32770
|
+
"security": [
|
|
32771
|
+
{
|
|
32772
|
+
"HTTPBearer": []
|
|
32773
|
+
}
|
|
32774
|
+
],
|
|
32775
|
+
"summary": "Get Session Proxy",
|
|
32776
|
+
"tags": [
|
|
32777
|
+
"v1"
|
|
32778
|
+
],
|
|
32779
|
+
"x-ellipsis-permissions": {
|
|
32780
|
+
"constraints": [
|
|
32781
|
+
{
|
|
32782
|
+
"account_admin_fields": [],
|
|
32783
|
+
"identity": null,
|
|
32784
|
+
"sandbox_scope": "own_session"
|
|
32785
|
+
}
|
|
32786
|
+
],
|
|
32787
|
+
"description": "Required permissions: read:sessions.\nAPI key: Supported.\nCLI user token: Supported.\nSession token: Requires the ellipsis:api scope and the required grants in the token's permissions.ellipsis configuration. Only the token's own session.\nHigher permission levels include lower levels: read < write < delete.\nGrant match patterns can further restrict access to individual resources.",
|
|
32788
|
+
"notes": [
|
|
32789
|
+
"Higher permission levels include lower levels: read < write < delete.",
|
|
32790
|
+
"Grant match patterns can further restrict access to individual resources."
|
|
32791
|
+
],
|
|
32792
|
+
"required": [
|
|
32793
|
+
{
|
|
32794
|
+
"level": "read",
|
|
32795
|
+
"resource": "sessions"
|
|
32796
|
+
}
|
|
32797
|
+
],
|
|
32798
|
+
"tokens": [
|
|
32799
|
+
{
|
|
32800
|
+
"available": true,
|
|
32801
|
+
"conditions": [],
|
|
32802
|
+
"kind": "api_key",
|
|
32803
|
+
"label": "API key"
|
|
32804
|
+
},
|
|
32805
|
+
{
|
|
32806
|
+
"available": true,
|
|
32807
|
+
"conditions": [],
|
|
32808
|
+
"kind": "user_token",
|
|
32809
|
+
"label": "CLI user token"
|
|
32810
|
+
},
|
|
32811
|
+
{
|
|
32812
|
+
"available": true,
|
|
32813
|
+
"conditions": [
|
|
32814
|
+
"Requires the ellipsis:api scope and the required grants in the token's permissions.ellipsis configuration.",
|
|
32815
|
+
"Only the token's own session."
|
|
32816
|
+
],
|
|
32817
|
+
"kind": "sandbox_token",
|
|
32818
|
+
"label": "Session token"
|
|
32819
|
+
}
|
|
32820
|
+
]
|
|
32821
|
+
},
|
|
32822
|
+
"x-ellipsis-sdk-method": "sessions.proxy"
|
|
32823
|
+
}
|
|
32824
|
+
},
|
|
32414
32825
|
"/v1/sessions/{id}/records": {
|
|
32415
32826
|
"get": {
|
|
32416
32827
|
"description": "Return the session's stored transcript records, oldest first.\n\nPagination is opt-in (cursor/limit); a bare call returns the\nfull retained transcript. Available to session tokens too: an\nagent answering \"did X look into Y?\" needs to read the sessions\nit finds, and any org member sees the same transcript in the\ndashboard.",
|
|
@@ -32874,6 +33285,400 @@
|
|
|
32874
33285
|
"x-ellipsis-undocumented": true
|
|
32875
33286
|
}
|
|
32876
33287
|
},
|
|
33288
|
+
"/v1/sessions/{session_id}/images/{id}": {
|
|
33289
|
+
"get": {
|
|
33290
|
+
"description": "Return an image sent with a message to the session.\n\nEach message lists its images, with their IDs, in `images`.",
|
|
33291
|
+
"operationId": "get_session_image",
|
|
33292
|
+
"parameters": [
|
|
33293
|
+
{
|
|
33294
|
+
"in": "path",
|
|
33295
|
+
"name": "session_id",
|
|
33296
|
+
"required": true,
|
|
33297
|
+
"schema": {
|
|
33298
|
+
"title": "Session Id",
|
|
33299
|
+
"type": "string"
|
|
33300
|
+
}
|
|
33301
|
+
},
|
|
33302
|
+
{
|
|
33303
|
+
"in": "path",
|
|
33304
|
+
"name": "id",
|
|
33305
|
+
"required": true,
|
|
33306
|
+
"schema": {
|
|
33307
|
+
"title": "Id",
|
|
33308
|
+
"type": "string"
|
|
33309
|
+
}
|
|
33310
|
+
},
|
|
33311
|
+
{
|
|
33312
|
+
"in": "header",
|
|
33313
|
+
"name": "user-agent",
|
|
33314
|
+
"required": false,
|
|
33315
|
+
"schema": {
|
|
33316
|
+
"anyOf": [
|
|
33317
|
+
{
|
|
33318
|
+
"type": "string"
|
|
33319
|
+
},
|
|
33320
|
+
{
|
|
33321
|
+
"type": "null"
|
|
33322
|
+
}
|
|
33323
|
+
],
|
|
33324
|
+
"title": "User-Agent"
|
|
33325
|
+
}
|
|
33326
|
+
}
|
|
33327
|
+
],
|
|
33328
|
+
"responses": {
|
|
33329
|
+
"200": {
|
|
33330
|
+
"content": {
|
|
33331
|
+
"application/json": {
|
|
33332
|
+
"schema": {
|
|
33333
|
+
"$ref": "#/components/schemas/ImageAttachment"
|
|
33334
|
+
}
|
|
33335
|
+
}
|
|
33336
|
+
},
|
|
33337
|
+
"description": "Successful Response"
|
|
33338
|
+
},
|
|
33339
|
+
"401": {
|
|
33340
|
+
"content": {
|
|
33341
|
+
"application/json": {
|
|
33342
|
+
"schema": {
|
|
33343
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
33344
|
+
}
|
|
33345
|
+
}
|
|
33346
|
+
},
|
|
33347
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
33348
|
+
},
|
|
33349
|
+
"403": {
|
|
33350
|
+
"content": {
|
|
33351
|
+
"application/json": {
|
|
33352
|
+
"schema": {
|
|
33353
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
33354
|
+
}
|
|
33355
|
+
}
|
|
33356
|
+
},
|
|
33357
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
33358
|
+
},
|
|
33359
|
+
"404": {
|
|
33360
|
+
"content": {
|
|
33361
|
+
"application/json": {
|
|
33362
|
+
"schema": {
|
|
33363
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
33364
|
+
}
|
|
33365
|
+
}
|
|
33366
|
+
},
|
|
33367
|
+
"description": "No such session or image in your account."
|
|
33368
|
+
},
|
|
33369
|
+
"422": {
|
|
33370
|
+
"content": {
|
|
33371
|
+
"application/json": {
|
|
33372
|
+
"schema": {
|
|
33373
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
33374
|
+
}
|
|
33375
|
+
}
|
|
33376
|
+
},
|
|
33377
|
+
"description": "Validation Error"
|
|
33378
|
+
}
|
|
33379
|
+
},
|
|
33380
|
+
"security": [
|
|
33381
|
+
{
|
|
33382
|
+
"HTTPBearer": []
|
|
33383
|
+
}
|
|
33384
|
+
],
|
|
33385
|
+
"summary": "Get Session Image",
|
|
33386
|
+
"tags": [
|
|
33387
|
+
"v1"
|
|
33388
|
+
],
|
|
33389
|
+
"x-ellipsis-permissions": {
|
|
33390
|
+
"constraints": [
|
|
33391
|
+
{
|
|
33392
|
+
"account_admin_fields": [],
|
|
33393
|
+
"identity": null,
|
|
33394
|
+
"sandbox_scope": null
|
|
33395
|
+
}
|
|
33396
|
+
],
|
|
33397
|
+
"description": "Required permissions: read:sessions.\nAPI key: Supported.\nCLI user token: Supported.\nSession token: Requires the ellipsis:api scope and the required grants in the token's permissions.ellipsis configuration.\nHigher permission levels include lower levels: read < write < delete.\nGrant match patterns can further restrict access to individual resources.",
|
|
33398
|
+
"notes": [
|
|
33399
|
+
"Higher permission levels include lower levels: read < write < delete.",
|
|
33400
|
+
"Grant match patterns can further restrict access to individual resources."
|
|
33401
|
+
],
|
|
33402
|
+
"required": [
|
|
33403
|
+
{
|
|
33404
|
+
"level": "read",
|
|
33405
|
+
"resource": "sessions"
|
|
33406
|
+
}
|
|
33407
|
+
],
|
|
33408
|
+
"tokens": [
|
|
33409
|
+
{
|
|
33410
|
+
"available": true,
|
|
33411
|
+
"conditions": [],
|
|
33412
|
+
"kind": "api_key",
|
|
33413
|
+
"label": "API key"
|
|
33414
|
+
},
|
|
33415
|
+
{
|
|
33416
|
+
"available": true,
|
|
33417
|
+
"conditions": [],
|
|
33418
|
+
"kind": "user_token",
|
|
33419
|
+
"label": "CLI user token"
|
|
33420
|
+
},
|
|
33421
|
+
{
|
|
33422
|
+
"available": true,
|
|
33423
|
+
"conditions": [
|
|
33424
|
+
"Requires the ellipsis:api scope and the required grants in the token's permissions.ellipsis configuration."
|
|
33425
|
+
],
|
|
33426
|
+
"kind": "sandbox_token",
|
|
33427
|
+
"label": "Session token"
|
|
33428
|
+
}
|
|
33429
|
+
]
|
|
33430
|
+
},
|
|
33431
|
+
"x-ellipsis-sdk-method": "sessions.image"
|
|
33432
|
+
}
|
|
33433
|
+
},
|
|
33434
|
+
"/v1/user/settings": {
|
|
33435
|
+
"get": {
|
|
33436
|
+
"description": "Get the signed in user's own settings.",
|
|
33437
|
+
"operationId": "get_user_settings",
|
|
33438
|
+
"parameters": [
|
|
33439
|
+
{
|
|
33440
|
+
"in": "header",
|
|
33441
|
+
"name": "user-agent",
|
|
33442
|
+
"required": false,
|
|
33443
|
+
"schema": {
|
|
33444
|
+
"anyOf": [
|
|
33445
|
+
{
|
|
33446
|
+
"type": "string"
|
|
33447
|
+
},
|
|
33448
|
+
{
|
|
33449
|
+
"type": "null"
|
|
33450
|
+
}
|
|
33451
|
+
],
|
|
33452
|
+
"title": "User-Agent"
|
|
33453
|
+
}
|
|
33454
|
+
}
|
|
33455
|
+
],
|
|
33456
|
+
"responses": {
|
|
33457
|
+
"200": {
|
|
33458
|
+
"content": {
|
|
33459
|
+
"application/json": {
|
|
33460
|
+
"schema": {
|
|
33461
|
+
"$ref": "#/components/schemas/UserSettings"
|
|
33462
|
+
}
|
|
33463
|
+
}
|
|
33464
|
+
},
|
|
33465
|
+
"description": "Successful Response"
|
|
33466
|
+
},
|
|
33467
|
+
"401": {
|
|
33468
|
+
"content": {
|
|
33469
|
+
"application/json": {
|
|
33470
|
+
"schema": {
|
|
33471
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
33472
|
+
}
|
|
33473
|
+
}
|
|
33474
|
+
},
|
|
33475
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
33476
|
+
},
|
|
33477
|
+
"403": {
|
|
33478
|
+
"content": {
|
|
33479
|
+
"application/json": {
|
|
33480
|
+
"schema": {
|
|
33481
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
33482
|
+
}
|
|
33483
|
+
}
|
|
33484
|
+
},
|
|
33485
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
33486
|
+
},
|
|
33487
|
+
"422": {
|
|
33488
|
+
"content": {
|
|
33489
|
+
"application/json": {
|
|
33490
|
+
"schema": {
|
|
33491
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
33492
|
+
}
|
|
33493
|
+
}
|
|
33494
|
+
},
|
|
33495
|
+
"description": "Validation Error"
|
|
33496
|
+
}
|
|
33497
|
+
},
|
|
33498
|
+
"security": [
|
|
33499
|
+
{
|
|
33500
|
+
"HTTPBearer": []
|
|
33501
|
+
}
|
|
33502
|
+
],
|
|
33503
|
+
"summary": "Get User Settings",
|
|
33504
|
+
"tags": [
|
|
33505
|
+
"v1"
|
|
33506
|
+
],
|
|
33507
|
+
"x-ellipsis-permissions": {
|
|
33508
|
+
"constraints": [
|
|
33509
|
+
{
|
|
33510
|
+
"account_admin_fields": [],
|
|
33511
|
+
"identity": "human",
|
|
33512
|
+
"sandbox_scope": null
|
|
33513
|
+
}
|
|
33514
|
+
],
|
|
33515
|
+
"description": "Required permissions: read:user.\nAPI key: Requires a CLI user token.\nCLI user token: Supported.\nSession token: Not supported by session tokens, even with permissions.ellipsis enabled.\nHigher permission levels include lower levels: read < write < delete.",
|
|
33516
|
+
"notes": [
|
|
33517
|
+
"Higher permission levels include lower levels: read < write < delete."
|
|
33518
|
+
],
|
|
33519
|
+
"required": [
|
|
33520
|
+
{
|
|
33521
|
+
"level": "read",
|
|
33522
|
+
"resource": "user"
|
|
33523
|
+
}
|
|
33524
|
+
],
|
|
33525
|
+
"tokens": [
|
|
33526
|
+
{
|
|
33527
|
+
"available": false,
|
|
33528
|
+
"conditions": [
|
|
33529
|
+
"Requires a CLI user token."
|
|
33530
|
+
],
|
|
33531
|
+
"kind": "api_key",
|
|
33532
|
+
"label": "API key"
|
|
33533
|
+
},
|
|
33534
|
+
{
|
|
33535
|
+
"available": true,
|
|
33536
|
+
"conditions": [],
|
|
33537
|
+
"kind": "user_token",
|
|
33538
|
+
"label": "CLI user token"
|
|
33539
|
+
},
|
|
33540
|
+
{
|
|
33541
|
+
"available": false,
|
|
33542
|
+
"conditions": [
|
|
33543
|
+
"Not supported by session tokens, even with permissions.ellipsis enabled."
|
|
33544
|
+
],
|
|
33545
|
+
"kind": "sandbox_token",
|
|
33546
|
+
"label": "Session token"
|
|
33547
|
+
}
|
|
33548
|
+
]
|
|
33549
|
+
},
|
|
33550
|
+
"x-ellipsis-sdk-method": "user.settings.get",
|
|
33551
|
+
"x-ellipsis-undocumented": true
|
|
33552
|
+
},
|
|
33553
|
+
"patch": {
|
|
33554
|
+
"description": "Change the signed in user's own settings.\n\nOnly the keys sent change, and the response is every setting.",
|
|
33555
|
+
"operationId": "patch_user_settings",
|
|
33556
|
+
"parameters": [
|
|
33557
|
+
{
|
|
33558
|
+
"in": "header",
|
|
33559
|
+
"name": "user-agent",
|
|
33560
|
+
"required": false,
|
|
33561
|
+
"schema": {
|
|
33562
|
+
"anyOf": [
|
|
33563
|
+
{
|
|
33564
|
+
"type": "string"
|
|
33565
|
+
},
|
|
33566
|
+
{
|
|
33567
|
+
"type": "null"
|
|
33568
|
+
}
|
|
33569
|
+
],
|
|
33570
|
+
"title": "User-Agent"
|
|
33571
|
+
}
|
|
33572
|
+
}
|
|
33573
|
+
],
|
|
33574
|
+
"requestBody": {
|
|
33575
|
+
"content": {
|
|
33576
|
+
"application/json": {
|
|
33577
|
+
"schema": {
|
|
33578
|
+
"$ref": "#/components/schemas/PatchUserSettingsRequest"
|
|
33579
|
+
}
|
|
33580
|
+
}
|
|
33581
|
+
},
|
|
33582
|
+
"required": true
|
|
33583
|
+
},
|
|
33584
|
+
"responses": {
|
|
33585
|
+
"200": {
|
|
33586
|
+
"content": {
|
|
33587
|
+
"application/json": {
|
|
33588
|
+
"schema": {
|
|
33589
|
+
"$ref": "#/components/schemas/UserSettings"
|
|
33590
|
+
}
|
|
33591
|
+
}
|
|
33592
|
+
},
|
|
33593
|
+
"description": "Successful Response"
|
|
33594
|
+
},
|
|
33595
|
+
"401": {
|
|
33596
|
+
"content": {
|
|
33597
|
+
"application/json": {
|
|
33598
|
+
"schema": {
|
|
33599
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
33600
|
+
}
|
|
33601
|
+
}
|
|
33602
|
+
},
|
|
33603
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
33604
|
+
},
|
|
33605
|
+
"403": {
|
|
33606
|
+
"content": {
|
|
33607
|
+
"application/json": {
|
|
33608
|
+
"schema": {
|
|
33609
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
33610
|
+
}
|
|
33611
|
+
}
|
|
33612
|
+
},
|
|
33613
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
33614
|
+
},
|
|
33615
|
+
"422": {
|
|
33616
|
+
"content": {
|
|
33617
|
+
"application/json": {
|
|
33618
|
+
"schema": {
|
|
33619
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
33620
|
+
}
|
|
33621
|
+
}
|
|
33622
|
+
},
|
|
33623
|
+
"description": "Validation Error"
|
|
33624
|
+
}
|
|
33625
|
+
},
|
|
33626
|
+
"security": [
|
|
33627
|
+
{
|
|
33628
|
+
"HTTPBearer": []
|
|
33629
|
+
}
|
|
33630
|
+
],
|
|
33631
|
+
"summary": "Patch User Settings",
|
|
33632
|
+
"tags": [
|
|
33633
|
+
"v1"
|
|
33634
|
+
],
|
|
33635
|
+
"x-ellipsis-permissions": {
|
|
33636
|
+
"constraints": [
|
|
33637
|
+
{
|
|
33638
|
+
"account_admin_fields": [],
|
|
33639
|
+
"identity": "human",
|
|
33640
|
+
"sandbox_scope": null
|
|
33641
|
+
}
|
|
33642
|
+
],
|
|
33643
|
+
"description": "Required permissions: write:user.\nAPI key: Requires a CLI user token.\nCLI user token: Supported.\nSession token: Not supported by session tokens, even with permissions.ellipsis enabled.\nHigher permission levels include lower levels: read < write < delete.",
|
|
33644
|
+
"notes": [
|
|
33645
|
+
"Higher permission levels include lower levels: read < write < delete."
|
|
33646
|
+
],
|
|
33647
|
+
"required": [
|
|
33648
|
+
{
|
|
33649
|
+
"level": "write",
|
|
33650
|
+
"resource": "user"
|
|
33651
|
+
}
|
|
33652
|
+
],
|
|
33653
|
+
"tokens": [
|
|
33654
|
+
{
|
|
33655
|
+
"available": false,
|
|
33656
|
+
"conditions": [
|
|
33657
|
+
"Requires a CLI user token."
|
|
33658
|
+
],
|
|
33659
|
+
"kind": "api_key",
|
|
33660
|
+
"label": "API key"
|
|
33661
|
+
},
|
|
33662
|
+
{
|
|
33663
|
+
"available": true,
|
|
33664
|
+
"conditions": [],
|
|
33665
|
+
"kind": "user_token",
|
|
33666
|
+
"label": "CLI user token"
|
|
33667
|
+
},
|
|
33668
|
+
{
|
|
33669
|
+
"available": false,
|
|
33670
|
+
"conditions": [
|
|
33671
|
+
"Not supported by session tokens, even with permissions.ellipsis enabled."
|
|
33672
|
+
],
|
|
33673
|
+
"kind": "sandbox_token",
|
|
33674
|
+
"label": "Session token"
|
|
33675
|
+
}
|
|
33676
|
+
]
|
|
33677
|
+
},
|
|
33678
|
+
"x-ellipsis-sdk-method": "user.settings.update",
|
|
33679
|
+
"x-ellipsis-undocumented": true
|
|
33680
|
+
}
|
|
33681
|
+
},
|
|
32877
33682
|
"/v1/user/tokens": {
|
|
32878
33683
|
"get": {
|
|
32879
33684
|
"operationId": "list_user_tokens",
|