@ellipsis-dev/sdk 0.8.1 → 0.10.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 +45 -26
- package/dist/index.js +45 -24
- package/dist/store/index.d.ts +1 -1
- package/dist/stream/index.d.ts +1 -1
- package/dist/{types-Dx0e0Qs_.d.ts → types-BME-7Lbt.d.ts} +625 -408
- package/package.json +1 -1
- package/schema/frames.schema.json +392 -297
- package/schema/openapi.v1.json +811 -412
- package/schema/trigger_fields.schema.json +374 -0
package/schema/openapi.v1.json
CHANGED
|
@@ -54,6 +54,16 @@
|
|
|
54
54
|
"variables": []
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
+
"input": {
|
|
58
|
+
"anyOf": [
|
|
59
|
+
{
|
|
60
|
+
"$ref": "#/components/schemas/AgentConfigInput"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "null"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
57
67
|
"llm": {
|
|
58
68
|
"$ref": "#/components/schemas/AgentConfigLlm",
|
|
59
69
|
"default": {}
|
|
@@ -73,6 +83,16 @@
|
|
|
73
83
|
"title": "Mcp Servers",
|
|
74
84
|
"type": "array"
|
|
75
85
|
},
|
|
86
|
+
"output": {
|
|
87
|
+
"anyOf": [
|
|
88
|
+
{
|
|
89
|
+
"$ref": "#/components/schemas/AgentConfigOutput"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"type": "null"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
76
96
|
"permissions": {
|
|
77
97
|
"$ref": "#/components/schemas/AgentConfigPermissions",
|
|
78
98
|
"default": {
|
|
@@ -88,16 +108,6 @@
|
|
|
88
108
|
"title": "Skills",
|
|
89
109
|
"type": "array"
|
|
90
110
|
},
|
|
91
|
-
"structured_output": {
|
|
92
|
-
"anyOf": [
|
|
93
|
-
{
|
|
94
|
-
"$ref": "#/components/schemas/AgentConfigStructuredOutput"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"type": "null"
|
|
98
|
-
}
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
111
|
"trigger": {
|
|
102
112
|
"anyOf": [
|
|
103
113
|
{
|
|
@@ -470,6 +480,37 @@
|
|
|
470
480
|
"title": "AgentConfigEllipsis",
|
|
471
481
|
"type": "object"
|
|
472
482
|
},
|
|
483
|
+
"AgentConfigEllipsisPermissions": {
|
|
484
|
+
"additionalProperties": {
|
|
485
|
+
"anyOf": [
|
|
486
|
+
{
|
|
487
|
+
"$ref": "#/components/schemas/Level"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"$ref": "#/components/schemas/EllipsisGrant"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"items": {
|
|
494
|
+
"anyOf": [
|
|
495
|
+
{
|
|
496
|
+
"$ref": "#/components/schemas/Level"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"$ref": "#/components/schemas/EllipsisGrant"
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
},
|
|
503
|
+
"type": "array"
|
|
504
|
+
}
|
|
505
|
+
]
|
|
506
|
+
},
|
|
507
|
+
"description": "`permissions.ellipsis` as a map: resource \u2192 level | grant | list of\ngrants. Levels are hierarchical (read < write < delete), so `write`\nincludes `read`. An unlisted resource is denied. The whole block is\nintersected with the platform's sandbox ceiling at token mint \u2014 it can\nnarrow what a sandbox token may do, never exceed it.",
|
|
508
|
+
"propertyNames": {
|
|
509
|
+
"$ref": "#/components/schemas/Resource"
|
|
510
|
+
},
|
|
511
|
+
"title": "AgentConfigEllipsisPermissions",
|
|
512
|
+
"type": "object"
|
|
513
|
+
},
|
|
473
514
|
"AgentConfigEnvironment": {
|
|
474
515
|
"additionalProperties": false,
|
|
475
516
|
"description": "Everything about the environment (the sandbox) the agent runs in: which\n`repositories` are cloned into it, which environment `variables` it gets,\nits `compute` sizing, how its `image` is customized, and lifecycle `hooks`.\nWhat the agent may *do* from that environment is the top-level\n`permissions:` block, not this one.\n\nEach `variables` entry names a variable to inject; with an inline `value` it\nis hardcoded, without one it is resolved from the account's sandbox-secrets\nstore. Only the named variables reach this agent; the rest of the account's\nstored variables never do. This is how a config brings in the config and\ncredentials a custom CLI needs.",
|
|
@@ -645,6 +686,37 @@
|
|
|
645
686
|
"title": "AgentConfigGithubPermissions",
|
|
646
687
|
"type": "object"
|
|
647
688
|
},
|
|
689
|
+
"AgentConfigInput": {
|
|
690
|
+
"additionalProperties": false,
|
|
691
|
+
"description": "The typed input contract: what goes INTO a session (the trigger is\nwhen it happens; this is what goes in).\n\n`json_schema` types the payload a caller-started session takes\n(`POST /sessions` `input`, validated at the door; required when\ndeclared). It is illegal on a react-triggered agent \u2014 react payloads are\nplatform-shaped (the published surface field sets), not caller-shaped.\n\n`message` is the initial-message template: exact `{{path}}` substitution\nover the caller payload (or, on a react agent, over the surface's\npublished fields), no conditionals/loops/filters. Refs are validated at\ndeploy time against the governing field set (see AgentConfig's\n`_check_input`).",
|
|
692
|
+
"properties": {
|
|
693
|
+
"json_schema": {
|
|
694
|
+
"anyOf": [
|
|
695
|
+
{
|
|
696
|
+
"additionalProperties": true,
|
|
697
|
+
"type": "object"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"type": "null"
|
|
701
|
+
}
|
|
702
|
+
],
|
|
703
|
+
"title": "Json Schema"
|
|
704
|
+
},
|
|
705
|
+
"message": {
|
|
706
|
+
"anyOf": [
|
|
707
|
+
{
|
|
708
|
+
"type": "string"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"type": "null"
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
"title": "Message"
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
"title": "AgentConfigInput",
|
|
718
|
+
"type": "object"
|
|
719
|
+
},
|
|
648
720
|
"AgentConfigLlm": {
|
|
649
721
|
"additionalProperties": false,
|
|
650
722
|
"description": "Where this agent's completions go.\n\nDefaults to Ellipsis's own LLM proxy (our Anthropic/Bedrock account, or the\naccount-wide BYO provider if one is enabled). Setting `proxy` to the id of a\nproxy registered on the models settings page routes THIS agent's\ncompletions through that gateway instead.\n\nOpt-in per agent by design: registering a proxy does not silently move any\nexisting agent's traffic. The id is account-scoped, so naming another\naccount's id is a terminal config error, not a route.",
|
|
@@ -765,16 +837,39 @@
|
|
|
765
837
|
"title": "AgentConfigMetadata",
|
|
766
838
|
"type": "object"
|
|
767
839
|
},
|
|
840
|
+
"AgentConfigOutput": {
|
|
841
|
+
"additionalProperties": false,
|
|
842
|
+
"description": "The typed output contract: the JSON Schema the agent must exit through\n(the StructuredOutput exit tool). Read back via\nGET /sessions/{id}/output.",
|
|
843
|
+
"properties": {
|
|
844
|
+
"json_schema": {
|
|
845
|
+
"additionalProperties": true,
|
|
846
|
+
"title": "Json Schema",
|
|
847
|
+
"type": "object"
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
"required": [
|
|
851
|
+
"json_schema"
|
|
852
|
+
],
|
|
853
|
+
"title": "AgentConfigOutput",
|
|
854
|
+
"type": "object"
|
|
855
|
+
},
|
|
768
856
|
"AgentConfigPermissions": {
|
|
769
857
|
"additionalProperties": false,
|
|
770
|
-
"description": "What the agent is allowed to touch, per credential the platform mints\ninto its sandbox. Distinct from `environment:`, which is where the agent\nruns; this is what it may do from there.\n\n`ellipsis` scopes the sandbox's Ellipsis API token\n(`ELLIPSIS_API_TOKEN`, what the in-sandbox `agent` CLI authenticates\nwith).
|
|
858
|
+
"description": "What the agent is allowed to touch, per credential the platform mints\ninto its sandbox. Distinct from `environment:`, which is where the agent\nruns; this is what it may do from there.\n\n`ellipsis` scopes the sandbox's Ellipsis API token\n(`ELLIPSIS_API_TOKEN`, what the in-sandbox `agent` CLI authenticates\nwith). `true` / the string `all` (the default) grant the full sandbox\nceiling \u2014 everything a sandbox token can ever do. A map narrows it per\nresource (see `AgentConfigEllipsisPermissions`); 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 sandbox's GitHub installation token (`GH_TOKEN`) \u2014\nsee `AgentConfigGithubPermissions`. GitHub enforces it at mint time.",
|
|
771
859
|
"properties": {
|
|
772
860
|
"ellipsis": {
|
|
773
|
-
"
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
861
|
+
"anyOf": [
|
|
862
|
+
{
|
|
863
|
+
"enum": [
|
|
864
|
+
true,
|
|
865
|
+
"all"
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"$ref": "#/components/schemas/AgentConfigEllipsisPermissions"
|
|
870
|
+
}
|
|
777
871
|
],
|
|
872
|
+
"default": true,
|
|
778
873
|
"title": "Ellipsis"
|
|
779
874
|
},
|
|
780
875
|
"github": {
|
|
@@ -982,27 +1077,6 @@
|
|
|
982
1077
|
"title": "AgentConfigSourceGithub",
|
|
983
1078
|
"type": "object"
|
|
984
1079
|
},
|
|
985
|
-
"AgentConfigStructuredOutput": {
|
|
986
|
-
"additionalProperties": false,
|
|
987
|
-
"properties": {
|
|
988
|
-
"json_schema": {
|
|
989
|
-
"additionalProperties": true,
|
|
990
|
-
"title": "Json Schema",
|
|
991
|
-
"type": "object"
|
|
992
|
-
},
|
|
993
|
-
"type": {
|
|
994
|
-
"const": "json_schema",
|
|
995
|
-
"default": "json_schema",
|
|
996
|
-
"title": "Type",
|
|
997
|
-
"type": "string"
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
"required": [
|
|
1001
|
-
"json_schema"
|
|
1002
|
-
],
|
|
1003
|
-
"title": "AgentConfigStructuredOutput",
|
|
1004
|
-
"type": "object"
|
|
1005
|
-
},
|
|
1006
1080
|
"AgentConfigSystemFileRef": {
|
|
1007
1081
|
"additionalProperties": false,
|
|
1008
1082
|
"properties": {
|
|
@@ -1137,98 +1211,6 @@
|
|
|
1137
1211
|
"title": "AgentDefaultsListResponse",
|
|
1138
1212
|
"type": "object"
|
|
1139
1213
|
},
|
|
1140
|
-
"AgentSessionExitStatus": {
|
|
1141
|
-
"description": "Why a terminal agent session ended \u2014 a finer-grained reason than `status`.\n\n`status` (AgentSessionStatus) is the lifecycle state: COMPLETED / ERROR /\nCANCELLED. `exit_status` explains *why* a run reached that terminal state, so\nthe UI and metrics can tell a budget cutoff apart from a crashed tool call or\na deliberate cancellation. It is None until the run reaches a terminal state.",
|
|
1142
|
-
"enum": [
|
|
1143
|
-
"completed",
|
|
1144
|
-
"budget_hit",
|
|
1145
|
-
"payment_required",
|
|
1146
|
-
"tool_call_failed",
|
|
1147
|
-
"lifecycle_hook_failed",
|
|
1148
|
-
"missing_repo_access",
|
|
1149
|
-
"missing_token_permissions",
|
|
1150
|
-
"missing_sandbox_variables",
|
|
1151
|
-
"cancelled",
|
|
1152
|
-
"interrupted",
|
|
1153
|
-
"error",
|
|
1154
|
-
"stopped"
|
|
1155
|
-
],
|
|
1156
|
-
"title": "AgentSessionExitStatus",
|
|
1157
|
-
"type": "string"
|
|
1158
|
-
},
|
|
1159
|
-
"AgentSessionPr": {
|
|
1160
|
-
"description": "A pull request this session created, denormalized at capture time so\nsession surfaces render a labeled link without joining gh_prs. Live PR\nstate (open/merged/closed) is not stored here \u2014 read it from gh_prs where\na view needs it.",
|
|
1161
|
-
"properties": {
|
|
1162
|
-
"gh_pr_id": {
|
|
1163
|
-
"anyOf": [
|
|
1164
|
-
{
|
|
1165
|
-
"type": "integer"
|
|
1166
|
-
},
|
|
1167
|
-
{
|
|
1168
|
-
"type": "null"
|
|
1169
|
-
}
|
|
1170
|
-
],
|
|
1171
|
-
"title": "Gh Pr Id"
|
|
1172
|
-
},
|
|
1173
|
-
"number": {
|
|
1174
|
-
"title": "Number",
|
|
1175
|
-
"type": "integer"
|
|
1176
|
-
},
|
|
1177
|
-
"repo_full_name": {
|
|
1178
|
-
"title": "Repo Full Name",
|
|
1179
|
-
"type": "string"
|
|
1180
|
-
},
|
|
1181
|
-
"title": {
|
|
1182
|
-
"anyOf": [
|
|
1183
|
-
{
|
|
1184
|
-
"type": "string"
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
"type": "null"
|
|
1188
|
-
}
|
|
1189
|
-
],
|
|
1190
|
-
"title": "Title"
|
|
1191
|
-
},
|
|
1192
|
-
"url": {
|
|
1193
|
-
"title": "Url",
|
|
1194
|
-
"type": "string"
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
"required": [
|
|
1198
|
-
"repo_full_name",
|
|
1199
|
-
"number",
|
|
1200
|
-
"url"
|
|
1201
|
-
],
|
|
1202
|
-
"title": "AgentSessionPr",
|
|
1203
|
-
"type": "object"
|
|
1204
|
-
},
|
|
1205
|
-
"AgentSessionSource": {
|
|
1206
|
-
"enum": [
|
|
1207
|
-
"react",
|
|
1208
|
-
"manual",
|
|
1209
|
-
"api",
|
|
1210
|
-
"cli",
|
|
1211
|
-
"mention",
|
|
1212
|
-
"cron",
|
|
1213
|
-
"laptop"
|
|
1214
|
-
],
|
|
1215
|
-
"title": "AgentSessionSource",
|
|
1216
|
-
"type": "string"
|
|
1217
|
-
},
|
|
1218
|
-
"AgentSessionStatus": {
|
|
1219
|
-
"enum": [
|
|
1220
|
-
"scheduled",
|
|
1221
|
-
"creating_sandbox",
|
|
1222
|
-
"running",
|
|
1223
|
-
"retrying",
|
|
1224
|
-
"completed",
|
|
1225
|
-
"error",
|
|
1226
|
-
"cancelled",
|
|
1227
|
-
"stopped"
|
|
1228
|
-
],
|
|
1229
|
-
"title": "AgentSessionStatus",
|
|
1230
|
-
"type": "string"
|
|
1231
|
-
},
|
|
1232
1214
|
"AgentTemplate": {
|
|
1233
1215
|
"description": "A built-in agent template: a ready-to-use agent config plus the\nmetadata that describes it in the template gallery.",
|
|
1234
1216
|
"properties": {
|
|
@@ -1915,6 +1897,18 @@
|
|
|
1915
1897
|
"title": "Created At",
|
|
1916
1898
|
"type": "string"
|
|
1917
1899
|
},
|
|
1900
|
+
"display_name": {
|
|
1901
|
+
"anyOf": [
|
|
1902
|
+
{
|
|
1903
|
+
"type": "string"
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
"type": "null"
|
|
1907
|
+
}
|
|
1908
|
+
],
|
|
1909
|
+
"description": "The raw ellipsis.name display text from the config file.",
|
|
1910
|
+
"title": "Display Name"
|
|
1911
|
+
},
|
|
1918
1912
|
"edited_by": {
|
|
1919
1913
|
"anyOf": [
|
|
1920
1914
|
{
|
|
@@ -1980,6 +1974,18 @@
|
|
|
1980
1974
|
"description": "The last commit the config was synced from.",
|
|
1981
1975
|
"title": "Last Synced Commit Sha"
|
|
1982
1976
|
},
|
|
1977
|
+
"name": {
|
|
1978
|
+
"anyOf": [
|
|
1979
|
+
{
|
|
1980
|
+
"type": "string"
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"type": "null"
|
|
1984
|
+
}
|
|
1985
|
+
],
|
|
1986
|
+
"description": "The agent's customer-unique addressable name (a slug of its display name); usable anywhere an agent is referenced, interchangeably with the id.",
|
|
1987
|
+
"title": "Name"
|
|
1988
|
+
},
|
|
1983
1989
|
"pending_pull_request_url": {
|
|
1984
1990
|
"anyOf": [
|
|
1985
1991
|
{
|
|
@@ -1992,6 +1998,11 @@
|
|
|
1992
1998
|
"description": "The open pull request that adds this config's file. Non-null means the agent is not live yet: it starts running once the pull request merges and syncs.",
|
|
1993
1999
|
"title": "Pending Pull Request Url"
|
|
1994
2000
|
},
|
|
2001
|
+
"sha": {
|
|
2002
|
+
"description": "The config's content identity: the version fingerprint frozen onto each session that runs it.",
|
|
2003
|
+
"title": "Sha",
|
|
2004
|
+
"type": "string"
|
|
2005
|
+
},
|
|
1995
2006
|
"updated_at": {
|
|
1996
2007
|
"description": "When the config was last updated.",
|
|
1997
2008
|
"format": "date-time",
|
|
@@ -2001,6 +2012,7 @@
|
|
|
2001
2012
|
},
|
|
2002
2013
|
"required": [
|
|
2003
2014
|
"id",
|
|
2015
|
+
"sha",
|
|
2004
2016
|
"created_at",
|
|
2005
2017
|
"updated_at",
|
|
2006
2018
|
"agent_config"
|
|
@@ -2359,6 +2371,34 @@
|
|
|
2359
2371
|
"title": "EffortLevel",
|
|
2360
2372
|
"type": "string"
|
|
2361
2373
|
},
|
|
2374
|
+
"EllipsisGrant": {
|
|
2375
|
+
"additionalProperties": false,
|
|
2376
|
+
"description": "One grant entry: a level, optionally narrowed to instances whose\nnatural key (a file's name, a memory's path, a secret's name, a config's\nname, a session's id) matches any of the `match` globs.",
|
|
2377
|
+
"properties": {
|
|
2378
|
+
"level": {
|
|
2379
|
+
"$ref": "#/components/schemas/Level"
|
|
2380
|
+
},
|
|
2381
|
+
"match": {
|
|
2382
|
+
"anyOf": [
|
|
2383
|
+
{
|
|
2384
|
+
"items": {
|
|
2385
|
+
"type": "string"
|
|
2386
|
+
},
|
|
2387
|
+
"type": "array"
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
"type": "null"
|
|
2391
|
+
}
|
|
2392
|
+
],
|
|
2393
|
+
"title": "Match"
|
|
2394
|
+
}
|
|
2395
|
+
},
|
|
2396
|
+
"required": [
|
|
2397
|
+
"level"
|
|
2398
|
+
],
|
|
2399
|
+
"title": "EllipsisGrant",
|
|
2400
|
+
"type": "object"
|
|
2401
|
+
},
|
|
2362
2402
|
"ErrorInfo": {
|
|
2363
2403
|
"properties": {
|
|
2364
2404
|
"code": {
|
|
@@ -3702,6 +3742,16 @@
|
|
|
3702
3742
|
"title": "JiraIntegrationSummary",
|
|
3703
3743
|
"type": "object"
|
|
3704
3744
|
},
|
|
3745
|
+
"Level": {
|
|
3746
|
+
"description": "What may be done to a resource. Strictly ordered: a grant at one level\nincludes every level below it (write-only would be a phantom capability \u2014\nno real client can create what it cannot read back).",
|
|
3747
|
+
"enum": [
|
|
3748
|
+
"read",
|
|
3749
|
+
"write",
|
|
3750
|
+
"delete"
|
|
3751
|
+
],
|
|
3752
|
+
"title": "Level",
|
|
3753
|
+
"type": "string"
|
|
3754
|
+
},
|
|
3705
3755
|
"LinearIntegrationSummary": {
|
|
3706
3756
|
"description": "The account's connected Linear organization and its teams.",
|
|
3707
3757
|
"properties": {
|
|
@@ -4499,7 +4549,7 @@
|
|
|
4499
4549
|
"description": "Parameters for setting a default agent config, at either the account\nor the repository level.",
|
|
4500
4550
|
"properties": {
|
|
4501
4551
|
"config_id": {
|
|
4502
|
-
"description": "The
|
|
4552
|
+
"description": "The config to make the default: a config id, or the agent's customer-unique `ellipsis.name`.",
|
|
4503
4553
|
"title": "Config Id",
|
|
4504
4554
|
"type": "string"
|
|
4505
4555
|
},
|
|
@@ -4924,7 +4974,7 @@
|
|
|
4924
4974
|
"anyOf": [
|
|
4925
4975
|
{
|
|
4926
4976
|
"items": {
|
|
4927
|
-
"$ref": "#/components/schemas/
|
|
4977
|
+
"$ref": "#/components/schemas/SessionPr"
|
|
4928
4978
|
},
|
|
4929
4979
|
"type": "array"
|
|
4930
4980
|
},
|
|
@@ -4948,7 +4998,7 @@
|
|
|
4948
4998
|
"session_source": {
|
|
4949
4999
|
"anyOf": [
|
|
4950
5000
|
{
|
|
4951
|
-
"$ref": "#/components/schemas/
|
|
5001
|
+
"$ref": "#/components/schemas/SessionSource"
|
|
4952
5002
|
},
|
|
4953
5003
|
{
|
|
4954
5004
|
"type": "null"
|
|
@@ -4959,7 +5009,7 @@
|
|
|
4959
5009
|
"session_status": {
|
|
4960
5010
|
"anyOf": [
|
|
4961
5011
|
{
|
|
4962
|
-
"$ref": "#/components/schemas/
|
|
5012
|
+
"$ref": "#/components/schemas/SessionStatus"
|
|
4963
5013
|
},
|
|
4964
5014
|
{
|
|
4965
5015
|
"type": "null"
|
|
@@ -5153,6 +5203,25 @@
|
|
|
5153
5203
|
"title": "ResolvedReviewScope",
|
|
5154
5204
|
"type": "object"
|
|
5155
5205
|
},
|
|
5206
|
+
"Resource": {
|
|
5207
|
+
"description": "Everything a credential can be granted access to, one value per /v1\nresource family. `TOKENS` is reserved for the future token-management\nroutes; nothing maps to it yet.",
|
|
5208
|
+
"enum": [
|
|
5209
|
+
"account",
|
|
5210
|
+
"alerts",
|
|
5211
|
+
"sessions",
|
|
5212
|
+
"files",
|
|
5213
|
+
"memories",
|
|
5214
|
+
"reviews",
|
|
5215
|
+
"configs",
|
|
5216
|
+
"defaults",
|
|
5217
|
+
"secrets",
|
|
5218
|
+
"templates",
|
|
5219
|
+
"integrations",
|
|
5220
|
+
"tokens"
|
|
5221
|
+
],
|
|
5222
|
+
"title": "Resource",
|
|
5223
|
+
"type": "string"
|
|
5224
|
+
},
|
|
5156
5225
|
"Review": {
|
|
5157
5226
|
"description": "One code review: one pipeline iteration over one commit range of a pull\nrequest.\n\n`review_body`, `findings`, and `counters` are produced as each stage\nsession finishes \u2014 while a review is running they are null/empty. Stream a\nstage's session to follow it live, then re-fetch the review.",
|
|
5158
5227
|
"properties": {
|
|
@@ -6638,53 +6707,27 @@
|
|
|
6638
6707
|
"Session": {
|
|
6639
6708
|
"description": "An agent session: one conversation with an agent, from trigger to\nterminal state. Returned by `GET /sessions/{id}` and carried by the\nsession stream's `session`/`snapshot` frames \u2014 REST and stream never\ndisagree about what a session looks like.",
|
|
6640
6709
|
"properties": {
|
|
6641
|
-
"
|
|
6710
|
+
"attribution": {
|
|
6711
|
+
"$ref": "#/components/schemas/SessionAttribution",
|
|
6712
|
+
"description": "The principal this session is attributed to."
|
|
6713
|
+
},
|
|
6714
|
+
"budget": {
|
|
6715
|
+
"$ref": "#/components/schemas/SessionBudget",
|
|
6716
|
+
"description": "The spend budget enforced for this session."
|
|
6717
|
+
},
|
|
6718
|
+
"client_version": {
|
|
6642
6719
|
"anyOf": [
|
|
6643
6720
|
{
|
|
6644
|
-
"
|
|
6721
|
+
"type": "string"
|
|
6645
6722
|
},
|
|
6646
6723
|
{
|
|
6647
6724
|
"type": "null"
|
|
6648
6725
|
}
|
|
6649
6726
|
],
|
|
6650
|
-
"description": "
|
|
6727
|
+
"description": "Version of the client that started the session, if reported.",
|
|
6728
|
+
"title": "Client Version"
|
|
6651
6729
|
},
|
|
6652
|
-
"
|
|
6653
|
-
"anyOf": [
|
|
6654
|
-
{
|
|
6655
|
-
"type": "string"
|
|
6656
|
-
},
|
|
6657
|
-
{
|
|
6658
|
-
"type": "null"
|
|
6659
|
-
}
|
|
6660
|
-
],
|
|
6661
|
-
"description": "Identifier of the principal the session is attributed to.",
|
|
6662
|
-
"title": "Attribution Id"
|
|
6663
|
-
},
|
|
6664
|
-
"attribution_type": {
|
|
6665
|
-
"anyOf": [
|
|
6666
|
-
{
|
|
6667
|
-
"$ref": "#/components/schemas/AttributionType"
|
|
6668
|
-
},
|
|
6669
|
-
{
|
|
6670
|
-
"type": "null"
|
|
6671
|
-
}
|
|
6672
|
-
],
|
|
6673
|
-
"description": "Kind of principal the session is attributed to (e.g. a GitHub user or an API key)."
|
|
6674
|
-
},
|
|
6675
|
-
"client_version": {
|
|
6676
|
-
"anyOf": [
|
|
6677
|
-
{
|
|
6678
|
-
"type": "string"
|
|
6679
|
-
},
|
|
6680
|
-
{
|
|
6681
|
-
"type": "null"
|
|
6682
|
-
}
|
|
6683
|
-
],
|
|
6684
|
-
"description": "Version of the client that started the session, if reported.",
|
|
6685
|
-
"title": "Client Version"
|
|
6686
|
-
},
|
|
6687
|
-
"config_id": {
|
|
6730
|
+
"config_id": {
|
|
6688
6731
|
"anyOf": [
|
|
6689
6732
|
{
|
|
6690
6733
|
"type": "string"
|
|
@@ -6721,28 +6764,9 @@
|
|
|
6721
6764
|
"description": "The \"owner/name\" repository context the session was started in, if any.",
|
|
6722
6765
|
"title": "Context Repository"
|
|
6723
6766
|
},
|
|
6724
|
-
"
|
|
6725
|
-
"
|
|
6726
|
-
"description": "
|
|
6727
|
-
"title": "Cost Fee",
|
|
6728
|
-
"type": "integer"
|
|
6729
|
-
},
|
|
6730
|
-
"cost_sandbox_cpu": {
|
|
6731
|
-
"default": 0,
|
|
6732
|
-
"description": "Sandbox CPU spend in millicents.",
|
|
6733
|
-
"title": "Cost Sandbox Cpu",
|
|
6734
|
-
"type": "integer"
|
|
6735
|
-
},
|
|
6736
|
-
"cost_sandbox_memory": {
|
|
6737
|
-
"default": 0,
|
|
6738
|
-
"description": "Sandbox memory spend in millicents.",
|
|
6739
|
-
"title": "Cost Sandbox Memory",
|
|
6740
|
-
"type": "integer"
|
|
6741
|
-
},
|
|
6742
|
-
"cost_tokens": {
|
|
6743
|
-
"description": "Token spend in millicents. The session's grand total cost is the sum of cost_tokens, cost_sandbox_cpu, cost_sandbox_memory, and cost_fee.",
|
|
6744
|
-
"title": "Cost Tokens",
|
|
6745
|
-
"type": "integer"
|
|
6767
|
+
"cost": {
|
|
6768
|
+
"$ref": "#/components/schemas/SessionCost",
|
|
6769
|
+
"description": "What the session cost, in millicents, broken down by leg and carrying its own total."
|
|
6746
6770
|
},
|
|
6747
6771
|
"created_at": {
|
|
6748
6772
|
"description": "When the session was created.",
|
|
@@ -6764,7 +6788,7 @@
|
|
|
6764
6788
|
"exit_status": {
|
|
6765
6789
|
"anyOf": [
|
|
6766
6790
|
{
|
|
6767
|
-
"$ref": "#/components/schemas/
|
|
6791
|
+
"$ref": "#/components/schemas/SessionExitStatus"
|
|
6768
6792
|
},
|
|
6769
6793
|
{
|
|
6770
6794
|
"type": "null"
|
|
@@ -6832,7 +6856,7 @@
|
|
|
6832
6856
|
"anyOf": [
|
|
6833
6857
|
{
|
|
6834
6858
|
"items": {
|
|
6835
|
-
"$ref": "#/components/schemas/
|
|
6859
|
+
"$ref": "#/components/schemas/SessionPr"
|
|
6836
6860
|
},
|
|
6837
6861
|
"type": "array"
|
|
6838
6862
|
},
|
|
@@ -6843,28 +6867,9 @@
|
|
|
6843
6867
|
"description": "Pull requests the session created or updated.",
|
|
6844
6868
|
"title": "Output Prs"
|
|
6845
6869
|
},
|
|
6846
|
-
"
|
|
6847
|
-
"
|
|
6848
|
-
|
|
6849
|
-
"$ref": "#/components/schemas/ParentKind"
|
|
6850
|
-
},
|
|
6851
|
-
{
|
|
6852
|
-
"type": "null"
|
|
6853
|
-
}
|
|
6854
|
-
],
|
|
6855
|
-
"description": "How this session relates to its parent session, if any."
|
|
6856
|
-
},
|
|
6857
|
-
"parent_session_id": {
|
|
6858
|
-
"anyOf": [
|
|
6859
|
-
{
|
|
6860
|
-
"type": "string"
|
|
6861
|
-
},
|
|
6862
|
-
{
|
|
6863
|
-
"type": "null"
|
|
6864
|
-
}
|
|
6865
|
-
],
|
|
6866
|
-
"description": "Identifier of the parent session that spawned this one, if any.",
|
|
6867
|
-
"title": "Parent Session Id"
|
|
6870
|
+
"parent": {
|
|
6871
|
+
"$ref": "#/components/schemas/SessionParent",
|
|
6872
|
+
"description": "What preceded this session, if anything."
|
|
6868
6873
|
},
|
|
6869
6874
|
"prompt": {
|
|
6870
6875
|
"anyOf": [
|
|
@@ -6882,27 +6887,6 @@
|
|
|
6882
6887
|
"$ref": "#/components/schemas/SessionPrompting",
|
|
6883
6888
|
"description": "Whether a client may send this session a message and, when it may not, the reason to show instead of a composer."
|
|
6884
6889
|
},
|
|
6885
|
-
"replayed_from_session_id": {
|
|
6886
|
-
"anyOf": [
|
|
6887
|
-
{
|
|
6888
|
-
"type": "string"
|
|
6889
|
-
},
|
|
6890
|
-
{
|
|
6891
|
-
"type": "null"
|
|
6892
|
-
}
|
|
6893
|
-
],
|
|
6894
|
-
"description": "Identifier of the original session this one was replayed from, if it was started via replay.",
|
|
6895
|
-
"title": "Replayed From Session Id"
|
|
6896
|
-
},
|
|
6897
|
-
"resolved_budget_cents": {
|
|
6898
|
-
"description": "The spend budget resolved for this session, in cents.",
|
|
6899
|
-
"title": "Resolved Budget Cents",
|
|
6900
|
-
"type": "integer"
|
|
6901
|
-
},
|
|
6902
|
-
"resolved_budget_source": {
|
|
6903
|
-
"$ref": "#/components/schemas/BudgetSource",
|
|
6904
|
-
"description": "Where the resolved budget came from."
|
|
6905
|
-
},
|
|
6906
6890
|
"sandbox_id": {
|
|
6907
6891
|
"anyOf": [
|
|
6908
6892
|
{
|
|
@@ -6939,11 +6923,11 @@
|
|
|
6939
6923
|
"description": "Lifecycle state of the durable conversation, or null for sessions without one."
|
|
6940
6924
|
},
|
|
6941
6925
|
"source": {
|
|
6942
|
-
"$ref": "#/components/schemas/
|
|
6926
|
+
"$ref": "#/components/schemas/SessionSource",
|
|
6943
6927
|
"description": "Where the session came from (e.g. react, manual, api, cli, mention, cron, laptop)."
|
|
6944
6928
|
},
|
|
6945
6929
|
"status": {
|
|
6946
|
-
"$ref": "#/components/schemas/
|
|
6930
|
+
"$ref": "#/components/schemas/SessionStatus",
|
|
6947
6931
|
"description": "Execution status of the session."
|
|
6948
6932
|
},
|
|
6949
6933
|
"status_reason": {
|
|
@@ -6958,41 +6942,9 @@
|
|
|
6958
6942
|
"description": "Human-readable reason for the current status, when there is one.",
|
|
6959
6943
|
"title": "Status Reason"
|
|
6960
6944
|
},
|
|
6961
|
-
"
|
|
6962
|
-
"
|
|
6963
|
-
|
|
6964
|
-
"format": "date-time",
|
|
6965
|
-
"type": "string"
|
|
6966
|
-
},
|
|
6967
|
-
{
|
|
6968
|
-
"type": "null"
|
|
6969
|
-
}
|
|
6970
|
-
],
|
|
6971
|
-
"description": "When a stop was requested, if one was.",
|
|
6972
|
-
"title": "Stopped At"
|
|
6973
|
-
},
|
|
6974
|
-
"stopped_by": {
|
|
6975
|
-
"anyOf": [
|
|
6976
|
-
{
|
|
6977
|
-
"type": "integer"
|
|
6978
|
-
},
|
|
6979
|
-
{
|
|
6980
|
-
"type": "null"
|
|
6981
|
-
}
|
|
6982
|
-
],
|
|
6983
|
-
"description": "GitHub account id of the user who stopped the session, if known.",
|
|
6984
|
-
"title": "Stopped By"
|
|
6985
|
-
},
|
|
6986
|
-
"stopped_by_user": {
|
|
6987
|
-
"anyOf": [
|
|
6988
|
-
{
|
|
6989
|
-
"$ref": "#/components/schemas/GithubAccountSnippet"
|
|
6990
|
-
},
|
|
6991
|
-
{
|
|
6992
|
-
"type": "null"
|
|
6993
|
-
}
|
|
6994
|
-
],
|
|
6995
|
-
"description": "The GitHub user who stopped the session, if it was stopped."
|
|
6945
|
+
"stopped": {
|
|
6946
|
+
"$ref": "#/components/schemas/SessionStopped",
|
|
6947
|
+
"description": "The stop request, if the session was stopped."
|
|
6996
6948
|
},
|
|
6997
6949
|
"surface": {
|
|
6998
6950
|
"anyOf": [
|
|
@@ -7005,40 +6957,9 @@
|
|
|
7005
6957
|
],
|
|
7006
6958
|
"description": "The public status projection; null for laptop-synced sessions."
|
|
7007
6959
|
},
|
|
7008
|
-
"
|
|
7009
|
-
"
|
|
7010
|
-
"description": "
|
|
7011
|
-
"title": "Tokens Cache Creation",
|
|
7012
|
-
"type": "integer"
|
|
7013
|
-
},
|
|
7014
|
-
"tokens_cache_read": {
|
|
7015
|
-
"default": 0,
|
|
7016
|
-
"description": "Tokens read from the prompt cache.",
|
|
7017
|
-
"title": "Tokens Cache Read",
|
|
7018
|
-
"type": "integer"
|
|
7019
|
-
},
|
|
7020
|
-
"tokens_input": {
|
|
7021
|
-
"default": 0,
|
|
7022
|
-
"description": "Input tokens used.",
|
|
7023
|
-
"title": "Tokens Input",
|
|
7024
|
-
"type": "integer"
|
|
7025
|
-
},
|
|
7026
|
-
"tokens_model": {
|
|
7027
|
-
"description": "The model the token counts are attributed to.",
|
|
7028
|
-
"title": "Tokens Model",
|
|
7029
|
-
"type": "string"
|
|
7030
|
-
},
|
|
7031
|
-
"tokens_output": {
|
|
7032
|
-
"default": 0,
|
|
7033
|
-
"description": "Output tokens used.",
|
|
7034
|
-
"title": "Tokens Output",
|
|
7035
|
-
"type": "integer"
|
|
7036
|
-
},
|
|
7037
|
-
"tokens_total": {
|
|
7038
|
-
"default": 0,
|
|
7039
|
-
"description": "Total tokens used by the session.",
|
|
7040
|
-
"title": "Tokens Total",
|
|
7041
|
-
"type": "integer"
|
|
6960
|
+
"tokens": {
|
|
6961
|
+
"$ref": "#/components/schemas/SessionTokens",
|
|
6962
|
+
"description": "The tokens the session spent and the model they went to. `total` includes the prompt-cache lanes."
|
|
7042
6963
|
},
|
|
7043
6964
|
"updated_at": {
|
|
7044
6965
|
"description": "When the session was last updated.",
|
|
@@ -7076,16 +6997,108 @@
|
|
|
7076
6997
|
"updated_at",
|
|
7077
6998
|
"harness",
|
|
7078
6999
|
"source",
|
|
7079
|
-
"cost_tokens",
|
|
7080
|
-
"tokens_model",
|
|
7081
|
-
"resolved_budget_cents",
|
|
7082
|
-
"resolved_budget_source",
|
|
7083
7000
|
"status",
|
|
7084
7001
|
"prompting"
|
|
7085
7002
|
],
|
|
7086
7003
|
"title": "Session",
|
|
7087
7004
|
"type": "object"
|
|
7088
7005
|
},
|
|
7006
|
+
"SessionAttribution": {
|
|
7007
|
+
"description": "The principal a session is attributed to: what kind, its id, and \u2014 when\nthe kind is a GitHub user \u2014 the resolved display snippet.",
|
|
7008
|
+
"properties": {
|
|
7009
|
+
"id": {
|
|
7010
|
+
"anyOf": [
|
|
7011
|
+
{
|
|
7012
|
+
"type": "string"
|
|
7013
|
+
},
|
|
7014
|
+
{
|
|
7015
|
+
"type": "null"
|
|
7016
|
+
}
|
|
7017
|
+
],
|
|
7018
|
+
"description": "Identifier of the principal the session is attributed to.",
|
|
7019
|
+
"title": "Id"
|
|
7020
|
+
},
|
|
7021
|
+
"type": {
|
|
7022
|
+
"anyOf": [
|
|
7023
|
+
{
|
|
7024
|
+
"$ref": "#/components/schemas/AttributionType"
|
|
7025
|
+
},
|
|
7026
|
+
{
|
|
7027
|
+
"type": "null"
|
|
7028
|
+
}
|
|
7029
|
+
],
|
|
7030
|
+
"description": "Kind of principal the session is attributed to (e.g. a GitHub user or an API key)."
|
|
7031
|
+
},
|
|
7032
|
+
"user": {
|
|
7033
|
+
"anyOf": [
|
|
7034
|
+
{
|
|
7035
|
+
"$ref": "#/components/schemas/GithubAccountSnippet"
|
|
7036
|
+
},
|
|
7037
|
+
{
|
|
7038
|
+
"type": "null"
|
|
7039
|
+
}
|
|
7040
|
+
],
|
|
7041
|
+
"description": "The GitHub user the session is attributed to, resolved at read time. Null when the attribution is not a GitHub user."
|
|
7042
|
+
}
|
|
7043
|
+
},
|
|
7044
|
+
"title": "SessionAttribution",
|
|
7045
|
+
"type": "object"
|
|
7046
|
+
},
|
|
7047
|
+
"SessionBudget": {
|
|
7048
|
+
"description": "The spend budget actually enforced for this session, and which layer of\nthe cascade set it.",
|
|
7049
|
+
"properties": {
|
|
7050
|
+
"cents": {
|
|
7051
|
+
"default": 0,
|
|
7052
|
+
"description": "The spend budget resolved for this session, in cents.",
|
|
7053
|
+
"title": "Cents",
|
|
7054
|
+
"type": "integer"
|
|
7055
|
+
},
|
|
7056
|
+
"source": {
|
|
7057
|
+
"$ref": "#/components/schemas/BudgetSource",
|
|
7058
|
+
"default": "account",
|
|
7059
|
+
"description": "Where the resolved budget came from."
|
|
7060
|
+
}
|
|
7061
|
+
},
|
|
7062
|
+
"title": "SessionBudget",
|
|
7063
|
+
"type": "object"
|
|
7064
|
+
},
|
|
7065
|
+
"SessionCost": {
|
|
7066
|
+
"description": "What a session (or one turn of it) cost, in millicents.\n\n`llm` is deliberately NOT called `tokens`: it would sit beside the `tokens`\nobject and read as \"the token count's cost\" rather than \"the cost of the\nLLM leg\".",
|
|
7067
|
+
"properties": {
|
|
7068
|
+
"fee": {
|
|
7069
|
+
"default": 0,
|
|
7070
|
+
"description": "Platform fee in millicents.",
|
|
7071
|
+
"title": "Fee",
|
|
7072
|
+
"type": "integer"
|
|
7073
|
+
},
|
|
7074
|
+
"llm": {
|
|
7075
|
+
"default": 0,
|
|
7076
|
+
"description": "LLM spend in millicents.",
|
|
7077
|
+
"title": "Llm",
|
|
7078
|
+
"type": "integer"
|
|
7079
|
+
},
|
|
7080
|
+
"sandbox_cpu": {
|
|
7081
|
+
"default": 0,
|
|
7082
|
+
"description": "Sandbox CPU spend in millicents.",
|
|
7083
|
+
"title": "Sandbox Cpu",
|
|
7084
|
+
"type": "integer"
|
|
7085
|
+
},
|
|
7086
|
+
"sandbox_memory": {
|
|
7087
|
+
"default": 0,
|
|
7088
|
+
"description": "Sandbox memory spend in millicents.",
|
|
7089
|
+
"title": "Sandbox Memory",
|
|
7090
|
+
"type": "integer"
|
|
7091
|
+
},
|
|
7092
|
+
"total": {
|
|
7093
|
+
"default": 0,
|
|
7094
|
+
"description": "The grand total in millicents: llm + sandbox_cpu + sandbox_memory + fee.",
|
|
7095
|
+
"title": "Total",
|
|
7096
|
+
"type": "integer"
|
|
7097
|
+
}
|
|
7098
|
+
},
|
|
7099
|
+
"title": "SessionCost",
|
|
7100
|
+
"type": "object"
|
|
7101
|
+
},
|
|
7089
7102
|
"SessionExecution": {
|
|
7090
7103
|
"description": "One runtime attempt of a session \u2014 the initial start, a cold wake of a\ndurable conversation, or an infrastructure retry \u2014 including the launch\ncontext the model was actually given.",
|
|
7091
7104
|
"properties": {
|
|
@@ -7209,6 +7222,25 @@
|
|
|
7209
7222
|
"title": "SessionExecutionsListResponse",
|
|
7210
7223
|
"type": "object"
|
|
7211
7224
|
},
|
|
7225
|
+
"SessionExitStatus": {
|
|
7226
|
+
"description": "Why a terminal agent session ended \u2014 a finer-grained reason than `status`.\n\n`status` (SessionStatus) is the lifecycle state: COMPLETED / ERROR /\nCANCELLED. `exit_status` explains *why* a run reached that terminal state, so\nthe UI and metrics can tell a budget cutoff apart from a crashed tool call or\na deliberate cancellation. It is None until the run reaches a terminal state.",
|
|
7227
|
+
"enum": [
|
|
7228
|
+
"completed",
|
|
7229
|
+
"budget_hit",
|
|
7230
|
+
"payment_required",
|
|
7231
|
+
"tool_call_failed",
|
|
7232
|
+
"lifecycle_hook_failed",
|
|
7233
|
+
"missing_repo_access",
|
|
7234
|
+
"missing_token_permissions",
|
|
7235
|
+
"missing_sandbox_variables",
|
|
7236
|
+
"cancelled",
|
|
7237
|
+
"interrupted",
|
|
7238
|
+
"error",
|
|
7239
|
+
"stopped"
|
|
7240
|
+
],
|
|
7241
|
+
"title": "SessionExitStatus",
|
|
7242
|
+
"type": "string"
|
|
7243
|
+
},
|
|
7212
7244
|
"SessionLiveness": {
|
|
7213
7245
|
"description": "The durable conversation axis (backs the surfaced `session` field).",
|
|
7214
7246
|
"enum": [
|
|
@@ -7397,6 +7429,94 @@
|
|
|
7397
7429
|
"title": "SessionMessageStatus",
|
|
7398
7430
|
"type": "string"
|
|
7399
7431
|
},
|
|
7432
|
+
"SessionParent": {
|
|
7433
|
+
"description": "The ONE \"preceded-by\" chain: the predecessor session and how this one\nrelates to it. Not a parent that orchestrates children \u2014 a session never\nspawns sub-sessions.",
|
|
7434
|
+
"properties": {
|
|
7435
|
+
"kind": {
|
|
7436
|
+
"anyOf": [
|
|
7437
|
+
{
|
|
7438
|
+
"$ref": "#/components/schemas/ParentKind"
|
|
7439
|
+
},
|
|
7440
|
+
{
|
|
7441
|
+
"type": "null"
|
|
7442
|
+
}
|
|
7443
|
+
],
|
|
7444
|
+
"description": "How this session relates to its parent session, if any."
|
|
7445
|
+
},
|
|
7446
|
+
"replayed_from_session_id": {
|
|
7447
|
+
"anyOf": [
|
|
7448
|
+
{
|
|
7449
|
+
"type": "string"
|
|
7450
|
+
},
|
|
7451
|
+
{
|
|
7452
|
+
"type": "null"
|
|
7453
|
+
}
|
|
7454
|
+
],
|
|
7455
|
+
"description": "Identifier of the original session this one was replayed from, if it was started via replay.",
|
|
7456
|
+
"title": "Replayed From Session Id"
|
|
7457
|
+
},
|
|
7458
|
+
"session_id": {
|
|
7459
|
+
"anyOf": [
|
|
7460
|
+
{
|
|
7461
|
+
"type": "string"
|
|
7462
|
+
},
|
|
7463
|
+
{
|
|
7464
|
+
"type": "null"
|
|
7465
|
+
}
|
|
7466
|
+
],
|
|
7467
|
+
"description": "Identifier of the parent session that spawned this one, if any.",
|
|
7468
|
+
"title": "Session Id"
|
|
7469
|
+
}
|
|
7470
|
+
},
|
|
7471
|
+
"title": "SessionParent",
|
|
7472
|
+
"type": "object"
|
|
7473
|
+
},
|
|
7474
|
+
"SessionPr": {
|
|
7475
|
+
"description": "A pull request this session created, denormalized at capture time so\nsession surfaces render a labeled link without joining gh_prs. Live PR\nstate (open/merged/closed) is not stored here \u2014 read it from gh_prs where\na view needs it.",
|
|
7476
|
+
"properties": {
|
|
7477
|
+
"gh_pr_id": {
|
|
7478
|
+
"anyOf": [
|
|
7479
|
+
{
|
|
7480
|
+
"type": "integer"
|
|
7481
|
+
},
|
|
7482
|
+
{
|
|
7483
|
+
"type": "null"
|
|
7484
|
+
}
|
|
7485
|
+
],
|
|
7486
|
+
"title": "Gh Pr Id"
|
|
7487
|
+
},
|
|
7488
|
+
"number": {
|
|
7489
|
+
"title": "Number",
|
|
7490
|
+
"type": "integer"
|
|
7491
|
+
},
|
|
7492
|
+
"repo_full_name": {
|
|
7493
|
+
"title": "Repo Full Name",
|
|
7494
|
+
"type": "string"
|
|
7495
|
+
},
|
|
7496
|
+
"title": {
|
|
7497
|
+
"anyOf": [
|
|
7498
|
+
{
|
|
7499
|
+
"type": "string"
|
|
7500
|
+
},
|
|
7501
|
+
{
|
|
7502
|
+
"type": "null"
|
|
7503
|
+
}
|
|
7504
|
+
],
|
|
7505
|
+
"title": "Title"
|
|
7506
|
+
},
|
|
7507
|
+
"url": {
|
|
7508
|
+
"title": "Url",
|
|
7509
|
+
"type": "string"
|
|
7510
|
+
}
|
|
7511
|
+
},
|
|
7512
|
+
"required": [
|
|
7513
|
+
"repo_full_name",
|
|
7514
|
+
"number",
|
|
7515
|
+
"url"
|
|
7516
|
+
],
|
|
7517
|
+
"title": "SessionPr",
|
|
7518
|
+
"type": "object"
|
|
7519
|
+
},
|
|
7400
7520
|
"SessionPrompting": {
|
|
7401
7521
|
"description": "The prompt-affordance projection. `enabled` answers \"would a send work\",\nand when it wouldn't, `blocked_reason` + `detail` say why.\n\n`surface_name` is set only for MENTION_SURFACE, naming where to reply.",
|
|
7402
7522
|
"properties": {
|
|
@@ -7751,8 +7871,21 @@
|
|
|
7751
7871
|
"title": "SessionSearchScope",
|
|
7752
7872
|
"type": "string"
|
|
7753
7873
|
},
|
|
7874
|
+
"SessionSource": {
|
|
7875
|
+
"enum": [
|
|
7876
|
+
"react",
|
|
7877
|
+
"manual",
|
|
7878
|
+
"api",
|
|
7879
|
+
"cli",
|
|
7880
|
+
"mention",
|
|
7881
|
+
"cron",
|
|
7882
|
+
"laptop"
|
|
7883
|
+
],
|
|
7884
|
+
"title": "SessionSource",
|
|
7885
|
+
"type": "string"
|
|
7886
|
+
},
|
|
7754
7887
|
"SessionState": {
|
|
7755
|
-
"description": "Lifecycle of a keyed (multi-turn) session \u2014 the durable conversation.\nDistinct from
|
|
7888
|
+
"description": "Lifecycle of a keyed (multi-turn) session \u2014 the durable conversation.\nDistinct from SessionStatus, which is per-execution (one turn's run) and\nmoves to agent_turns in a later slice. IDLE: alive, waiting for the next\nmessage. RUNNING: a turn is executing. CLOSED: the conversation is done and\nits sandbox/snapshots are torn down.",
|
|
7756
7889
|
"enum": [
|
|
7757
7890
|
"idle",
|
|
7758
7891
|
"running",
|
|
@@ -7761,6 +7894,63 @@
|
|
|
7761
7894
|
"title": "SessionState",
|
|
7762
7895
|
"type": "string"
|
|
7763
7896
|
},
|
|
7897
|
+
"SessionStatus": {
|
|
7898
|
+
"enum": [
|
|
7899
|
+
"scheduled",
|
|
7900
|
+
"creating_sandbox",
|
|
7901
|
+
"running",
|
|
7902
|
+
"retrying",
|
|
7903
|
+
"completed",
|
|
7904
|
+
"error",
|
|
7905
|
+
"cancelled",
|
|
7906
|
+
"stopped"
|
|
7907
|
+
],
|
|
7908
|
+
"title": "SessionStatus",
|
|
7909
|
+
"type": "string"
|
|
7910
|
+
},
|
|
7911
|
+
"SessionStopped": {
|
|
7912
|
+
"description": "The stop request, if there was one: when, by which GitHub account id,\nand that account resolved to a display snippet.",
|
|
7913
|
+
"properties": {
|
|
7914
|
+
"at": {
|
|
7915
|
+
"anyOf": [
|
|
7916
|
+
{
|
|
7917
|
+
"format": "date-time",
|
|
7918
|
+
"type": "string"
|
|
7919
|
+
},
|
|
7920
|
+
{
|
|
7921
|
+
"type": "null"
|
|
7922
|
+
}
|
|
7923
|
+
],
|
|
7924
|
+
"description": "When a stop was requested, if one was.",
|
|
7925
|
+
"title": "At"
|
|
7926
|
+
},
|
|
7927
|
+
"by": {
|
|
7928
|
+
"anyOf": [
|
|
7929
|
+
{
|
|
7930
|
+
"type": "integer"
|
|
7931
|
+
},
|
|
7932
|
+
{
|
|
7933
|
+
"type": "null"
|
|
7934
|
+
}
|
|
7935
|
+
],
|
|
7936
|
+
"description": "GitHub account id of the user who stopped the session, if known.",
|
|
7937
|
+
"title": "By"
|
|
7938
|
+
},
|
|
7939
|
+
"by_user": {
|
|
7940
|
+
"anyOf": [
|
|
7941
|
+
{
|
|
7942
|
+
"$ref": "#/components/schemas/GithubAccountSnippet"
|
|
7943
|
+
},
|
|
7944
|
+
{
|
|
7945
|
+
"type": "null"
|
|
7946
|
+
}
|
|
7947
|
+
],
|
|
7948
|
+
"description": "The GitHub user who stopped the session, resolved at read time."
|
|
7949
|
+
}
|
|
7950
|
+
},
|
|
7951
|
+
"title": "SessionStopped",
|
|
7952
|
+
"type": "object"
|
|
7953
|
+
},
|
|
7764
7954
|
"SessionSurface": {
|
|
7765
7955
|
"description": "The three fields we expose. All `None` for an un-keyed (laptop) session.\n\n`use_enum_values=True` (from CustomBaseModel) stores the members as their\nstring values, so this serializes to `{\"session\": \"alive\", \"run\": \"waiting\",\n\"status\": \"waiting\"}` \u2014 a plain object, not enum names.",
|
|
7766
7956
|
"properties": {
|
|
@@ -7796,12 +7986,55 @@
|
|
|
7796
7986
|
"title": "Status"
|
|
7797
7987
|
}
|
|
7798
7988
|
},
|
|
7799
|
-
"required": [
|
|
7800
|
-
"session",
|
|
7801
|
-
"run",
|
|
7802
|
-
"status"
|
|
7803
|
-
],
|
|
7804
|
-
"title": "SessionSurface",
|
|
7989
|
+
"required": [
|
|
7990
|
+
"session",
|
|
7991
|
+
"run",
|
|
7992
|
+
"status"
|
|
7993
|
+
],
|
|
7994
|
+
"title": "SessionSurface",
|
|
7995
|
+
"type": "object"
|
|
7996
|
+
},
|
|
7997
|
+
"SessionTokens": {
|
|
7998
|
+
"description": "The token counts a session (or turn) spent, and the model they went to.\n\n`total` INCLUDES the cache lanes, unlike the old flat `tokens_total` which\ncounted input+output+thinking only and left callers to add cache reads and\nwrites back themselves (the deleted `tokensTotalAll` helper). Cache tokens\ndominate an agent run's token bill, so a \"total\" that omits them is the\nwrong default and produced two competing totals in the dashboard.",
|
|
7999
|
+
"properties": {
|
|
8000
|
+
"cache_creation": {
|
|
8001
|
+
"default": 0,
|
|
8002
|
+
"description": "Tokens written to the prompt cache.",
|
|
8003
|
+
"title": "Cache Creation",
|
|
8004
|
+
"type": "integer"
|
|
8005
|
+
},
|
|
8006
|
+
"cache_read": {
|
|
8007
|
+
"default": 0,
|
|
8008
|
+
"description": "Tokens read from the prompt cache.",
|
|
8009
|
+
"title": "Cache Read",
|
|
8010
|
+
"type": "integer"
|
|
8011
|
+
},
|
|
8012
|
+
"input": {
|
|
8013
|
+
"default": 0,
|
|
8014
|
+
"description": "Input tokens used.",
|
|
8015
|
+
"title": "Input",
|
|
8016
|
+
"type": "integer"
|
|
8017
|
+
},
|
|
8018
|
+
"model": {
|
|
8019
|
+
"default": "",
|
|
8020
|
+
"description": "The model the token counts are attributed to.",
|
|
8021
|
+
"title": "Model",
|
|
8022
|
+
"type": "string"
|
|
8023
|
+
},
|
|
8024
|
+
"output": {
|
|
8025
|
+
"default": 0,
|
|
8026
|
+
"description": "Output tokens used.",
|
|
8027
|
+
"title": "Output",
|
|
8028
|
+
"type": "integer"
|
|
8029
|
+
},
|
|
8030
|
+
"total": {
|
|
8031
|
+
"default": 0,
|
|
8032
|
+
"description": "Total tokens consumed, INCLUDING the prompt-cache reads and writes \u2014 the same basis the token cost is priced on.",
|
|
8033
|
+
"title": "Total",
|
|
8034
|
+
"type": "integer"
|
|
8035
|
+
}
|
|
8036
|
+
},
|
|
8037
|
+
"title": "SessionTokens",
|
|
7805
8038
|
"type": "object"
|
|
7806
8039
|
},
|
|
7807
8040
|
"SessionsListResponse": {
|
|
@@ -8081,7 +8314,7 @@
|
|
|
8081
8314
|
"type": "null"
|
|
8082
8315
|
}
|
|
8083
8316
|
],
|
|
8084
|
-
"description": "A saved agent config
|
|
8317
|
+
"description": "A saved agent config to run under: its id, or the agent's customer-unique `ellipsis.name`.",
|
|
8085
8318
|
"title": "Config Id"
|
|
8086
8319
|
},
|
|
8087
8320
|
"config_override": {
|
|
@@ -8132,6 +8365,19 @@
|
|
|
8132
8365
|
"title": "Idle Start",
|
|
8133
8366
|
"type": "boolean"
|
|
8134
8367
|
},
|
|
8368
|
+
"input": {
|
|
8369
|
+
"anyOf": [
|
|
8370
|
+
{
|
|
8371
|
+
"additionalProperties": true,
|
|
8372
|
+
"type": "object"
|
|
8373
|
+
},
|
|
8374
|
+
{
|
|
8375
|
+
"type": "null"
|
|
8376
|
+
}
|
|
8377
|
+
],
|
|
8378
|
+
"description": "The typed payload for an agent that declares input.json_schema: validated against the effective config's schema (422 on mismatch), rendered into the session's initial message (the agent's input.message template, or a JSON block). Required when the agent declares a schema; rejected when it does not.",
|
|
8379
|
+
"title": "Input"
|
|
8380
|
+
},
|
|
8135
8381
|
"metadata": {
|
|
8136
8382
|
"additionalProperties": {
|
|
8137
8383
|
"type": "string"
|
|
@@ -8746,10 +8992,11 @@
|
|
|
8746
8992
|
"summary": "List Agent Configs",
|
|
8747
8993
|
"tags": [
|
|
8748
8994
|
"v1"
|
|
8749
|
-
]
|
|
8995
|
+
],
|
|
8996
|
+
"x-ellipsis-sdk-method": "agents.configs.list"
|
|
8750
8997
|
},
|
|
8751
8998
|
"post": {
|
|
8752
|
-
"description": "Create an agent config via pull request.\n\nThe PR adds the config file to agents/ on the target\nrepository.\n\nAccepts an inline config or a gallery template slug.",
|
|
8999
|
+
"description": "Create an agent config via pull request.\n\nThe PR adds the config file to agents/ on the target\nrepository; the agent goes live when it merges.\n\nAccepts an inline config or a gallery template slug. 409 when\nanother live agent already holds the name.",
|
|
8753
9000
|
"operationId": "create_agent_config",
|
|
8754
9001
|
"parameters": [
|
|
8755
9002
|
{
|
|
@@ -8838,17 +9085,17 @@
|
|
|
8838
9085
|
}
|
|
8839
9086
|
}
|
|
8840
9087
|
},
|
|
8841
|
-
"description": "
|
|
9088
|
+
"description": "An agent with that name already exists, another agent is already synced from that path, or a file already exists there."
|
|
8842
9089
|
},
|
|
8843
9090
|
"422": {
|
|
8844
9091
|
"content": {
|
|
8845
9092
|
"application/json": {
|
|
8846
9093
|
"schema": {
|
|
8847
|
-
"$ref": "#/components/schemas/
|
|
9094
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
8848
9095
|
}
|
|
8849
9096
|
}
|
|
8850
9097
|
},
|
|
8851
|
-
"description": "
|
|
9098
|
+
"description": "The agent's name contains no usable characters."
|
|
8852
9099
|
}
|
|
8853
9100
|
},
|
|
8854
9101
|
"security": [
|
|
@@ -8859,12 +9106,13 @@
|
|
|
8859
9106
|
"summary": "Create Agent Config",
|
|
8860
9107
|
"tags": [
|
|
8861
9108
|
"v1"
|
|
8862
|
-
]
|
|
9109
|
+
],
|
|
9110
|
+
"x-ellipsis-sdk-method": "agents.configs.create"
|
|
8863
9111
|
}
|
|
8864
9112
|
},
|
|
8865
9113
|
"/agents/configs/{config_id}": {
|
|
8866
9114
|
"get": {
|
|
8867
|
-
"description": "Return one saved agent config by id.",
|
|
9115
|
+
"description": "Return one saved agent config, by id or by the agent's name.",
|
|
8868
9116
|
"operationId": "get_agent_config",
|
|
8869
9117
|
"parameters": [
|
|
8870
9118
|
{
|
|
@@ -8953,7 +9201,8 @@
|
|
|
8953
9201
|
"summary": "Get Agent Config",
|
|
8954
9202
|
"tags": [
|
|
8955
9203
|
"v1"
|
|
8956
|
-
]
|
|
9204
|
+
],
|
|
9205
|
+
"x-ellipsis-sdk-method": "agents.configs.get"
|
|
8957
9206
|
}
|
|
8958
9207
|
},
|
|
8959
9208
|
"/agents/defaults": {
|
|
@@ -9049,7 +9298,8 @@
|
|
|
9049
9298
|
"summary": "Delete Agent Default",
|
|
9050
9299
|
"tags": [
|
|
9051
9300
|
"v1"
|
|
9052
|
-
]
|
|
9301
|
+
],
|
|
9302
|
+
"x-ellipsis-sdk-method": "agents.defaults.delete"
|
|
9053
9303
|
},
|
|
9054
9304
|
"get": {
|
|
9055
9305
|
"description": "List default agent configs.\n\nThe account default and any per-repository defaults.\n\nDefaults are addressed by rung: the account rung is repository\nomitted, a repo rung is \"owner/name\" \u2014 never by row id.",
|
|
@@ -9122,10 +9372,11 @@
|
|
|
9122
9372
|
"summary": "List Agent Defaults",
|
|
9123
9373
|
"tags": [
|
|
9124
9374
|
"v1"
|
|
9125
|
-
]
|
|
9375
|
+
],
|
|
9376
|
+
"x-ellipsis-sdk-method": "agents.defaults.list"
|
|
9126
9377
|
},
|
|
9127
9378
|
"put": {
|
|
9128
|
-
"description": "Set a default agent config.\n\nAddressed by rung: the account rung (repository omitted) or a\nrepository rung (\"owner/name\").\n\nRefused for sandbox tokens (potentially prompt-injected code\nmust not repoint the account's ambient default); an unknown or\nforeign repository is a 404.",
|
|
9379
|
+
"description": "Set a default agent config.\n\nAddressed by rung: the account rung (repository omitted) or a\nrepository rung (\"owner/name\"); the config by id or by the\nagent's name.\n\nRefused for sandbox tokens (potentially prompt-injected code\nmust not repoint the account's ambient default); an unknown or\nforeign repository is a 404.",
|
|
9129
9380
|
"operationId": "put_agent_default",
|
|
9130
9381
|
"parameters": [
|
|
9131
9382
|
{
|
|
@@ -9225,7 +9476,8 @@
|
|
|
9225
9476
|
"summary": "Put Agent Default",
|
|
9226
9477
|
"tags": [
|
|
9227
9478
|
"v1"
|
|
9228
|
-
]
|
|
9479
|
+
],
|
|
9480
|
+
"x-ellipsis-sdk-method": "agents.defaults.set"
|
|
9229
9481
|
}
|
|
9230
9482
|
},
|
|
9231
9483
|
"/agents/templates": {
|
|
@@ -9300,7 +9552,8 @@
|
|
|
9300
9552
|
"summary": "List Agent Templates",
|
|
9301
9553
|
"tags": [
|
|
9302
9554
|
"v1"
|
|
9303
|
-
]
|
|
9555
|
+
],
|
|
9556
|
+
"x-ellipsis-sdk-method": "agents.templates.list"
|
|
9304
9557
|
}
|
|
9305
9558
|
},
|
|
9306
9559
|
"/agents/templates/{template_id}": {
|
|
@@ -9394,7 +9647,8 @@
|
|
|
9394
9647
|
"summary": "Get Agent Template",
|
|
9395
9648
|
"tags": [
|
|
9396
9649
|
"v1"
|
|
9397
|
-
]
|
|
9650
|
+
],
|
|
9651
|
+
"x-ellipsis-sdk-method": "agents.templates.get"
|
|
9398
9652
|
}
|
|
9399
9653
|
},
|
|
9400
9654
|
"/alerts": {
|
|
@@ -9529,7 +9783,8 @@
|
|
|
9529
9783
|
"summary": "List Alerts",
|
|
9530
9784
|
"tags": [
|
|
9531
9785
|
"v1"
|
|
9532
|
-
]
|
|
9786
|
+
],
|
|
9787
|
+
"x-ellipsis-sdk-method": "alerts.list"
|
|
9533
9788
|
}
|
|
9534
9789
|
},
|
|
9535
9790
|
"/alerts/{alert_id}": {
|
|
@@ -9623,7 +9878,8 @@
|
|
|
9623
9878
|
"summary": "Get Alert",
|
|
9624
9879
|
"tags": [
|
|
9625
9880
|
"v1"
|
|
9626
|
-
]
|
|
9881
|
+
],
|
|
9882
|
+
"x-ellipsis-sdk-method": "alerts.get"
|
|
9627
9883
|
}
|
|
9628
9884
|
},
|
|
9629
9885
|
"/alerts/{alert_id}/dismiss": {
|
|
@@ -9727,7 +9983,8 @@
|
|
|
9727
9983
|
"summary": "Dismiss Alert",
|
|
9728
9984
|
"tags": [
|
|
9729
9985
|
"v1"
|
|
9730
|
-
]
|
|
9986
|
+
],
|
|
9987
|
+
"x-ellipsis-sdk-method": "alerts.dismiss"
|
|
9731
9988
|
}
|
|
9732
9989
|
},
|
|
9733
9990
|
"/analytics/metrics": {
|
|
@@ -9935,7 +10192,8 @@
|
|
|
9935
10192
|
"summary": "Get Analytics Metrics",
|
|
9936
10193
|
"tags": [
|
|
9937
10194
|
"v1"
|
|
9938
|
-
]
|
|
10195
|
+
],
|
|
10196
|
+
"x-ellipsis-sdk-method": "analytics.metrics"
|
|
9939
10197
|
}
|
|
9940
10198
|
},
|
|
9941
10199
|
"/analytics/pull-requests": {
|
|
@@ -10146,7 +10404,8 @@
|
|
|
10146
10404
|
"summary": "Get Analytics Pull Requests",
|
|
10147
10405
|
"tags": [
|
|
10148
10406
|
"v1"
|
|
10149
|
-
]
|
|
10407
|
+
],
|
|
10408
|
+
"x-ellipsis-sdk-method": "analytics.pull_requests"
|
|
10150
10409
|
}
|
|
10151
10410
|
},
|
|
10152
10411
|
"/analytics/reviews": {
|
|
@@ -10350,7 +10609,8 @@
|
|
|
10350
10609
|
"summary": "Get Analytics Reviews",
|
|
10351
10610
|
"tags": [
|
|
10352
10611
|
"v1"
|
|
10353
|
-
]
|
|
10612
|
+
],
|
|
10613
|
+
"x-ellipsis-sdk-method": "analytics.reviews"
|
|
10354
10614
|
}
|
|
10355
10615
|
},
|
|
10356
10616
|
"/auth/cli/poll": {
|
|
@@ -10422,7 +10682,8 @@
|
|
|
10422
10682
|
"summary": "Cli Auth Poll",
|
|
10423
10683
|
"tags": [
|
|
10424
10684
|
"v1"
|
|
10425
|
-
]
|
|
10685
|
+
],
|
|
10686
|
+
"x-ellipsis-sdk-method": "auth.cli.poll"
|
|
10426
10687
|
}
|
|
10427
10688
|
},
|
|
10428
10689
|
"/auth/cli/start": {
|
|
@@ -10464,7 +10725,8 @@
|
|
|
10464
10725
|
"summary": "Cli Auth Start",
|
|
10465
10726
|
"tags": [
|
|
10466
10727
|
"v1"
|
|
10467
|
-
]
|
|
10728
|
+
],
|
|
10729
|
+
"x-ellipsis-sdk-method": "auth.cli.start"
|
|
10468
10730
|
}
|
|
10469
10731
|
},
|
|
10470
10732
|
"/budget": {
|
|
@@ -10539,7 +10801,8 @@
|
|
|
10539
10801
|
"summary": "Get Budget",
|
|
10540
10802
|
"tags": [
|
|
10541
10803
|
"v1"
|
|
10542
|
-
]
|
|
10804
|
+
],
|
|
10805
|
+
"x-ellipsis-sdk-method": "budget"
|
|
10543
10806
|
}
|
|
10544
10807
|
},
|
|
10545
10808
|
"/files": {
|
|
@@ -10658,7 +10921,8 @@
|
|
|
10658
10921
|
"summary": "List Files",
|
|
10659
10922
|
"tags": [
|
|
10660
10923
|
"v1"
|
|
10661
|
-
]
|
|
10924
|
+
],
|
|
10925
|
+
"x-ellipsis-sdk-method": "files.list"
|
|
10662
10926
|
},
|
|
10663
10927
|
"post": {
|
|
10664
10928
|
"description": "Upload a file that outlives the sandbox.\n\nv1: PNG images only, base64 in the JSON body, 10 MiB cap. The\nprimary caller is the in-sandbox `agent file upload` CLI (an\nagent persisting a screenshot to link on a PR), but all\ncredential types work. Returns the org-membership-gated\ndashboard URL so callers never hard-code URL shapes.",
|
|
@@ -10761,7 +11025,8 @@
|
|
|
10761
11025
|
"summary": "Create File",
|
|
10762
11026
|
"tags": [
|
|
10763
11027
|
"v1"
|
|
10764
|
-
]
|
|
11028
|
+
],
|
|
11029
|
+
"x-ellipsis-sdk-method": "files.create"
|
|
10765
11030
|
}
|
|
10766
11031
|
},
|
|
10767
11032
|
"/files/{file_id}": {
|
|
@@ -10848,7 +11113,8 @@
|
|
|
10848
11113
|
"summary": "Delete File",
|
|
10849
11114
|
"tags": [
|
|
10850
11115
|
"v1"
|
|
10851
|
-
]
|
|
11116
|
+
],
|
|
11117
|
+
"x-ellipsis-sdk-method": "files.delete"
|
|
10852
11118
|
},
|
|
10853
11119
|
"get": {
|
|
10854
11120
|
"description": "Return one file's metadata and download link.\n\nIncludes the gated dashboard URL and a short-lived presigned\n`download_url`.\n\nTo fetch the bytes locally, call this and then GET download_url\nimmediately \u2014 the JSON API never carries the file. The CLI's\n`agent file get` wraps exactly that two-step.",
|
|
@@ -10940,7 +11206,8 @@
|
|
|
10940
11206
|
"summary": "Get File",
|
|
10941
11207
|
"tags": [
|
|
10942
11208
|
"v1"
|
|
10943
|
-
]
|
|
11209
|
+
],
|
|
11210
|
+
"x-ellipsis-sdk-method": "files.get"
|
|
10944
11211
|
}
|
|
10945
11212
|
},
|
|
10946
11213
|
"/integrations": {
|
|
@@ -11015,7 +11282,8 @@
|
|
|
11015
11282
|
"summary": "Get Integrations",
|
|
11016
11283
|
"tags": [
|
|
11017
11284
|
"v1"
|
|
11018
|
-
]
|
|
11285
|
+
],
|
|
11286
|
+
"x-ellipsis-sdk-method": "integrations.list"
|
|
11019
11287
|
}
|
|
11020
11288
|
},
|
|
11021
11289
|
"/integrations/github/members": {
|
|
@@ -11090,7 +11358,8 @@
|
|
|
11090
11358
|
"summary": "List Github Members",
|
|
11091
11359
|
"tags": [
|
|
11092
11360
|
"v1"
|
|
11093
|
-
]
|
|
11361
|
+
],
|
|
11362
|
+
"x-ellipsis-sdk-method": "integrations.github.members"
|
|
11094
11363
|
}
|
|
11095
11364
|
},
|
|
11096
11365
|
"/integrations/github/repos": {
|
|
@@ -11165,7 +11434,8 @@
|
|
|
11165
11434
|
"summary": "List Github Repositories",
|
|
11166
11435
|
"tags": [
|
|
11167
11436
|
"v1"
|
|
11168
|
-
]
|
|
11437
|
+
],
|
|
11438
|
+
"x-ellipsis-sdk-method": "integrations.github.repos"
|
|
11169
11439
|
}
|
|
11170
11440
|
},
|
|
11171
11441
|
"/integrations/linear/teams": {
|
|
@@ -11250,7 +11520,8 @@
|
|
|
11250
11520
|
"summary": "List Linear Teams",
|
|
11251
11521
|
"tags": [
|
|
11252
11522
|
"v1"
|
|
11253
|
-
]
|
|
11523
|
+
],
|
|
11524
|
+
"x-ellipsis-sdk-method": "integrations.linear.teams"
|
|
11254
11525
|
}
|
|
11255
11526
|
},
|
|
11256
11527
|
"/integrations/sentry/organizations": {
|
|
@@ -11325,7 +11596,8 @@
|
|
|
11325
11596
|
"summary": "List Sentry Organizations",
|
|
11326
11597
|
"tags": [
|
|
11327
11598
|
"v1"
|
|
11328
|
-
]
|
|
11599
|
+
],
|
|
11600
|
+
"x-ellipsis-sdk-method": "integrations.sentry.organizations"
|
|
11329
11601
|
}
|
|
11330
11602
|
},
|
|
11331
11603
|
"/integrations/slack/channels": {
|
|
@@ -11410,7 +11682,8 @@
|
|
|
11410
11682
|
"summary": "List Slack Channels",
|
|
11411
11683
|
"tags": [
|
|
11412
11684
|
"v1"
|
|
11413
|
-
]
|
|
11685
|
+
],
|
|
11686
|
+
"x-ellipsis-sdk-method": "integrations.slack.channels"
|
|
11414
11687
|
}
|
|
11415
11688
|
},
|
|
11416
11689
|
"/integrations/slack/members": {
|
|
@@ -11495,7 +11768,8 @@
|
|
|
11495
11768
|
"summary": "List Slack Members",
|
|
11496
11769
|
"tags": [
|
|
11497
11770
|
"v1"
|
|
11498
|
-
]
|
|
11771
|
+
],
|
|
11772
|
+
"x-ellipsis-sdk-method": "integrations.slack.members"
|
|
11499
11773
|
}
|
|
11500
11774
|
},
|
|
11501
11775
|
"/me": {
|
|
@@ -11570,7 +11844,8 @@
|
|
|
11570
11844
|
"summary": "Whoami",
|
|
11571
11845
|
"tags": [
|
|
11572
11846
|
"v1"
|
|
11573
|
-
]
|
|
11847
|
+
],
|
|
11848
|
+
"x-ellipsis-sdk-method": "me"
|
|
11574
11849
|
}
|
|
11575
11850
|
},
|
|
11576
11851
|
"/memories": {
|
|
@@ -11663,7 +11938,8 @@
|
|
|
11663
11938
|
"summary": "List Memories",
|
|
11664
11939
|
"tags": [
|
|
11665
11940
|
"v1"
|
|
11666
|
-
]
|
|
11941
|
+
],
|
|
11942
|
+
"x-ellipsis-sdk-method": "memories.list"
|
|
11667
11943
|
},
|
|
11668
11944
|
"post": {
|
|
11669
11945
|
"description": "Save a memory for future agent sessions.\n\nMemories are durable lessons shared across the whole\norganization \u2014 conventions, past decisions, known gotchas that an\nagent cannot derive from the repository itself. One concise fact\nper memory; the description is what a reader sees in the index.\n\nCreating never overwrites: a path that already exists is a 409, so\ncorrecting an existing memory is an explicit edit.",
|
|
@@ -11756,7 +12032,8 @@
|
|
|
11756
12032
|
"summary": "Create Memory",
|
|
11757
12033
|
"tags": [
|
|
11758
12034
|
"v1"
|
|
11759
|
-
]
|
|
12035
|
+
],
|
|
12036
|
+
"x-ellipsis-sdk-method": "memories.create"
|
|
11760
12037
|
}
|
|
11761
12038
|
},
|
|
11762
12039
|
"/memories/{memory_id}": {
|
|
@@ -11871,7 +12148,8 @@
|
|
|
11871
12148
|
"summary": "Delete Memory",
|
|
11872
12149
|
"tags": [
|
|
11873
12150
|
"v1"
|
|
11874
|
-
]
|
|
12151
|
+
],
|
|
12152
|
+
"x-ellipsis-sdk-method": "memories.delete"
|
|
11875
12153
|
},
|
|
11876
12154
|
"get": {
|
|
11877
12155
|
"description": "Read one memory's full content.\n\nThe id comes from the index returned by listing memories.",
|
|
@@ -11963,7 +12241,8 @@
|
|
|
11963
12241
|
"summary": "Get Memory",
|
|
11964
12242
|
"tags": [
|
|
11965
12243
|
"v1"
|
|
11966
|
-
]
|
|
12244
|
+
],
|
|
12245
|
+
"x-ellipsis-sdk-method": "memories.get"
|
|
11967
12246
|
},
|
|
11968
12247
|
"put": {
|
|
11969
12248
|
"description": "Correct an existing memory in place.\n\nPass description, content, or both. This never creates a memory (an\nunknown id is a 404) and never moves one \u2014 the path is immutable, so\nrelocating a memory is a delete plus a create.\n\nPass `if_sha256` (from a previous read) to make a concurrent write\na 409 instead of silently overwriting it.",
|
|
@@ -12075,7 +12354,8 @@
|
|
|
12075
12354
|
"summary": "Edit Memory",
|
|
12076
12355
|
"tags": [
|
|
12077
12356
|
"v1"
|
|
12078
|
-
]
|
|
12357
|
+
],
|
|
12358
|
+
"x-ellipsis-sdk-method": "memories.edit"
|
|
12079
12359
|
}
|
|
12080
12360
|
},
|
|
12081
12361
|
"/models": {
|
|
@@ -12150,7 +12430,8 @@
|
|
|
12150
12430
|
"summary": "List Supported Models",
|
|
12151
12431
|
"tags": [
|
|
12152
12432
|
"v1"
|
|
12153
|
-
]
|
|
12433
|
+
],
|
|
12434
|
+
"x-ellipsis-sdk-method": "models.list"
|
|
12154
12435
|
}
|
|
12155
12436
|
},
|
|
12156
12437
|
"/reviews": {
|
|
@@ -12337,7 +12618,8 @@
|
|
|
12337
12618
|
"summary": "List Reviews",
|
|
12338
12619
|
"tags": [
|
|
12339
12620
|
"v1"
|
|
12340
|
-
]
|
|
12621
|
+
],
|
|
12622
|
+
"x-ellipsis-sdk-method": "reviews.list"
|
|
12341
12623
|
},
|
|
12342
12624
|
"post": {
|
|
12343
12625
|
"description": "Run a code review on demand.\n\nReviews an existing PR or a pushed branch (for a branch, the\nplatform finds or creates a draft PR for it, since a code\nreview is structurally about a PR).\n\nA review is one pipeline run over one commit range, with one\nagent session per stage: `review.id` is the run id, and\n`stages[].session_id` is where a client streams\n(/sessions/{id}/stream on a stage session), since the review\nitself is a pipeline rather than one process.",
|
|
@@ -12450,7 +12732,8 @@
|
|
|
12450
12732
|
"summary": "Create Review",
|
|
12451
12733
|
"tags": [
|
|
12452
12734
|
"v1"
|
|
12453
|
-
]
|
|
12735
|
+
],
|
|
12736
|
+
"x-ellipsis-sdk-method": "reviews.create"
|
|
12454
12737
|
}
|
|
12455
12738
|
},
|
|
12456
12739
|
"/reviews/{review_id}": {
|
|
@@ -12544,7 +12827,8 @@
|
|
|
12544
12827
|
"summary": "Get Review",
|
|
12545
12828
|
"tags": [
|
|
12546
12829
|
"v1"
|
|
12547
|
-
]
|
|
12830
|
+
],
|
|
12831
|
+
"x-ellipsis-sdk-method": "reviews.get"
|
|
12548
12832
|
}
|
|
12549
12833
|
},
|
|
12550
12834
|
"/secrets": {
|
|
@@ -12619,7 +12903,8 @@
|
|
|
12619
12903
|
"summary": "List Secrets",
|
|
12620
12904
|
"tags": [
|
|
12621
12905
|
"v1"
|
|
12622
|
-
]
|
|
12906
|
+
],
|
|
12907
|
+
"x-ellipsis-sdk-method": "secrets.list"
|
|
12623
12908
|
},
|
|
12624
12909
|
"put": {
|
|
12625
12910
|
"description": "Upsert secrets.\n\nReturns only the secrets this call wrote, names and timestamps\nonly \u2014 values are write-only. Refused for sandbox tokens (held by\npotentially-untrusted in-sandbox code); mutations require an\nAPI key or user token.",
|
|
@@ -12712,7 +12997,8 @@
|
|
|
12712
12997
|
"summary": "Put Secrets",
|
|
12713
12998
|
"tags": [
|
|
12714
12999
|
"v1"
|
|
12715
|
-
]
|
|
13000
|
+
],
|
|
13001
|
+
"x-ellipsis-sdk-method": "secrets.set"
|
|
12716
13002
|
}
|
|
12717
13003
|
},
|
|
12718
13004
|
"/secrets/{name}": {
|
|
@@ -12789,15 +13075,17 @@
|
|
|
12789
13075
|
"summary": "Delete Secret",
|
|
12790
13076
|
"tags": [
|
|
12791
13077
|
"v1"
|
|
12792
|
-
]
|
|
13078
|
+
],
|
|
13079
|
+
"x-ellipsis-sdk-method": "secrets.delete"
|
|
12793
13080
|
}
|
|
12794
13081
|
},
|
|
12795
13082
|
"/sessions": {
|
|
12796
13083
|
"get": {
|
|
12797
|
-
"description": "List cloud agent sessions, newest first.\n\nOptionally filtered by config, source, time
|
|
13084
|
+
"description": "List cloud agent sessions, newest first.\n\nOptionally filtered by config (id or `ellipsis.name`), source, time\nwindow, attributed author, repository, and whether the session is\nstill going.",
|
|
12798
13085
|
"operationId": "list_agent_sessions",
|
|
12799
13086
|
"parameters": [
|
|
12800
13087
|
{
|
|
13088
|
+
"description": "A saved config id, or the agent's `ellipsis.name`.",
|
|
12801
13089
|
"in": "query",
|
|
12802
13090
|
"name": "config_id",
|
|
12803
13091
|
"required": false,
|
|
@@ -12810,6 +13098,7 @@
|
|
|
12810
13098
|
"type": "null"
|
|
12811
13099
|
}
|
|
12812
13100
|
],
|
|
13101
|
+
"description": "A saved config id, or the agent's `ellipsis.name`.",
|
|
12813
13102
|
"title": "Config Id"
|
|
12814
13103
|
}
|
|
12815
13104
|
},
|
|
@@ -12821,7 +13110,7 @@
|
|
|
12821
13110
|
"anyOf": [
|
|
12822
13111
|
{
|
|
12823
13112
|
"items": {
|
|
12824
|
-
"$ref": "#/components/schemas/
|
|
13113
|
+
"$ref": "#/components/schemas/SessionSource"
|
|
12825
13114
|
},
|
|
12826
13115
|
"type": "array"
|
|
12827
13116
|
},
|
|
@@ -13025,10 +13314,11 @@
|
|
|
13025
13314
|
"summary": "List Agent Sessions",
|
|
13026
13315
|
"tags": [
|
|
13027
13316
|
"v1"
|
|
13028
|
-
]
|
|
13317
|
+
],
|
|
13318
|
+
"x-ellipsis-sdk-method": "sessions.list"
|
|
13029
13319
|
},
|
|
13030
13320
|
"post": {
|
|
13031
|
-
"description": "Start a cloud agent session.\n\nProvide at most one of config_id
|
|
13321
|
+
"description": "Start a cloud agent session.\n\nProvide at most one of config_id (an id or an agent name),\nconfig, or\ntemplate_id; with none, the account's default-config ladder\nresolves the config. 400 when idle_start is combined with\nprompt, input, or handoff, or when a handoff is combined with\nany config source or override. 422 when the agent declares an\ninput schema and the request's input is absent or invalid.",
|
|
13032
13322
|
"operationId": "start_agent_session",
|
|
13033
13323
|
"parameters": [
|
|
13034
13324
|
{
|
|
@@ -13077,7 +13367,7 @@
|
|
|
13077
13367
|
}
|
|
13078
13368
|
}
|
|
13079
13369
|
},
|
|
13080
|
-
"description": "The request combines incompatible fields (multiple config sources, idle_start with prompt/handoff, a handoff with a config source, or both override forms), or the config override / handoff repo/sha is invalid."
|
|
13370
|
+
"description": "The request combines incompatible fields (multiple config sources, idle_start with prompt/input/handoff, a handoff with a config source, or both override forms), or the config override / handoff repo/sha is invalid."
|
|
13081
13371
|
},
|
|
13082
13372
|
"401": {
|
|
13083
13373
|
"content": {
|
|
@@ -13107,7 +13397,7 @@
|
|
|
13107
13397
|
}
|
|
13108
13398
|
}
|
|
13109
13399
|
},
|
|
13110
|
-
"description": "The named
|
|
13400
|
+
"description": "The named agent, template, or handoff parent session does not exist in your account."
|
|
13111
13401
|
},
|
|
13112
13402
|
"409": {
|
|
13113
13403
|
"content": {
|
|
@@ -13123,11 +13413,11 @@
|
|
|
13123
13413
|
"content": {
|
|
13124
13414
|
"application/json": {
|
|
13125
13415
|
"schema": {
|
|
13126
|
-
"$ref": "#/components/schemas/
|
|
13416
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
13127
13417
|
}
|
|
13128
13418
|
}
|
|
13129
13419
|
},
|
|
13130
|
-
"description": "
|
|
13420
|
+
"description": "The agent requires 'input' matching its input schema (missing or failed validation), or declares no input schema and 'input' was sent."
|
|
13131
13421
|
}
|
|
13132
13422
|
},
|
|
13133
13423
|
"security": [
|
|
@@ -13138,7 +13428,8 @@
|
|
|
13138
13428
|
"summary": "Start Agent Session",
|
|
13139
13429
|
"tags": [
|
|
13140
13430
|
"v1"
|
|
13141
|
-
]
|
|
13431
|
+
],
|
|
13432
|
+
"x-ellipsis-sdk-method": "sessions.start"
|
|
13142
13433
|
}
|
|
13143
13434
|
},
|
|
13144
13435
|
"/sessions/search": {
|
|
@@ -13172,7 +13463,7 @@
|
|
|
13172
13463
|
"anyOf": [
|
|
13173
13464
|
{
|
|
13174
13465
|
"items": {
|
|
13175
|
-
"$ref": "#/components/schemas/
|
|
13466
|
+
"$ref": "#/components/schemas/SessionSource"
|
|
13176
13467
|
},
|
|
13177
13468
|
"type": "array"
|
|
13178
13469
|
},
|
|
@@ -13270,7 +13561,7 @@
|
|
|
13270
13561
|
"anyOf": [
|
|
13271
13562
|
{
|
|
13272
13563
|
"items": {
|
|
13273
|
-
"$ref": "#/components/schemas/
|
|
13564
|
+
"$ref": "#/components/schemas/SessionStatus"
|
|
13274
13565
|
},
|
|
13275
13566
|
"type": "array"
|
|
13276
13567
|
},
|
|
@@ -13404,7 +13695,8 @@
|
|
|
13404
13695
|
"summary": "Search Sessions",
|
|
13405
13696
|
"tags": [
|
|
13406
13697
|
"v1"
|
|
13407
|
-
]
|
|
13698
|
+
],
|
|
13699
|
+
"x-ellipsis-sdk-method": "sessions.search"
|
|
13408
13700
|
}
|
|
13409
13701
|
},
|
|
13410
13702
|
"/sessions/sync": {
|
|
@@ -13509,7 +13801,8 @@
|
|
|
13509
13801
|
"summary": "Sync Agent Session",
|
|
13510
13802
|
"tags": [
|
|
13511
13803
|
"v1"
|
|
13512
|
-
]
|
|
13804
|
+
],
|
|
13805
|
+
"x-ellipsis-sdk-method": "sessions.sync"
|
|
13513
13806
|
}
|
|
13514
13807
|
},
|
|
13515
13808
|
"/sessions/{session_id}": {
|
|
@@ -13603,7 +13896,8 @@
|
|
|
13603
13896
|
"summary": "Get Agent Session",
|
|
13604
13897
|
"tags": [
|
|
13605
13898
|
"v1"
|
|
13606
|
-
]
|
|
13899
|
+
],
|
|
13900
|
+
"x-ellipsis-sdk-method": "sessions.get"
|
|
13607
13901
|
}
|
|
13608
13902
|
},
|
|
13609
13903
|
"/sessions/{session_id}/executions": {
|
|
@@ -13697,13 +13991,14 @@
|
|
|
13697
13991
|
"summary": "Get Agent Session Executions",
|
|
13698
13992
|
"tags": [
|
|
13699
13993
|
"v1"
|
|
13700
|
-
]
|
|
13994
|
+
],
|
|
13995
|
+
"x-ellipsis-sdk-method": "sessions.executions"
|
|
13701
13996
|
}
|
|
13702
13997
|
},
|
|
13703
|
-
"/sessions/{session_id}/
|
|
13998
|
+
"/sessions/{session_id}/export": {
|
|
13704
13999
|
"get": {
|
|
13705
|
-
"description": "
|
|
13706
|
-
"operationId": "
|
|
14000
|
+
"description": "Export the complete session history.\n\nThe complete, ordered history of the session (agent output, tool calls, thinking,\nlifecycle events, sandbox output, message events) as an ordered\nmanifest of presigned segment URLs.\n\nSegments are gzip members: download in order and concatenate\nfor one file. The JSON API never carries the bytes (same\ntwo-step as files). /records is the paged live view of the\nsame data.",
|
|
14001
|
+
"operationId": "export_agent_session",
|
|
13707
14002
|
"parameters": [
|
|
13708
14003
|
{
|
|
13709
14004
|
"in": "path",
|
|
@@ -13736,7 +14031,7 @@
|
|
|
13736
14031
|
"content": {
|
|
13737
14032
|
"application/json": {
|
|
13738
14033
|
"schema": {
|
|
13739
|
-
"$ref": "#/components/schemas/
|
|
14034
|
+
"$ref": "#/components/schemas/GetSessionLogResponse"
|
|
13740
14035
|
}
|
|
13741
14036
|
}
|
|
13742
14037
|
},
|
|
@@ -13772,16 +14067,6 @@
|
|
|
13772
14067
|
},
|
|
13773
14068
|
"description": "No such session in your account."
|
|
13774
14069
|
},
|
|
13775
|
-
"409": {
|
|
13776
|
-
"content": {
|
|
13777
|
-
"application/json": {
|
|
13778
|
-
"schema": {
|
|
13779
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13780
|
-
}
|
|
13781
|
-
}
|
|
13782
|
-
},
|
|
13783
|
-
"description": "The session's sandbox is not running; send it a message to wake it first."
|
|
13784
|
-
},
|
|
13785
14070
|
"422": {
|
|
13786
14071
|
"content": {
|
|
13787
14072
|
"application/json": {
|
|
@@ -13798,16 +14083,17 @@
|
|
|
13798
14083
|
"HTTPBearer": []
|
|
13799
14084
|
}
|
|
13800
14085
|
],
|
|
13801
|
-
"summary": "
|
|
14086
|
+
"summary": "Export Agent Session",
|
|
13802
14087
|
"tags": [
|
|
13803
14088
|
"v1"
|
|
13804
|
-
]
|
|
14089
|
+
],
|
|
14090
|
+
"x-ellipsis-sdk-method": "sessions.export"
|
|
13805
14091
|
}
|
|
13806
14092
|
},
|
|
13807
|
-
"/sessions/{session_id}/
|
|
14093
|
+
"/sessions/{session_id}/ide": {
|
|
13808
14094
|
"get": {
|
|
13809
|
-
"description": "
|
|
13810
|
-
"operationId": "
|
|
14095
|
+
"description": "Return the IDE link for the session's sandbox.\n\nThe membership-gated dashboard page, which performs the sandbox\nproxy handoff itself.\n\nNo credential is minted here \u2014 the URL grants nothing by\npossession. 409 when the sandbox isn't running (send the\nsession a message to wake it first). Backs the `agent session\nide` CLI verb.",
|
|
14096
|
+
"operationId": "get_agent_session_ide",
|
|
13811
14097
|
"parameters": [
|
|
13812
14098
|
{
|
|
13813
14099
|
"in": "path",
|
|
@@ -13840,7 +14126,7 @@
|
|
|
13840
14126
|
"content": {
|
|
13841
14127
|
"application/json": {
|
|
13842
14128
|
"schema": {
|
|
13843
|
-
"$ref": "#/components/schemas/
|
|
14129
|
+
"$ref": "#/components/schemas/GetSessionIdeResponse"
|
|
13844
14130
|
}
|
|
13845
14131
|
}
|
|
13846
14132
|
},
|
|
@@ -13876,6 +14162,16 @@
|
|
|
13876
14162
|
},
|
|
13877
14163
|
"description": "No such session in your account."
|
|
13878
14164
|
},
|
|
14165
|
+
"409": {
|
|
14166
|
+
"content": {
|
|
14167
|
+
"application/json": {
|
|
14168
|
+
"schema": {
|
|
14169
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
14170
|
+
}
|
|
14171
|
+
}
|
|
14172
|
+
},
|
|
14173
|
+
"description": "The session's sandbox is not running; send it a message to wake it first."
|
|
14174
|
+
},
|
|
13879
14175
|
"422": {
|
|
13880
14176
|
"content": {
|
|
13881
14177
|
"application/json": {
|
|
@@ -13892,10 +14188,11 @@
|
|
|
13892
14188
|
"HTTPBearer": []
|
|
13893
14189
|
}
|
|
13894
14190
|
],
|
|
13895
|
-
"summary": "Get Agent Session
|
|
14191
|
+
"summary": "Get Agent Session Ide",
|
|
13896
14192
|
"tags": [
|
|
13897
14193
|
"v1"
|
|
13898
|
-
]
|
|
14194
|
+
],
|
|
14195
|
+
"x-ellipsis-sdk-method": "sessions.ide"
|
|
13899
14196
|
}
|
|
13900
14197
|
},
|
|
13901
14198
|
"/sessions/{session_id}/messages": {
|
|
@@ -14019,7 +14316,103 @@
|
|
|
14019
14316
|
"summary": "Send Agent Session Message",
|
|
14020
14317
|
"tags": [
|
|
14021
14318
|
"v1"
|
|
14022
|
-
]
|
|
14319
|
+
],
|
|
14320
|
+
"x-ellipsis-sdk-method": "sessions.send_message"
|
|
14321
|
+
}
|
|
14322
|
+
},
|
|
14323
|
+
"/sessions/{session_id}/output": {
|
|
14324
|
+
"get": {
|
|
14325
|
+
"description": "Return the session's typed output.\n\nThe payload the agent submitted through its config-declared\noutput.json_schema, as the raw JSON body with no envelope. 404\nwhile the session is still running (poll GET /sessions/{id}),\nwhen the agent declares no output block, or when no execution\nproduced output.",
|
|
14326
|
+
"operationId": "get_agent_session_output",
|
|
14327
|
+
"parameters": [
|
|
14328
|
+
{
|
|
14329
|
+
"in": "path",
|
|
14330
|
+
"name": "session_id",
|
|
14331
|
+
"required": true,
|
|
14332
|
+
"schema": {
|
|
14333
|
+
"title": "Session Id",
|
|
14334
|
+
"type": "string"
|
|
14335
|
+
}
|
|
14336
|
+
},
|
|
14337
|
+
{
|
|
14338
|
+
"in": "header",
|
|
14339
|
+
"name": "user-agent",
|
|
14340
|
+
"required": false,
|
|
14341
|
+
"schema": {
|
|
14342
|
+
"anyOf": [
|
|
14343
|
+
{
|
|
14344
|
+
"type": "string"
|
|
14345
|
+
},
|
|
14346
|
+
{
|
|
14347
|
+
"type": "null"
|
|
14348
|
+
}
|
|
14349
|
+
],
|
|
14350
|
+
"title": "User-Agent"
|
|
14351
|
+
}
|
|
14352
|
+
}
|
|
14353
|
+
],
|
|
14354
|
+
"responses": {
|
|
14355
|
+
"200": {
|
|
14356
|
+
"content": {
|
|
14357
|
+
"application/json": {
|
|
14358
|
+
"schema": {
|
|
14359
|
+
"type": "object"
|
|
14360
|
+
}
|
|
14361
|
+
}
|
|
14362
|
+
},
|
|
14363
|
+
"description": "The session's typed output, exactly as the agent submitted it \u2014 the shape is the agent's own output.json_schema, with no envelope."
|
|
14364
|
+
},
|
|
14365
|
+
"401": {
|
|
14366
|
+
"content": {
|
|
14367
|
+
"application/json": {
|
|
14368
|
+
"schema": {
|
|
14369
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
14370
|
+
}
|
|
14371
|
+
}
|
|
14372
|
+
},
|
|
14373
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
14374
|
+
},
|
|
14375
|
+
"403": {
|
|
14376
|
+
"content": {
|
|
14377
|
+
"application/json": {
|
|
14378
|
+
"schema": {
|
|
14379
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
14380
|
+
}
|
|
14381
|
+
}
|
|
14382
|
+
},
|
|
14383
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
14384
|
+
},
|
|
14385
|
+
"404": {
|
|
14386
|
+
"content": {
|
|
14387
|
+
"application/json": {
|
|
14388
|
+
"schema": {
|
|
14389
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
14390
|
+
}
|
|
14391
|
+
}
|
|
14392
|
+
},
|
|
14393
|
+
"description": "No such session in your account, the agent declares no output schema, the session has not completed, or it produced no output."
|
|
14394
|
+
},
|
|
14395
|
+
"422": {
|
|
14396
|
+
"content": {
|
|
14397
|
+
"application/json": {
|
|
14398
|
+
"schema": {
|
|
14399
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
14400
|
+
}
|
|
14401
|
+
}
|
|
14402
|
+
},
|
|
14403
|
+
"description": "Validation Error"
|
|
14404
|
+
}
|
|
14405
|
+
},
|
|
14406
|
+
"security": [
|
|
14407
|
+
{
|
|
14408
|
+
"HTTPBearer": []
|
|
14409
|
+
}
|
|
14410
|
+
],
|
|
14411
|
+
"summary": "Get Agent Session Output",
|
|
14412
|
+
"tags": [
|
|
14413
|
+
"v1"
|
|
14414
|
+
],
|
|
14415
|
+
"x-ellipsis-sdk-method": "sessions.output"
|
|
14023
14416
|
}
|
|
14024
14417
|
},
|
|
14025
14418
|
"/sessions/{session_id}/ports/{port}": {
|
|
@@ -14132,7 +14525,8 @@
|
|
|
14132
14525
|
"summary": "Get Agent Session Port",
|
|
14133
14526
|
"tags": [
|
|
14134
14527
|
"v1"
|
|
14135
|
-
]
|
|
14528
|
+
],
|
|
14529
|
+
"x-ellipsis-sdk-method": "sessions.port"
|
|
14136
14530
|
}
|
|
14137
14531
|
},
|
|
14138
14532
|
"/sessions/{session_id}/records": {
|
|
@@ -14260,7 +14654,8 @@
|
|
|
14260
14654
|
"summary": "Get Agent Session Records",
|
|
14261
14655
|
"tags": [
|
|
14262
14656
|
"v1"
|
|
14263
|
-
]
|
|
14657
|
+
],
|
|
14658
|
+
"x-ellipsis-sdk-method": "sessions.records"
|
|
14264
14659
|
}
|
|
14265
14660
|
},
|
|
14266
14661
|
"/sessions/{session_id}/replay": {
|
|
@@ -14374,7 +14769,8 @@
|
|
|
14374
14769
|
"summary": "Replay Agent Session",
|
|
14375
14770
|
"tags": [
|
|
14376
14771
|
"v1"
|
|
14377
|
-
]
|
|
14772
|
+
],
|
|
14773
|
+
"x-ellipsis-sdk-method": "sessions.replay"
|
|
14378
14774
|
}
|
|
14379
14775
|
},
|
|
14380
14776
|
"/sessions/{session_id}/stop": {
|
|
@@ -14488,7 +14884,8 @@
|
|
|
14488
14884
|
"summary": "Stop Agent Session",
|
|
14489
14885
|
"tags": [
|
|
14490
14886
|
"v1"
|
|
14491
|
-
]
|
|
14887
|
+
],
|
|
14888
|
+
"x-ellipsis-sdk-method": "sessions.stop"
|
|
14492
14889
|
}
|
|
14493
14890
|
},
|
|
14494
14891
|
"/sessions/{session_id}/transcript": {
|
|
@@ -14602,7 +14999,8 @@
|
|
|
14602
14999
|
"summary": "Ingest Agent Session Transcript",
|
|
14603
15000
|
"tags": [
|
|
14604
15001
|
"v1"
|
|
14605
|
-
]
|
|
15002
|
+
],
|
|
15003
|
+
"x-ellipsis-sdk-method": "sessions.ingest_transcript"
|
|
14606
15004
|
}
|
|
14607
15005
|
},
|
|
14608
15006
|
"/usage": {
|
|
@@ -14677,7 +15075,8 @@
|
|
|
14677
15075
|
"summary": "Get Usage Endpoint",
|
|
14678
15076
|
"tags": [
|
|
14679
15077
|
"v1"
|
|
14680
|
-
]
|
|
15078
|
+
],
|
|
15079
|
+
"x-ellipsis-sdk-method": "usage"
|
|
14681
15080
|
}
|
|
14682
15081
|
}
|
|
14683
15082
|
},
|