@ellipsis-dev/sdk 0.8.1 → 0.9.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-CStmnKVu.d.ts} +272 -133
- package/package.json +1 -1
- package/schema/frames.schema.json +101 -101
- package/schema/openapi.v1.json +461 -229
- 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
|
{
|
|
@@ -645,6 +655,37 @@
|
|
|
645
655
|
"title": "AgentConfigGithubPermissions",
|
|
646
656
|
"type": "object"
|
|
647
657
|
},
|
|
658
|
+
"AgentConfigInput": {
|
|
659
|
+
"additionalProperties": false,
|
|
660
|
+
"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`).",
|
|
661
|
+
"properties": {
|
|
662
|
+
"json_schema": {
|
|
663
|
+
"anyOf": [
|
|
664
|
+
{
|
|
665
|
+
"additionalProperties": true,
|
|
666
|
+
"type": "object"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"type": "null"
|
|
670
|
+
}
|
|
671
|
+
],
|
|
672
|
+
"title": "Json Schema"
|
|
673
|
+
},
|
|
674
|
+
"message": {
|
|
675
|
+
"anyOf": [
|
|
676
|
+
{
|
|
677
|
+
"type": "string"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"type": "null"
|
|
681
|
+
}
|
|
682
|
+
],
|
|
683
|
+
"title": "Message"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
"title": "AgentConfigInput",
|
|
687
|
+
"type": "object"
|
|
688
|
+
},
|
|
648
689
|
"AgentConfigLlm": {
|
|
649
690
|
"additionalProperties": false,
|
|
650
691
|
"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,6 +806,22 @@
|
|
|
765
806
|
"title": "AgentConfigMetadata",
|
|
766
807
|
"type": "object"
|
|
767
808
|
},
|
|
809
|
+
"AgentConfigOutput": {
|
|
810
|
+
"additionalProperties": false,
|
|
811
|
+
"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.",
|
|
812
|
+
"properties": {
|
|
813
|
+
"json_schema": {
|
|
814
|
+
"additionalProperties": true,
|
|
815
|
+
"title": "Json Schema",
|
|
816
|
+
"type": "object"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"required": [
|
|
820
|
+
"json_schema"
|
|
821
|
+
],
|
|
822
|
+
"title": "AgentConfigOutput",
|
|
823
|
+
"type": "object"
|
|
824
|
+
},
|
|
768
825
|
"AgentConfigPermissions": {
|
|
769
826
|
"additionalProperties": false,
|
|
770
827
|
"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). Only full access exists today \u2014 `true` or the string `all`, both\nmeaning the token may call any Ellipsis API a sandbox token can. The key\nis declarative for now; it reserves the spot for narrowing later, and\nanything other than true/`all` (including `false`) fails validation.\n\n`github` scopes the sandbox's GitHub installation token (`GH_TOKEN`) \u2014\nsee `AgentConfigGithubPermissions`. GitHub enforces it at mint time.",
|
|
@@ -982,27 +1039,6 @@
|
|
|
982
1039
|
"title": "AgentConfigSourceGithub",
|
|
983
1040
|
"type": "object"
|
|
984
1041
|
},
|
|
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
1042
|
"AgentConfigSystemFileRef": {
|
|
1007
1043
|
"additionalProperties": false,
|
|
1008
1044
|
"properties": {
|
|
@@ -1137,98 +1173,6 @@
|
|
|
1137
1173
|
"title": "AgentDefaultsListResponse",
|
|
1138
1174
|
"type": "object"
|
|
1139
1175
|
},
|
|
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
1176
|
"AgentTemplate": {
|
|
1233
1177
|
"description": "A built-in agent template: a ready-to-use agent config plus the\nmetadata that describes it in the template gallery.",
|
|
1234
1178
|
"properties": {
|
|
@@ -1915,6 +1859,18 @@
|
|
|
1915
1859
|
"title": "Created At",
|
|
1916
1860
|
"type": "string"
|
|
1917
1861
|
},
|
|
1862
|
+
"display_name": {
|
|
1863
|
+
"anyOf": [
|
|
1864
|
+
{
|
|
1865
|
+
"type": "string"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"type": "null"
|
|
1869
|
+
}
|
|
1870
|
+
],
|
|
1871
|
+
"description": "The raw ellipsis.name display text from the config file.",
|
|
1872
|
+
"title": "Display Name"
|
|
1873
|
+
},
|
|
1918
1874
|
"edited_by": {
|
|
1919
1875
|
"anyOf": [
|
|
1920
1876
|
{
|
|
@@ -1980,6 +1936,18 @@
|
|
|
1980
1936
|
"description": "The last commit the config was synced from.",
|
|
1981
1937
|
"title": "Last Synced Commit Sha"
|
|
1982
1938
|
},
|
|
1939
|
+
"name": {
|
|
1940
|
+
"anyOf": [
|
|
1941
|
+
{
|
|
1942
|
+
"type": "string"
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"type": "null"
|
|
1946
|
+
}
|
|
1947
|
+
],
|
|
1948
|
+
"description": "The agent's customer-unique addressable name (a slug of its display name); usable anywhere an agent is referenced, interchangeably with the id.",
|
|
1949
|
+
"title": "Name"
|
|
1950
|
+
},
|
|
1983
1951
|
"pending_pull_request_url": {
|
|
1984
1952
|
"anyOf": [
|
|
1985
1953
|
{
|
|
@@ -1992,6 +1960,11 @@
|
|
|
1992
1960
|
"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
1961
|
"title": "Pending Pull Request Url"
|
|
1994
1962
|
},
|
|
1963
|
+
"sha": {
|
|
1964
|
+
"description": "The config's content identity: the version fingerprint frozen onto each session that runs it.",
|
|
1965
|
+
"title": "Sha",
|
|
1966
|
+
"type": "string"
|
|
1967
|
+
},
|
|
1995
1968
|
"updated_at": {
|
|
1996
1969
|
"description": "When the config was last updated.",
|
|
1997
1970
|
"format": "date-time",
|
|
@@ -2001,6 +1974,7 @@
|
|
|
2001
1974
|
},
|
|
2002
1975
|
"required": [
|
|
2003
1976
|
"id",
|
|
1977
|
+
"sha",
|
|
2004
1978
|
"created_at",
|
|
2005
1979
|
"updated_at",
|
|
2006
1980
|
"agent_config"
|
|
@@ -4499,7 +4473,7 @@
|
|
|
4499
4473
|
"description": "Parameters for setting a default agent config, at either the account\nor the repository level.",
|
|
4500
4474
|
"properties": {
|
|
4501
4475
|
"config_id": {
|
|
4502
|
-
"description": "The
|
|
4476
|
+
"description": "The config to make the default: a config id, or the agent's customer-unique `ellipsis.name`.",
|
|
4503
4477
|
"title": "Config Id",
|
|
4504
4478
|
"type": "string"
|
|
4505
4479
|
},
|
|
@@ -4924,7 +4898,7 @@
|
|
|
4924
4898
|
"anyOf": [
|
|
4925
4899
|
{
|
|
4926
4900
|
"items": {
|
|
4927
|
-
"$ref": "#/components/schemas/
|
|
4901
|
+
"$ref": "#/components/schemas/SessionPr"
|
|
4928
4902
|
},
|
|
4929
4903
|
"type": "array"
|
|
4930
4904
|
},
|
|
@@ -4948,7 +4922,7 @@
|
|
|
4948
4922
|
"session_source": {
|
|
4949
4923
|
"anyOf": [
|
|
4950
4924
|
{
|
|
4951
|
-
"$ref": "#/components/schemas/
|
|
4925
|
+
"$ref": "#/components/schemas/SessionSource"
|
|
4952
4926
|
},
|
|
4953
4927
|
{
|
|
4954
4928
|
"type": "null"
|
|
@@ -4959,7 +4933,7 @@
|
|
|
4959
4933
|
"session_status": {
|
|
4960
4934
|
"anyOf": [
|
|
4961
4935
|
{
|
|
4962
|
-
"$ref": "#/components/schemas/
|
|
4936
|
+
"$ref": "#/components/schemas/SessionStatus"
|
|
4963
4937
|
},
|
|
4964
4938
|
{
|
|
4965
4939
|
"type": "null"
|
|
@@ -6764,7 +6738,7 @@
|
|
|
6764
6738
|
"exit_status": {
|
|
6765
6739
|
"anyOf": [
|
|
6766
6740
|
{
|
|
6767
|
-
"$ref": "#/components/schemas/
|
|
6741
|
+
"$ref": "#/components/schemas/SessionExitStatus"
|
|
6768
6742
|
},
|
|
6769
6743
|
{
|
|
6770
6744
|
"type": "null"
|
|
@@ -6832,7 +6806,7 @@
|
|
|
6832
6806
|
"anyOf": [
|
|
6833
6807
|
{
|
|
6834
6808
|
"items": {
|
|
6835
|
-
"$ref": "#/components/schemas/
|
|
6809
|
+
"$ref": "#/components/schemas/SessionPr"
|
|
6836
6810
|
},
|
|
6837
6811
|
"type": "array"
|
|
6838
6812
|
},
|
|
@@ -6939,11 +6913,11 @@
|
|
|
6939
6913
|
"description": "Lifecycle state of the durable conversation, or null for sessions without one."
|
|
6940
6914
|
},
|
|
6941
6915
|
"source": {
|
|
6942
|
-
"$ref": "#/components/schemas/
|
|
6916
|
+
"$ref": "#/components/schemas/SessionSource",
|
|
6943
6917
|
"description": "Where the session came from (e.g. react, manual, api, cli, mention, cron, laptop)."
|
|
6944
6918
|
},
|
|
6945
6919
|
"status": {
|
|
6946
|
-
"$ref": "#/components/schemas/
|
|
6920
|
+
"$ref": "#/components/schemas/SessionStatus",
|
|
6947
6921
|
"description": "Execution status of the session."
|
|
6948
6922
|
},
|
|
6949
6923
|
"status_reason": {
|
|
@@ -7209,6 +7183,25 @@
|
|
|
7209
7183
|
"title": "SessionExecutionsListResponse",
|
|
7210
7184
|
"type": "object"
|
|
7211
7185
|
},
|
|
7186
|
+
"SessionExitStatus": {
|
|
7187
|
+
"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.",
|
|
7188
|
+
"enum": [
|
|
7189
|
+
"completed",
|
|
7190
|
+
"budget_hit",
|
|
7191
|
+
"payment_required",
|
|
7192
|
+
"tool_call_failed",
|
|
7193
|
+
"lifecycle_hook_failed",
|
|
7194
|
+
"missing_repo_access",
|
|
7195
|
+
"missing_token_permissions",
|
|
7196
|
+
"missing_sandbox_variables",
|
|
7197
|
+
"cancelled",
|
|
7198
|
+
"interrupted",
|
|
7199
|
+
"error",
|
|
7200
|
+
"stopped"
|
|
7201
|
+
],
|
|
7202
|
+
"title": "SessionExitStatus",
|
|
7203
|
+
"type": "string"
|
|
7204
|
+
},
|
|
7212
7205
|
"SessionLiveness": {
|
|
7213
7206
|
"description": "The durable conversation axis (backs the surfaced `session` field).",
|
|
7214
7207
|
"enum": [
|
|
@@ -7397,6 +7390,52 @@
|
|
|
7397
7390
|
"title": "SessionMessageStatus",
|
|
7398
7391
|
"type": "string"
|
|
7399
7392
|
},
|
|
7393
|
+
"SessionPr": {
|
|
7394
|
+
"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.",
|
|
7395
|
+
"properties": {
|
|
7396
|
+
"gh_pr_id": {
|
|
7397
|
+
"anyOf": [
|
|
7398
|
+
{
|
|
7399
|
+
"type": "integer"
|
|
7400
|
+
},
|
|
7401
|
+
{
|
|
7402
|
+
"type": "null"
|
|
7403
|
+
}
|
|
7404
|
+
],
|
|
7405
|
+
"title": "Gh Pr Id"
|
|
7406
|
+
},
|
|
7407
|
+
"number": {
|
|
7408
|
+
"title": "Number",
|
|
7409
|
+
"type": "integer"
|
|
7410
|
+
},
|
|
7411
|
+
"repo_full_name": {
|
|
7412
|
+
"title": "Repo Full Name",
|
|
7413
|
+
"type": "string"
|
|
7414
|
+
},
|
|
7415
|
+
"title": {
|
|
7416
|
+
"anyOf": [
|
|
7417
|
+
{
|
|
7418
|
+
"type": "string"
|
|
7419
|
+
},
|
|
7420
|
+
{
|
|
7421
|
+
"type": "null"
|
|
7422
|
+
}
|
|
7423
|
+
],
|
|
7424
|
+
"title": "Title"
|
|
7425
|
+
},
|
|
7426
|
+
"url": {
|
|
7427
|
+
"title": "Url",
|
|
7428
|
+
"type": "string"
|
|
7429
|
+
}
|
|
7430
|
+
},
|
|
7431
|
+
"required": [
|
|
7432
|
+
"repo_full_name",
|
|
7433
|
+
"number",
|
|
7434
|
+
"url"
|
|
7435
|
+
],
|
|
7436
|
+
"title": "SessionPr",
|
|
7437
|
+
"type": "object"
|
|
7438
|
+
},
|
|
7400
7439
|
"SessionPrompting": {
|
|
7401
7440
|
"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
7441
|
"properties": {
|
|
@@ -7751,16 +7790,43 @@
|
|
|
7751
7790
|
"title": "SessionSearchScope",
|
|
7752
7791
|
"type": "string"
|
|
7753
7792
|
},
|
|
7754
|
-
"
|
|
7755
|
-
"description": "Lifecycle of a keyed (multi-turn) session \u2014 the durable conversation.\nDistinct from AgentSessionStatus, 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.",
|
|
7793
|
+
"SessionSource": {
|
|
7756
7794
|
"enum": [
|
|
7757
|
-
"
|
|
7758
|
-
"
|
|
7759
|
-
"
|
|
7760
|
-
|
|
7795
|
+
"react",
|
|
7796
|
+
"manual",
|
|
7797
|
+
"api",
|
|
7798
|
+
"cli",
|
|
7799
|
+
"mention",
|
|
7800
|
+
"cron",
|
|
7801
|
+
"laptop"
|
|
7802
|
+
],
|
|
7803
|
+
"title": "SessionSource",
|
|
7804
|
+
"type": "string"
|
|
7805
|
+
},
|
|
7806
|
+
"SessionState": {
|
|
7807
|
+
"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.",
|
|
7808
|
+
"enum": [
|
|
7809
|
+
"idle",
|
|
7810
|
+
"running",
|
|
7811
|
+
"closed"
|
|
7812
|
+
],
|
|
7761
7813
|
"title": "SessionState",
|
|
7762
7814
|
"type": "string"
|
|
7763
7815
|
},
|
|
7816
|
+
"SessionStatus": {
|
|
7817
|
+
"enum": [
|
|
7818
|
+
"scheduled",
|
|
7819
|
+
"creating_sandbox",
|
|
7820
|
+
"running",
|
|
7821
|
+
"retrying",
|
|
7822
|
+
"completed",
|
|
7823
|
+
"error",
|
|
7824
|
+
"cancelled",
|
|
7825
|
+
"stopped"
|
|
7826
|
+
],
|
|
7827
|
+
"title": "SessionStatus",
|
|
7828
|
+
"type": "string"
|
|
7829
|
+
},
|
|
7764
7830
|
"SessionSurface": {
|
|
7765
7831
|
"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
7832
|
"properties": {
|
|
@@ -8081,7 +8147,7 @@
|
|
|
8081
8147
|
"type": "null"
|
|
8082
8148
|
}
|
|
8083
8149
|
],
|
|
8084
|
-
"description": "A saved agent config
|
|
8150
|
+
"description": "A saved agent config to run under: its id, or the agent's customer-unique `ellipsis.name`.",
|
|
8085
8151
|
"title": "Config Id"
|
|
8086
8152
|
},
|
|
8087
8153
|
"config_override": {
|
|
@@ -8132,6 +8198,19 @@
|
|
|
8132
8198
|
"title": "Idle Start",
|
|
8133
8199
|
"type": "boolean"
|
|
8134
8200
|
},
|
|
8201
|
+
"input": {
|
|
8202
|
+
"anyOf": [
|
|
8203
|
+
{
|
|
8204
|
+
"additionalProperties": true,
|
|
8205
|
+
"type": "object"
|
|
8206
|
+
},
|
|
8207
|
+
{
|
|
8208
|
+
"type": "null"
|
|
8209
|
+
}
|
|
8210
|
+
],
|
|
8211
|
+
"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.",
|
|
8212
|
+
"title": "Input"
|
|
8213
|
+
},
|
|
8135
8214
|
"metadata": {
|
|
8136
8215
|
"additionalProperties": {
|
|
8137
8216
|
"type": "string"
|
|
@@ -8746,10 +8825,11 @@
|
|
|
8746
8825
|
"summary": "List Agent Configs",
|
|
8747
8826
|
"tags": [
|
|
8748
8827
|
"v1"
|
|
8749
|
-
]
|
|
8828
|
+
],
|
|
8829
|
+
"x-ellipsis-sdk-method": "agents.configs.list"
|
|
8750
8830
|
},
|
|
8751
8831
|
"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.",
|
|
8832
|
+
"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
8833
|
"operationId": "create_agent_config",
|
|
8754
8834
|
"parameters": [
|
|
8755
8835
|
{
|
|
@@ -8838,17 +8918,17 @@
|
|
|
8838
8918
|
}
|
|
8839
8919
|
}
|
|
8840
8920
|
},
|
|
8841
|
-
"description": "
|
|
8921
|
+
"description": "An agent with that name already exists, another agent is already synced from that path, or a file already exists there."
|
|
8842
8922
|
},
|
|
8843
8923
|
"422": {
|
|
8844
8924
|
"content": {
|
|
8845
8925
|
"application/json": {
|
|
8846
8926
|
"schema": {
|
|
8847
|
-
"$ref": "#/components/schemas/
|
|
8927
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
8848
8928
|
}
|
|
8849
8929
|
}
|
|
8850
8930
|
},
|
|
8851
|
-
"description": "
|
|
8931
|
+
"description": "The agent's name contains no usable characters."
|
|
8852
8932
|
}
|
|
8853
8933
|
},
|
|
8854
8934
|
"security": [
|
|
@@ -8859,12 +8939,13 @@
|
|
|
8859
8939
|
"summary": "Create Agent Config",
|
|
8860
8940
|
"tags": [
|
|
8861
8941
|
"v1"
|
|
8862
|
-
]
|
|
8942
|
+
],
|
|
8943
|
+
"x-ellipsis-sdk-method": "agents.configs.create"
|
|
8863
8944
|
}
|
|
8864
8945
|
},
|
|
8865
8946
|
"/agents/configs/{config_id}": {
|
|
8866
8947
|
"get": {
|
|
8867
|
-
"description": "Return one saved agent config by id.",
|
|
8948
|
+
"description": "Return one saved agent config, by id or by the agent's name.",
|
|
8868
8949
|
"operationId": "get_agent_config",
|
|
8869
8950
|
"parameters": [
|
|
8870
8951
|
{
|
|
@@ -8953,7 +9034,8 @@
|
|
|
8953
9034
|
"summary": "Get Agent Config",
|
|
8954
9035
|
"tags": [
|
|
8955
9036
|
"v1"
|
|
8956
|
-
]
|
|
9037
|
+
],
|
|
9038
|
+
"x-ellipsis-sdk-method": "agents.configs.get"
|
|
8957
9039
|
}
|
|
8958
9040
|
},
|
|
8959
9041
|
"/agents/defaults": {
|
|
@@ -9049,7 +9131,8 @@
|
|
|
9049
9131
|
"summary": "Delete Agent Default",
|
|
9050
9132
|
"tags": [
|
|
9051
9133
|
"v1"
|
|
9052
|
-
]
|
|
9134
|
+
],
|
|
9135
|
+
"x-ellipsis-sdk-method": "agents.defaults.delete"
|
|
9053
9136
|
},
|
|
9054
9137
|
"get": {
|
|
9055
9138
|
"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 +9205,11 @@
|
|
|
9122
9205
|
"summary": "List Agent Defaults",
|
|
9123
9206
|
"tags": [
|
|
9124
9207
|
"v1"
|
|
9125
|
-
]
|
|
9208
|
+
],
|
|
9209
|
+
"x-ellipsis-sdk-method": "agents.defaults.list"
|
|
9126
9210
|
},
|
|
9127
9211
|
"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.",
|
|
9212
|
+
"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
9213
|
"operationId": "put_agent_default",
|
|
9130
9214
|
"parameters": [
|
|
9131
9215
|
{
|
|
@@ -9225,7 +9309,8 @@
|
|
|
9225
9309
|
"summary": "Put Agent Default",
|
|
9226
9310
|
"tags": [
|
|
9227
9311
|
"v1"
|
|
9228
|
-
]
|
|
9312
|
+
],
|
|
9313
|
+
"x-ellipsis-sdk-method": "agents.defaults.set"
|
|
9229
9314
|
}
|
|
9230
9315
|
},
|
|
9231
9316
|
"/agents/templates": {
|
|
@@ -9300,7 +9385,8 @@
|
|
|
9300
9385
|
"summary": "List Agent Templates",
|
|
9301
9386
|
"tags": [
|
|
9302
9387
|
"v1"
|
|
9303
|
-
]
|
|
9388
|
+
],
|
|
9389
|
+
"x-ellipsis-sdk-method": "agents.templates.list"
|
|
9304
9390
|
}
|
|
9305
9391
|
},
|
|
9306
9392
|
"/agents/templates/{template_id}": {
|
|
@@ -9394,7 +9480,8 @@
|
|
|
9394
9480
|
"summary": "Get Agent Template",
|
|
9395
9481
|
"tags": [
|
|
9396
9482
|
"v1"
|
|
9397
|
-
]
|
|
9483
|
+
],
|
|
9484
|
+
"x-ellipsis-sdk-method": "agents.templates.get"
|
|
9398
9485
|
}
|
|
9399
9486
|
},
|
|
9400
9487
|
"/alerts": {
|
|
@@ -9529,7 +9616,8 @@
|
|
|
9529
9616
|
"summary": "List Alerts",
|
|
9530
9617
|
"tags": [
|
|
9531
9618
|
"v1"
|
|
9532
|
-
]
|
|
9619
|
+
],
|
|
9620
|
+
"x-ellipsis-sdk-method": "alerts.list"
|
|
9533
9621
|
}
|
|
9534
9622
|
},
|
|
9535
9623
|
"/alerts/{alert_id}": {
|
|
@@ -9623,7 +9711,8 @@
|
|
|
9623
9711
|
"summary": "Get Alert",
|
|
9624
9712
|
"tags": [
|
|
9625
9713
|
"v1"
|
|
9626
|
-
]
|
|
9714
|
+
],
|
|
9715
|
+
"x-ellipsis-sdk-method": "alerts.get"
|
|
9627
9716
|
}
|
|
9628
9717
|
},
|
|
9629
9718
|
"/alerts/{alert_id}/dismiss": {
|
|
@@ -9727,7 +9816,8 @@
|
|
|
9727
9816
|
"summary": "Dismiss Alert",
|
|
9728
9817
|
"tags": [
|
|
9729
9818
|
"v1"
|
|
9730
|
-
]
|
|
9819
|
+
],
|
|
9820
|
+
"x-ellipsis-sdk-method": "alerts.dismiss"
|
|
9731
9821
|
}
|
|
9732
9822
|
},
|
|
9733
9823
|
"/analytics/metrics": {
|
|
@@ -9935,7 +10025,8 @@
|
|
|
9935
10025
|
"summary": "Get Analytics Metrics",
|
|
9936
10026
|
"tags": [
|
|
9937
10027
|
"v1"
|
|
9938
|
-
]
|
|
10028
|
+
],
|
|
10029
|
+
"x-ellipsis-sdk-method": "analytics.metrics"
|
|
9939
10030
|
}
|
|
9940
10031
|
},
|
|
9941
10032
|
"/analytics/pull-requests": {
|
|
@@ -10146,7 +10237,8 @@
|
|
|
10146
10237
|
"summary": "Get Analytics Pull Requests",
|
|
10147
10238
|
"tags": [
|
|
10148
10239
|
"v1"
|
|
10149
|
-
]
|
|
10240
|
+
],
|
|
10241
|
+
"x-ellipsis-sdk-method": "analytics.pull_requests"
|
|
10150
10242
|
}
|
|
10151
10243
|
},
|
|
10152
10244
|
"/analytics/reviews": {
|
|
@@ -10350,7 +10442,8 @@
|
|
|
10350
10442
|
"summary": "Get Analytics Reviews",
|
|
10351
10443
|
"tags": [
|
|
10352
10444
|
"v1"
|
|
10353
|
-
]
|
|
10445
|
+
],
|
|
10446
|
+
"x-ellipsis-sdk-method": "analytics.reviews"
|
|
10354
10447
|
}
|
|
10355
10448
|
},
|
|
10356
10449
|
"/auth/cli/poll": {
|
|
@@ -10422,7 +10515,8 @@
|
|
|
10422
10515
|
"summary": "Cli Auth Poll",
|
|
10423
10516
|
"tags": [
|
|
10424
10517
|
"v1"
|
|
10425
|
-
]
|
|
10518
|
+
],
|
|
10519
|
+
"x-ellipsis-sdk-method": "auth.cli.poll"
|
|
10426
10520
|
}
|
|
10427
10521
|
},
|
|
10428
10522
|
"/auth/cli/start": {
|
|
@@ -10464,7 +10558,8 @@
|
|
|
10464
10558
|
"summary": "Cli Auth Start",
|
|
10465
10559
|
"tags": [
|
|
10466
10560
|
"v1"
|
|
10467
|
-
]
|
|
10561
|
+
],
|
|
10562
|
+
"x-ellipsis-sdk-method": "auth.cli.start"
|
|
10468
10563
|
}
|
|
10469
10564
|
},
|
|
10470
10565
|
"/budget": {
|
|
@@ -10539,7 +10634,8 @@
|
|
|
10539
10634
|
"summary": "Get Budget",
|
|
10540
10635
|
"tags": [
|
|
10541
10636
|
"v1"
|
|
10542
|
-
]
|
|
10637
|
+
],
|
|
10638
|
+
"x-ellipsis-sdk-method": "budget"
|
|
10543
10639
|
}
|
|
10544
10640
|
},
|
|
10545
10641
|
"/files": {
|
|
@@ -10658,7 +10754,8 @@
|
|
|
10658
10754
|
"summary": "List Files",
|
|
10659
10755
|
"tags": [
|
|
10660
10756
|
"v1"
|
|
10661
|
-
]
|
|
10757
|
+
],
|
|
10758
|
+
"x-ellipsis-sdk-method": "files.list"
|
|
10662
10759
|
},
|
|
10663
10760
|
"post": {
|
|
10664
10761
|
"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 +10858,8 @@
|
|
|
10761
10858
|
"summary": "Create File",
|
|
10762
10859
|
"tags": [
|
|
10763
10860
|
"v1"
|
|
10764
|
-
]
|
|
10861
|
+
],
|
|
10862
|
+
"x-ellipsis-sdk-method": "files.create"
|
|
10765
10863
|
}
|
|
10766
10864
|
},
|
|
10767
10865
|
"/files/{file_id}": {
|
|
@@ -10848,7 +10946,8 @@
|
|
|
10848
10946
|
"summary": "Delete File",
|
|
10849
10947
|
"tags": [
|
|
10850
10948
|
"v1"
|
|
10851
|
-
]
|
|
10949
|
+
],
|
|
10950
|
+
"x-ellipsis-sdk-method": "files.delete"
|
|
10852
10951
|
},
|
|
10853
10952
|
"get": {
|
|
10854
10953
|
"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 +11039,8 @@
|
|
|
10940
11039
|
"summary": "Get File",
|
|
10941
11040
|
"tags": [
|
|
10942
11041
|
"v1"
|
|
10943
|
-
]
|
|
11042
|
+
],
|
|
11043
|
+
"x-ellipsis-sdk-method": "files.get"
|
|
10944
11044
|
}
|
|
10945
11045
|
},
|
|
10946
11046
|
"/integrations": {
|
|
@@ -11015,7 +11115,8 @@
|
|
|
11015
11115
|
"summary": "Get Integrations",
|
|
11016
11116
|
"tags": [
|
|
11017
11117
|
"v1"
|
|
11018
|
-
]
|
|
11118
|
+
],
|
|
11119
|
+
"x-ellipsis-sdk-method": "integrations.list"
|
|
11019
11120
|
}
|
|
11020
11121
|
},
|
|
11021
11122
|
"/integrations/github/members": {
|
|
@@ -11090,7 +11191,8 @@
|
|
|
11090
11191
|
"summary": "List Github Members",
|
|
11091
11192
|
"tags": [
|
|
11092
11193
|
"v1"
|
|
11093
|
-
]
|
|
11194
|
+
],
|
|
11195
|
+
"x-ellipsis-sdk-method": "integrations.github.members"
|
|
11094
11196
|
}
|
|
11095
11197
|
},
|
|
11096
11198
|
"/integrations/github/repos": {
|
|
@@ -11165,7 +11267,8 @@
|
|
|
11165
11267
|
"summary": "List Github Repositories",
|
|
11166
11268
|
"tags": [
|
|
11167
11269
|
"v1"
|
|
11168
|
-
]
|
|
11270
|
+
],
|
|
11271
|
+
"x-ellipsis-sdk-method": "integrations.github.repos"
|
|
11169
11272
|
}
|
|
11170
11273
|
},
|
|
11171
11274
|
"/integrations/linear/teams": {
|
|
@@ -11250,7 +11353,8 @@
|
|
|
11250
11353
|
"summary": "List Linear Teams",
|
|
11251
11354
|
"tags": [
|
|
11252
11355
|
"v1"
|
|
11253
|
-
]
|
|
11356
|
+
],
|
|
11357
|
+
"x-ellipsis-sdk-method": "integrations.linear.teams"
|
|
11254
11358
|
}
|
|
11255
11359
|
},
|
|
11256
11360
|
"/integrations/sentry/organizations": {
|
|
@@ -11325,7 +11429,8 @@
|
|
|
11325
11429
|
"summary": "List Sentry Organizations",
|
|
11326
11430
|
"tags": [
|
|
11327
11431
|
"v1"
|
|
11328
|
-
]
|
|
11432
|
+
],
|
|
11433
|
+
"x-ellipsis-sdk-method": "integrations.sentry.organizations"
|
|
11329
11434
|
}
|
|
11330
11435
|
},
|
|
11331
11436
|
"/integrations/slack/channels": {
|
|
@@ -11410,7 +11515,8 @@
|
|
|
11410
11515
|
"summary": "List Slack Channels",
|
|
11411
11516
|
"tags": [
|
|
11412
11517
|
"v1"
|
|
11413
|
-
]
|
|
11518
|
+
],
|
|
11519
|
+
"x-ellipsis-sdk-method": "integrations.slack.channels"
|
|
11414
11520
|
}
|
|
11415
11521
|
},
|
|
11416
11522
|
"/integrations/slack/members": {
|
|
@@ -11495,7 +11601,8 @@
|
|
|
11495
11601
|
"summary": "List Slack Members",
|
|
11496
11602
|
"tags": [
|
|
11497
11603
|
"v1"
|
|
11498
|
-
]
|
|
11604
|
+
],
|
|
11605
|
+
"x-ellipsis-sdk-method": "integrations.slack.members"
|
|
11499
11606
|
}
|
|
11500
11607
|
},
|
|
11501
11608
|
"/me": {
|
|
@@ -11570,7 +11677,8 @@
|
|
|
11570
11677
|
"summary": "Whoami",
|
|
11571
11678
|
"tags": [
|
|
11572
11679
|
"v1"
|
|
11573
|
-
]
|
|
11680
|
+
],
|
|
11681
|
+
"x-ellipsis-sdk-method": "me"
|
|
11574
11682
|
}
|
|
11575
11683
|
},
|
|
11576
11684
|
"/memories": {
|
|
@@ -11663,7 +11771,8 @@
|
|
|
11663
11771
|
"summary": "List Memories",
|
|
11664
11772
|
"tags": [
|
|
11665
11773
|
"v1"
|
|
11666
|
-
]
|
|
11774
|
+
],
|
|
11775
|
+
"x-ellipsis-sdk-method": "memories.list"
|
|
11667
11776
|
},
|
|
11668
11777
|
"post": {
|
|
11669
11778
|
"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 +11865,8 @@
|
|
|
11756
11865
|
"summary": "Create Memory",
|
|
11757
11866
|
"tags": [
|
|
11758
11867
|
"v1"
|
|
11759
|
-
]
|
|
11868
|
+
],
|
|
11869
|
+
"x-ellipsis-sdk-method": "memories.create"
|
|
11760
11870
|
}
|
|
11761
11871
|
},
|
|
11762
11872
|
"/memories/{memory_id}": {
|
|
@@ -11871,7 +11981,8 @@
|
|
|
11871
11981
|
"summary": "Delete Memory",
|
|
11872
11982
|
"tags": [
|
|
11873
11983
|
"v1"
|
|
11874
|
-
]
|
|
11984
|
+
],
|
|
11985
|
+
"x-ellipsis-sdk-method": "memories.delete"
|
|
11875
11986
|
},
|
|
11876
11987
|
"get": {
|
|
11877
11988
|
"description": "Read one memory's full content.\n\nThe id comes from the index returned by listing memories.",
|
|
@@ -11963,7 +12074,8 @@
|
|
|
11963
12074
|
"summary": "Get Memory",
|
|
11964
12075
|
"tags": [
|
|
11965
12076
|
"v1"
|
|
11966
|
-
]
|
|
12077
|
+
],
|
|
12078
|
+
"x-ellipsis-sdk-method": "memories.get"
|
|
11967
12079
|
},
|
|
11968
12080
|
"put": {
|
|
11969
12081
|
"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 +12187,8 @@
|
|
|
12075
12187
|
"summary": "Edit Memory",
|
|
12076
12188
|
"tags": [
|
|
12077
12189
|
"v1"
|
|
12078
|
-
]
|
|
12190
|
+
],
|
|
12191
|
+
"x-ellipsis-sdk-method": "memories.edit"
|
|
12079
12192
|
}
|
|
12080
12193
|
},
|
|
12081
12194
|
"/models": {
|
|
@@ -12150,7 +12263,8 @@
|
|
|
12150
12263
|
"summary": "List Supported Models",
|
|
12151
12264
|
"tags": [
|
|
12152
12265
|
"v1"
|
|
12153
|
-
]
|
|
12266
|
+
],
|
|
12267
|
+
"x-ellipsis-sdk-method": "models.list"
|
|
12154
12268
|
}
|
|
12155
12269
|
},
|
|
12156
12270
|
"/reviews": {
|
|
@@ -12337,7 +12451,8 @@
|
|
|
12337
12451
|
"summary": "List Reviews",
|
|
12338
12452
|
"tags": [
|
|
12339
12453
|
"v1"
|
|
12340
|
-
]
|
|
12454
|
+
],
|
|
12455
|
+
"x-ellipsis-sdk-method": "reviews.list"
|
|
12341
12456
|
},
|
|
12342
12457
|
"post": {
|
|
12343
12458
|
"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 +12565,8 @@
|
|
|
12450
12565
|
"summary": "Create Review",
|
|
12451
12566
|
"tags": [
|
|
12452
12567
|
"v1"
|
|
12453
|
-
]
|
|
12568
|
+
],
|
|
12569
|
+
"x-ellipsis-sdk-method": "reviews.create"
|
|
12454
12570
|
}
|
|
12455
12571
|
},
|
|
12456
12572
|
"/reviews/{review_id}": {
|
|
@@ -12544,7 +12660,8 @@
|
|
|
12544
12660
|
"summary": "Get Review",
|
|
12545
12661
|
"tags": [
|
|
12546
12662
|
"v1"
|
|
12547
|
-
]
|
|
12663
|
+
],
|
|
12664
|
+
"x-ellipsis-sdk-method": "reviews.get"
|
|
12548
12665
|
}
|
|
12549
12666
|
},
|
|
12550
12667
|
"/secrets": {
|
|
@@ -12619,7 +12736,8 @@
|
|
|
12619
12736
|
"summary": "List Secrets",
|
|
12620
12737
|
"tags": [
|
|
12621
12738
|
"v1"
|
|
12622
|
-
]
|
|
12739
|
+
],
|
|
12740
|
+
"x-ellipsis-sdk-method": "secrets.list"
|
|
12623
12741
|
},
|
|
12624
12742
|
"put": {
|
|
12625
12743
|
"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 +12830,8 @@
|
|
|
12712
12830
|
"summary": "Put Secrets",
|
|
12713
12831
|
"tags": [
|
|
12714
12832
|
"v1"
|
|
12715
|
-
]
|
|
12833
|
+
],
|
|
12834
|
+
"x-ellipsis-sdk-method": "secrets.set"
|
|
12716
12835
|
}
|
|
12717
12836
|
},
|
|
12718
12837
|
"/secrets/{name}": {
|
|
@@ -12789,15 +12908,17 @@
|
|
|
12789
12908
|
"summary": "Delete Secret",
|
|
12790
12909
|
"tags": [
|
|
12791
12910
|
"v1"
|
|
12792
|
-
]
|
|
12911
|
+
],
|
|
12912
|
+
"x-ellipsis-sdk-method": "secrets.delete"
|
|
12793
12913
|
}
|
|
12794
12914
|
},
|
|
12795
12915
|
"/sessions": {
|
|
12796
12916
|
"get": {
|
|
12797
|
-
"description": "List cloud agent sessions, newest first.\n\nOptionally filtered by config, source, time
|
|
12917
|
+
"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
12918
|
"operationId": "list_agent_sessions",
|
|
12799
12919
|
"parameters": [
|
|
12800
12920
|
{
|
|
12921
|
+
"description": "A saved config id, or the agent's `ellipsis.name`.",
|
|
12801
12922
|
"in": "query",
|
|
12802
12923
|
"name": "config_id",
|
|
12803
12924
|
"required": false,
|
|
@@ -12810,6 +12931,7 @@
|
|
|
12810
12931
|
"type": "null"
|
|
12811
12932
|
}
|
|
12812
12933
|
],
|
|
12934
|
+
"description": "A saved config id, or the agent's `ellipsis.name`.",
|
|
12813
12935
|
"title": "Config Id"
|
|
12814
12936
|
}
|
|
12815
12937
|
},
|
|
@@ -12821,7 +12943,7 @@
|
|
|
12821
12943
|
"anyOf": [
|
|
12822
12944
|
{
|
|
12823
12945
|
"items": {
|
|
12824
|
-
"$ref": "#/components/schemas/
|
|
12946
|
+
"$ref": "#/components/schemas/SessionSource"
|
|
12825
12947
|
},
|
|
12826
12948
|
"type": "array"
|
|
12827
12949
|
},
|
|
@@ -13025,10 +13147,11 @@
|
|
|
13025
13147
|
"summary": "List Agent Sessions",
|
|
13026
13148
|
"tags": [
|
|
13027
13149
|
"v1"
|
|
13028
|
-
]
|
|
13150
|
+
],
|
|
13151
|
+
"x-ellipsis-sdk-method": "sessions.list"
|
|
13029
13152
|
},
|
|
13030
13153
|
"post": {
|
|
13031
|
-
"description": "Start a cloud agent session.\n\nProvide at most one of config_id
|
|
13154
|
+
"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
13155
|
"operationId": "start_agent_session",
|
|
13033
13156
|
"parameters": [
|
|
13034
13157
|
{
|
|
@@ -13077,7 +13200,7 @@
|
|
|
13077
13200
|
}
|
|
13078
13201
|
}
|
|
13079
13202
|
},
|
|
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."
|
|
13203
|
+
"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
13204
|
},
|
|
13082
13205
|
"401": {
|
|
13083
13206
|
"content": {
|
|
@@ -13107,7 +13230,7 @@
|
|
|
13107
13230
|
}
|
|
13108
13231
|
}
|
|
13109
13232
|
},
|
|
13110
|
-
"description": "The named
|
|
13233
|
+
"description": "The named agent, template, or handoff parent session does not exist in your account."
|
|
13111
13234
|
},
|
|
13112
13235
|
"409": {
|
|
13113
13236
|
"content": {
|
|
@@ -13123,11 +13246,11 @@
|
|
|
13123
13246
|
"content": {
|
|
13124
13247
|
"application/json": {
|
|
13125
13248
|
"schema": {
|
|
13126
|
-
"$ref": "#/components/schemas/
|
|
13249
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
13127
13250
|
}
|
|
13128
13251
|
}
|
|
13129
13252
|
},
|
|
13130
|
-
"description": "
|
|
13253
|
+
"description": "The agent requires 'input' matching its input schema (missing or failed validation), or declares no input schema and 'input' was sent."
|
|
13131
13254
|
}
|
|
13132
13255
|
},
|
|
13133
13256
|
"security": [
|
|
@@ -13138,7 +13261,8 @@
|
|
|
13138
13261
|
"summary": "Start Agent Session",
|
|
13139
13262
|
"tags": [
|
|
13140
13263
|
"v1"
|
|
13141
|
-
]
|
|
13264
|
+
],
|
|
13265
|
+
"x-ellipsis-sdk-method": "sessions.start"
|
|
13142
13266
|
}
|
|
13143
13267
|
},
|
|
13144
13268
|
"/sessions/search": {
|
|
@@ -13172,7 +13296,7 @@
|
|
|
13172
13296
|
"anyOf": [
|
|
13173
13297
|
{
|
|
13174
13298
|
"items": {
|
|
13175
|
-
"$ref": "#/components/schemas/
|
|
13299
|
+
"$ref": "#/components/schemas/SessionSource"
|
|
13176
13300
|
},
|
|
13177
13301
|
"type": "array"
|
|
13178
13302
|
},
|
|
@@ -13270,7 +13394,7 @@
|
|
|
13270
13394
|
"anyOf": [
|
|
13271
13395
|
{
|
|
13272
13396
|
"items": {
|
|
13273
|
-
"$ref": "#/components/schemas/
|
|
13397
|
+
"$ref": "#/components/schemas/SessionStatus"
|
|
13274
13398
|
},
|
|
13275
13399
|
"type": "array"
|
|
13276
13400
|
},
|
|
@@ -13404,7 +13528,8 @@
|
|
|
13404
13528
|
"summary": "Search Sessions",
|
|
13405
13529
|
"tags": [
|
|
13406
13530
|
"v1"
|
|
13407
|
-
]
|
|
13531
|
+
],
|
|
13532
|
+
"x-ellipsis-sdk-method": "sessions.search"
|
|
13408
13533
|
}
|
|
13409
13534
|
},
|
|
13410
13535
|
"/sessions/sync": {
|
|
@@ -13509,7 +13634,8 @@
|
|
|
13509
13634
|
"summary": "Sync Agent Session",
|
|
13510
13635
|
"tags": [
|
|
13511
13636
|
"v1"
|
|
13512
|
-
]
|
|
13637
|
+
],
|
|
13638
|
+
"x-ellipsis-sdk-method": "sessions.sync"
|
|
13513
13639
|
}
|
|
13514
13640
|
},
|
|
13515
13641
|
"/sessions/{session_id}": {
|
|
@@ -13603,7 +13729,8 @@
|
|
|
13603
13729
|
"summary": "Get Agent Session",
|
|
13604
13730
|
"tags": [
|
|
13605
13731
|
"v1"
|
|
13606
|
-
]
|
|
13732
|
+
],
|
|
13733
|
+
"x-ellipsis-sdk-method": "sessions.get"
|
|
13607
13734
|
}
|
|
13608
13735
|
},
|
|
13609
13736
|
"/sessions/{session_id}/executions": {
|
|
@@ -13697,13 +13824,14 @@
|
|
|
13697
13824
|
"summary": "Get Agent Session Executions",
|
|
13698
13825
|
"tags": [
|
|
13699
13826
|
"v1"
|
|
13700
|
-
]
|
|
13827
|
+
],
|
|
13828
|
+
"x-ellipsis-sdk-method": "sessions.executions"
|
|
13701
13829
|
}
|
|
13702
13830
|
},
|
|
13703
|
-
"/sessions/{session_id}/
|
|
13831
|
+
"/sessions/{session_id}/export": {
|
|
13704
13832
|
"get": {
|
|
13705
|
-
"description": "
|
|
13706
|
-
"operationId": "
|
|
13833
|
+
"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.",
|
|
13834
|
+
"operationId": "export_agent_session",
|
|
13707
13835
|
"parameters": [
|
|
13708
13836
|
{
|
|
13709
13837
|
"in": "path",
|
|
@@ -13736,7 +13864,7 @@
|
|
|
13736
13864
|
"content": {
|
|
13737
13865
|
"application/json": {
|
|
13738
13866
|
"schema": {
|
|
13739
|
-
"$ref": "#/components/schemas/
|
|
13867
|
+
"$ref": "#/components/schemas/GetSessionLogResponse"
|
|
13740
13868
|
}
|
|
13741
13869
|
}
|
|
13742
13870
|
},
|
|
@@ -13772,16 +13900,6 @@
|
|
|
13772
13900
|
},
|
|
13773
13901
|
"description": "No such session in your account."
|
|
13774
13902
|
},
|
|
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
13903
|
"422": {
|
|
13786
13904
|
"content": {
|
|
13787
13905
|
"application/json": {
|
|
@@ -13798,16 +13916,17 @@
|
|
|
13798
13916
|
"HTTPBearer": []
|
|
13799
13917
|
}
|
|
13800
13918
|
],
|
|
13801
|
-
"summary": "
|
|
13919
|
+
"summary": "Export Agent Session",
|
|
13802
13920
|
"tags": [
|
|
13803
13921
|
"v1"
|
|
13804
|
-
]
|
|
13922
|
+
],
|
|
13923
|
+
"x-ellipsis-sdk-method": "sessions.export"
|
|
13805
13924
|
}
|
|
13806
13925
|
},
|
|
13807
|
-
"/sessions/{session_id}/
|
|
13926
|
+
"/sessions/{session_id}/ide": {
|
|
13808
13927
|
"get": {
|
|
13809
|
-
"description": "
|
|
13810
|
-
"operationId": "
|
|
13928
|
+
"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.",
|
|
13929
|
+
"operationId": "get_agent_session_ide",
|
|
13811
13930
|
"parameters": [
|
|
13812
13931
|
{
|
|
13813
13932
|
"in": "path",
|
|
@@ -13840,7 +13959,7 @@
|
|
|
13840
13959
|
"content": {
|
|
13841
13960
|
"application/json": {
|
|
13842
13961
|
"schema": {
|
|
13843
|
-
"$ref": "#/components/schemas/
|
|
13962
|
+
"$ref": "#/components/schemas/GetSessionIdeResponse"
|
|
13844
13963
|
}
|
|
13845
13964
|
}
|
|
13846
13965
|
},
|
|
@@ -13876,6 +13995,16 @@
|
|
|
13876
13995
|
},
|
|
13877
13996
|
"description": "No such session in your account."
|
|
13878
13997
|
},
|
|
13998
|
+
"409": {
|
|
13999
|
+
"content": {
|
|
14000
|
+
"application/json": {
|
|
14001
|
+
"schema": {
|
|
14002
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
14003
|
+
}
|
|
14004
|
+
}
|
|
14005
|
+
},
|
|
14006
|
+
"description": "The session's sandbox is not running; send it a message to wake it first."
|
|
14007
|
+
},
|
|
13879
14008
|
"422": {
|
|
13880
14009
|
"content": {
|
|
13881
14010
|
"application/json": {
|
|
@@ -13892,10 +14021,11 @@
|
|
|
13892
14021
|
"HTTPBearer": []
|
|
13893
14022
|
}
|
|
13894
14023
|
],
|
|
13895
|
-
"summary": "Get Agent Session
|
|
14024
|
+
"summary": "Get Agent Session Ide",
|
|
13896
14025
|
"tags": [
|
|
13897
14026
|
"v1"
|
|
13898
|
-
]
|
|
14027
|
+
],
|
|
14028
|
+
"x-ellipsis-sdk-method": "sessions.ide"
|
|
13899
14029
|
}
|
|
13900
14030
|
},
|
|
13901
14031
|
"/sessions/{session_id}/messages": {
|
|
@@ -14019,7 +14149,103 @@
|
|
|
14019
14149
|
"summary": "Send Agent Session Message",
|
|
14020
14150
|
"tags": [
|
|
14021
14151
|
"v1"
|
|
14022
|
-
]
|
|
14152
|
+
],
|
|
14153
|
+
"x-ellipsis-sdk-method": "sessions.send_message"
|
|
14154
|
+
}
|
|
14155
|
+
},
|
|
14156
|
+
"/sessions/{session_id}/output": {
|
|
14157
|
+
"get": {
|
|
14158
|
+
"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.",
|
|
14159
|
+
"operationId": "get_agent_session_output",
|
|
14160
|
+
"parameters": [
|
|
14161
|
+
{
|
|
14162
|
+
"in": "path",
|
|
14163
|
+
"name": "session_id",
|
|
14164
|
+
"required": true,
|
|
14165
|
+
"schema": {
|
|
14166
|
+
"title": "Session Id",
|
|
14167
|
+
"type": "string"
|
|
14168
|
+
}
|
|
14169
|
+
},
|
|
14170
|
+
{
|
|
14171
|
+
"in": "header",
|
|
14172
|
+
"name": "user-agent",
|
|
14173
|
+
"required": false,
|
|
14174
|
+
"schema": {
|
|
14175
|
+
"anyOf": [
|
|
14176
|
+
{
|
|
14177
|
+
"type": "string"
|
|
14178
|
+
},
|
|
14179
|
+
{
|
|
14180
|
+
"type": "null"
|
|
14181
|
+
}
|
|
14182
|
+
],
|
|
14183
|
+
"title": "User-Agent"
|
|
14184
|
+
}
|
|
14185
|
+
}
|
|
14186
|
+
],
|
|
14187
|
+
"responses": {
|
|
14188
|
+
"200": {
|
|
14189
|
+
"content": {
|
|
14190
|
+
"application/json": {
|
|
14191
|
+
"schema": {
|
|
14192
|
+
"type": "object"
|
|
14193
|
+
}
|
|
14194
|
+
}
|
|
14195
|
+
},
|
|
14196
|
+
"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."
|
|
14197
|
+
},
|
|
14198
|
+
"401": {
|
|
14199
|
+
"content": {
|
|
14200
|
+
"application/json": {
|
|
14201
|
+
"schema": {
|
|
14202
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
14203
|
+
}
|
|
14204
|
+
}
|
|
14205
|
+
},
|
|
14206
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
14207
|
+
},
|
|
14208
|
+
"403": {
|
|
14209
|
+
"content": {
|
|
14210
|
+
"application/json": {
|
|
14211
|
+
"schema": {
|
|
14212
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
14213
|
+
}
|
|
14214
|
+
}
|
|
14215
|
+
},
|
|
14216
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
14217
|
+
},
|
|
14218
|
+
"404": {
|
|
14219
|
+
"content": {
|
|
14220
|
+
"application/json": {
|
|
14221
|
+
"schema": {
|
|
14222
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
14223
|
+
}
|
|
14224
|
+
}
|
|
14225
|
+
},
|
|
14226
|
+
"description": "No such session in your account, the agent declares no output schema, the session has not completed, or it produced no output."
|
|
14227
|
+
},
|
|
14228
|
+
"422": {
|
|
14229
|
+
"content": {
|
|
14230
|
+
"application/json": {
|
|
14231
|
+
"schema": {
|
|
14232
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
14233
|
+
}
|
|
14234
|
+
}
|
|
14235
|
+
},
|
|
14236
|
+
"description": "Validation Error"
|
|
14237
|
+
}
|
|
14238
|
+
},
|
|
14239
|
+
"security": [
|
|
14240
|
+
{
|
|
14241
|
+
"HTTPBearer": []
|
|
14242
|
+
}
|
|
14243
|
+
],
|
|
14244
|
+
"summary": "Get Agent Session Output",
|
|
14245
|
+
"tags": [
|
|
14246
|
+
"v1"
|
|
14247
|
+
],
|
|
14248
|
+
"x-ellipsis-sdk-method": "sessions.output"
|
|
14023
14249
|
}
|
|
14024
14250
|
},
|
|
14025
14251
|
"/sessions/{session_id}/ports/{port}": {
|
|
@@ -14132,7 +14358,8 @@
|
|
|
14132
14358
|
"summary": "Get Agent Session Port",
|
|
14133
14359
|
"tags": [
|
|
14134
14360
|
"v1"
|
|
14135
|
-
]
|
|
14361
|
+
],
|
|
14362
|
+
"x-ellipsis-sdk-method": "sessions.port"
|
|
14136
14363
|
}
|
|
14137
14364
|
},
|
|
14138
14365
|
"/sessions/{session_id}/records": {
|
|
@@ -14260,7 +14487,8 @@
|
|
|
14260
14487
|
"summary": "Get Agent Session Records",
|
|
14261
14488
|
"tags": [
|
|
14262
14489
|
"v1"
|
|
14263
|
-
]
|
|
14490
|
+
],
|
|
14491
|
+
"x-ellipsis-sdk-method": "sessions.records"
|
|
14264
14492
|
}
|
|
14265
14493
|
},
|
|
14266
14494
|
"/sessions/{session_id}/replay": {
|
|
@@ -14374,7 +14602,8 @@
|
|
|
14374
14602
|
"summary": "Replay Agent Session",
|
|
14375
14603
|
"tags": [
|
|
14376
14604
|
"v1"
|
|
14377
|
-
]
|
|
14605
|
+
],
|
|
14606
|
+
"x-ellipsis-sdk-method": "sessions.replay"
|
|
14378
14607
|
}
|
|
14379
14608
|
},
|
|
14380
14609
|
"/sessions/{session_id}/stop": {
|
|
@@ -14488,7 +14717,8 @@
|
|
|
14488
14717
|
"summary": "Stop Agent Session",
|
|
14489
14718
|
"tags": [
|
|
14490
14719
|
"v1"
|
|
14491
|
-
]
|
|
14720
|
+
],
|
|
14721
|
+
"x-ellipsis-sdk-method": "sessions.stop"
|
|
14492
14722
|
}
|
|
14493
14723
|
},
|
|
14494
14724
|
"/sessions/{session_id}/transcript": {
|
|
@@ -14602,7 +14832,8 @@
|
|
|
14602
14832
|
"summary": "Ingest Agent Session Transcript",
|
|
14603
14833
|
"tags": [
|
|
14604
14834
|
"v1"
|
|
14605
|
-
]
|
|
14835
|
+
],
|
|
14836
|
+
"x-ellipsis-sdk-method": "sessions.ingest_transcript"
|
|
14606
14837
|
}
|
|
14607
14838
|
},
|
|
14608
14839
|
"/usage": {
|
|
@@ -14677,7 +14908,8 @@
|
|
|
14677
14908
|
"summary": "Get Usage Endpoint",
|
|
14678
14909
|
"tags": [
|
|
14679
14910
|
"v1"
|
|
14680
|
-
]
|
|
14911
|
+
],
|
|
14912
|
+
"x-ellipsis-sdk-method": "usage"
|
|
14681
14913
|
}
|
|
14682
14914
|
}
|
|
14683
14915
|
},
|