@ellipsis-dev/sdk 0.43.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/dist/index.d.ts +48 -45
- package/dist/index.js +23 -0
- package/dist/store/index.d.ts +1 -1
- package/dist/stream/index.d.ts +1 -1
- package/dist/{types-BAJ82SH6.d.ts → types-Dwyd1Aud.d.ts} +224 -106
- package/package.json +1 -1
- package/schema/collection_frames.schema.json +19 -57
- package/schema/frames.schema.json +19 -57
- package/schema/lifecycle.schema.json +2 -1
- package/schema/openapi.v1.json +351 -103
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"
|
|
@@ -14186,6 +14113,135 @@
|
|
|
14186
14113
|
"title": "PromptBlockedReason",
|
|
14187
14114
|
"type": "string"
|
|
14188
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
|
+
},
|
|
14189
14245
|
"PublicFeeSchedule": {
|
|
14190
14246
|
"description": "Rates in millicents. purchase_fee_fraction is a fraction, for example 0.10.",
|
|
14191
14247
|
"properties": {
|
|
@@ -19592,6 +19648,40 @@
|
|
|
19592
19648
|
"title": "SessionPrompting",
|
|
19593
19649
|
"type": "object"
|
|
19594
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
|
+
},
|
|
19595
19685
|
"SessionPullRequestReview": {
|
|
19596
19686
|
"properties": {
|
|
19597
19687
|
"body": {
|
|
@@ -32574,6 +32664,164 @@
|
|
|
32574
32664
|
"x-ellipsis-undocumented": true
|
|
32575
32665
|
}
|
|
32576
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
|
+
},
|
|
32577
32825
|
"/v1/sessions/{id}/records": {
|
|
32578
32826
|
"get": {
|
|
32579
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.",
|