@ellipsis-dev/sdk 0.17.0 → 0.18.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 +56 -121
- package/dist/index.js +57 -130
- package/dist/store/index.d.ts +1 -1
- package/dist/stream/index.d.ts +1 -1
- package/dist/{types--VF0yCc1.d.ts → types-BLSh1Px1.d.ts} +216 -686
- package/package.json +1 -1
- package/schema/frames.schema.json +12 -6
- package/schema/openapi.v1.json +298 -874
package/schema/openapi.v1.json
CHANGED
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"claude": {
|
|
12
12
|
"$ref": "#/components/schemas/AgentConfigClaude",
|
|
13
13
|
"default": {
|
|
14
|
-
"model": "claude-opus-5",
|
|
15
14
|
"system": ""
|
|
16
15
|
}
|
|
17
16
|
},
|
|
@@ -211,9 +210,15 @@
|
|
|
211
210
|
"title": "Max Turns"
|
|
212
211
|
},
|
|
213
212
|
"model": {
|
|
214
|
-
"
|
|
215
|
-
|
|
216
|
-
|
|
213
|
+
"anyOf": [
|
|
214
|
+
{
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"type": "null"
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"title": "Model"
|
|
217
222
|
},
|
|
218
223
|
"settings": {
|
|
219
224
|
"anyOf": [
|
|
@@ -809,10 +814,9 @@
|
|
|
809
814
|
"type": "object"
|
|
810
815
|
},
|
|
811
816
|
"AgentConfigMentionPlatform": {
|
|
812
|
-
"description": "The surface an @ellipsis mention can come from.",
|
|
817
|
+
"description": "The surface an @ellipsis mention can come from.\n\nNo SLACK member: Slack routing is not a trigger on an agent config, it is the\n`slack.yaml` routing file (`SlackConfig`), which answers the questions a\nplatform list cannot \u2014 which channel, and whose DM. A mention trigger listing\n`slack` is therefore a config error, not a silently-never-fires config.",
|
|
813
818
|
"enum": [
|
|
814
819
|
"github",
|
|
815
|
-
"slack",
|
|
816
820
|
"linear"
|
|
817
821
|
],
|
|
818
822
|
"title": "AgentConfigMentionPlatform",
|
|
@@ -1159,34 +1163,6 @@
|
|
|
1159
1163
|
"title": "AgentConfigsListResponse",
|
|
1160
1164
|
"type": "object"
|
|
1161
1165
|
},
|
|
1162
|
-
"AgentDefaults": {
|
|
1163
|
-
"description": "Which agent config serves sessions started without an explicit config:\none account-wide rung, plus a rung per repository.\n\nValues are config ids \u2014 stable across renames, unlike the agent's name.\nA repo rung whose repository this installation can no longer see is absent\nfrom `repositories`; its row is left in place, so re-installing the repo\nbrings the rung back.",
|
|
1164
|
-
"properties": {
|
|
1165
|
-
"account": {
|
|
1166
|
-
"anyOf": [
|
|
1167
|
-
{
|
|
1168
|
-
"type": "string"
|
|
1169
|
-
},
|
|
1170
|
-
{
|
|
1171
|
-
"type": "null"
|
|
1172
|
-
}
|
|
1173
|
-
],
|
|
1174
|
-
"description": "Config id serving sessions with no repository context, or null when no account default is set.",
|
|
1175
|
-
"title": "Account"
|
|
1176
|
-
},
|
|
1177
|
-
"repositories": {
|
|
1178
|
-
"additionalProperties": {
|
|
1179
|
-
"type": "string"
|
|
1180
|
-
},
|
|
1181
|
-
"default": {},
|
|
1182
|
-
"description": "Config id per repository, keyed \"owner/name\". A repository with no default set is absent.",
|
|
1183
|
-
"title": "Repositories",
|
|
1184
|
-
"type": "object"
|
|
1185
|
-
}
|
|
1186
|
-
},
|
|
1187
|
-
"title": "AgentDefaults",
|
|
1188
|
-
"type": "object"
|
|
1189
|
-
},
|
|
1190
1166
|
"AgentTemplate": {
|
|
1191
1167
|
"description": "A built-in agent template: a ready-to-use agent config plus the\nmetadata that describes it in the template gallery.",
|
|
1192
1168
|
"properties": {
|
|
@@ -3572,34 +3548,6 @@
|
|
|
3572
3548
|
"title": "EnvironmentConfigEllipsis",
|
|
3573
3549
|
"type": "object"
|
|
3574
3550
|
},
|
|
3575
|
-
"EnvironmentDefaults": {
|
|
3576
|
-
"description": "Which environment serves sessions whose config carries no environment\nof its own: one account-wide rung, plus a rung per repository. Values are\nenvironment ids \u2014 stable across renames, unlike names.",
|
|
3577
|
-
"properties": {
|
|
3578
|
-
"account": {
|
|
3579
|
-
"anyOf": [
|
|
3580
|
-
{
|
|
3581
|
-
"type": "string"
|
|
3582
|
-
},
|
|
3583
|
-
{
|
|
3584
|
-
"type": "null"
|
|
3585
|
-
}
|
|
3586
|
-
],
|
|
3587
|
-
"description": "Environment id serving sessions with no repository context, or null when no account default is set.",
|
|
3588
|
-
"title": "Account"
|
|
3589
|
-
},
|
|
3590
|
-
"repositories": {
|
|
3591
|
-
"additionalProperties": {
|
|
3592
|
-
"type": "string"
|
|
3593
|
-
},
|
|
3594
|
-
"default": {},
|
|
3595
|
-
"description": "Environment id per repository, keyed \"owner/name\". A repository with no default set is absent.",
|
|
3596
|
-
"title": "Repositories",
|
|
3597
|
-
"type": "object"
|
|
3598
|
-
}
|
|
3599
|
-
},
|
|
3600
|
-
"title": "EnvironmentDefaults",
|
|
3601
|
-
"type": "object"
|
|
3602
|
-
},
|
|
3603
3551
|
"EnvironmentResponse": {
|
|
3604
3552
|
"description": "One saved environment.",
|
|
3605
3553
|
"properties": {
|
|
@@ -5916,60 +5864,6 @@
|
|
|
5916
5864
|
"title": "PullRequestsTotals",
|
|
5917
5865
|
"type": "object"
|
|
5918
5866
|
},
|
|
5919
|
-
"PutAgentDefaultRequest": {
|
|
5920
|
-
"description": "Parameters for setting a default agent config, at either the account\nor the repository level.",
|
|
5921
|
-
"properties": {
|
|
5922
|
-
"config_id": {
|
|
5923
|
-
"description": "The config to make the default: a config id, or the agent's customer-unique `ellipsis.name`.",
|
|
5924
|
-
"title": "Config Id",
|
|
5925
|
-
"type": "string"
|
|
5926
|
-
},
|
|
5927
|
-
"repository": {
|
|
5928
|
-
"anyOf": [
|
|
5929
|
-
{
|
|
5930
|
-
"type": "string"
|
|
5931
|
-
},
|
|
5932
|
-
{
|
|
5933
|
-
"type": "null"
|
|
5934
|
-
}
|
|
5935
|
-
],
|
|
5936
|
-
"description": "The rung to set: \"owner/name\" for a repo default; omit to set the account default. Unlike session start's silent ignore, an unknown or foreign repo here is a 404.",
|
|
5937
|
-
"title": "Repository"
|
|
5938
|
-
}
|
|
5939
|
-
},
|
|
5940
|
-
"required": [
|
|
5941
|
-
"config_id"
|
|
5942
|
-
],
|
|
5943
|
-
"title": "PutAgentDefaultRequest",
|
|
5944
|
-
"type": "object"
|
|
5945
|
-
},
|
|
5946
|
-
"PutEnvironmentDefaultRequest": {
|
|
5947
|
-
"description": "Parameters for setting a default environment, at either the account or\nthe repository level.",
|
|
5948
|
-
"properties": {
|
|
5949
|
-
"environment": {
|
|
5950
|
-
"description": "The environment to make the default: an environment id, or its customer-unique name.",
|
|
5951
|
-
"title": "Environment",
|
|
5952
|
-
"type": "string"
|
|
5953
|
-
},
|
|
5954
|
-
"repository": {
|
|
5955
|
-
"anyOf": [
|
|
5956
|
-
{
|
|
5957
|
-
"type": "string"
|
|
5958
|
-
},
|
|
5959
|
-
{
|
|
5960
|
-
"type": "null"
|
|
5961
|
-
}
|
|
5962
|
-
],
|
|
5963
|
-
"description": "The rung to set: \"owner/name\" for a repo default; omit to set the account default. An unknown or foreign repo is a 404.",
|
|
5964
|
-
"title": "Repository"
|
|
5965
|
-
}
|
|
5966
|
-
},
|
|
5967
|
-
"required": [
|
|
5968
|
-
"environment"
|
|
5969
|
-
],
|
|
5970
|
-
"title": "PutEnvironmentDefaultRequest",
|
|
5971
|
-
"type": "object"
|
|
5972
|
-
},
|
|
5973
5867
|
"PutSecretsRequest": {
|
|
5974
5868
|
"description": "Store secrets for the account's sandboxes. Each secret is upserted by\nname: existing names are overwritten.",
|
|
5975
5869
|
"properties": {
|
|
@@ -6443,50 +6337,6 @@
|
|
|
6443
6337
|
"title": "RecordSource",
|
|
6444
6338
|
"type": "string"
|
|
6445
6339
|
},
|
|
6446
|
-
"ReplayAgentSessionRequest": {
|
|
6447
|
-
"description": "Parameters for re-running an existing run's original trigger input as\na new run.",
|
|
6448
|
-
"properties": {
|
|
6449
|
-
"config_id": {
|
|
6450
|
-
"anyOf": [
|
|
6451
|
-
{
|
|
6452
|
-
"type": "string"
|
|
6453
|
-
},
|
|
6454
|
-
{
|
|
6455
|
-
"type": "null"
|
|
6456
|
-
}
|
|
6457
|
-
],
|
|
6458
|
-
"description": "A saved config to replay against. By default the original run's frozen config snapshot is reused.",
|
|
6459
|
-
"title": "Config Id"
|
|
6460
|
-
},
|
|
6461
|
-
"override": {
|
|
6462
|
-
"anyOf": [
|
|
6463
|
-
{
|
|
6464
|
-
"additionalProperties": true,
|
|
6465
|
-
"type": "object"
|
|
6466
|
-
},
|
|
6467
|
-
{
|
|
6468
|
-
"type": "null"
|
|
6469
|
-
}
|
|
6470
|
-
],
|
|
6471
|
-
"description": "Optional partial patch on the replayed config, applied last \u2014 e.g. {\"claude\": {\"model\": \"claude-opus-4-8\"}} to replay the run on a different model, or {\"budget\": {\"session\": 5.0}} to raise its budget.",
|
|
6472
|
-
"title": "Override"
|
|
6473
|
-
},
|
|
6474
|
-
"prompt": {
|
|
6475
|
-
"anyOf": [
|
|
6476
|
-
{
|
|
6477
|
-
"type": "string"
|
|
6478
|
-
},
|
|
6479
|
-
{
|
|
6480
|
-
"type": "null"
|
|
6481
|
-
}
|
|
6482
|
-
],
|
|
6483
|
-
"description": "Per-run instructions. Omit to inherit the original run's prompt (a bare replay re-runs the same instructions); pass \"\" to clear it.",
|
|
6484
|
-
"title": "Prompt"
|
|
6485
|
-
}
|
|
6486
|
-
},
|
|
6487
|
-
"title": "ReplayAgentSessionRequest",
|
|
6488
|
-
"type": "object"
|
|
6489
|
-
},
|
|
6490
6340
|
"RepoFacet": {
|
|
6491
6341
|
"description": "A repository filter option, counted over the unfiltered window so\noptions never vanish when filters are applied.",
|
|
6492
6342
|
"properties": {
|
|
@@ -9120,6 +8970,25 @@
|
|
|
9120
8970
|
"title": "SessionCost",
|
|
9121
8971
|
"type": "object"
|
|
9122
8972
|
},
|
|
8973
|
+
"SessionDefaults": {
|
|
8974
|
+
"description": "The account-wide session defaults.",
|
|
8975
|
+
"properties": {
|
|
8976
|
+
"model": {
|
|
8977
|
+
"anyOf": [
|
|
8978
|
+
{
|
|
8979
|
+
"type": "string"
|
|
8980
|
+
},
|
|
8981
|
+
{
|
|
8982
|
+
"type": "null"
|
|
8983
|
+
}
|
|
8984
|
+
],
|
|
8985
|
+
"description": "Canonical model id every session falls back to when neither the request nor its agent config names one, or null when unset (sessions then run the platform default).",
|
|
8986
|
+
"title": "Model"
|
|
8987
|
+
}
|
|
8988
|
+
},
|
|
8989
|
+
"title": "SessionDefaults",
|
|
8990
|
+
"type": "object"
|
|
8991
|
+
},
|
|
9123
8992
|
"SessionEnvironment": {
|
|
9124
8993
|
"description": "The environment this session resolved: which saved environment (as it\nexists now) and how it was chosen. The environment's frozen BODY rides\ninside `agent.config.environment` \u2014 substitution happens before the config\nsnapshot freezes \u2014 so this object is provenance, not payload.",
|
|
9125
8994
|
"properties": {
|
|
@@ -10343,48 +10212,72 @@
|
|
|
10343
10212
|
"type": "object"
|
|
10344
10213
|
},
|
|
10345
10214
|
"StartAgentSessionRequest": {
|
|
10346
|
-
"
|
|
10215
|
+
"additionalProperties": false,
|
|
10216
|
+
"description": "Parameters for starting a new agent session: an optional base config\npointer, the message fields, and any AgentConfig keys to patch on top.",
|
|
10347
10217
|
"properties": {
|
|
10348
|
-
"
|
|
10218
|
+
"budget": {
|
|
10349
10219
|
"anyOf": [
|
|
10350
10220
|
{
|
|
10351
|
-
"$ref": "#/components/schemas/
|
|
10221
|
+
"$ref": "#/components/schemas/AgentConfigBudget"
|
|
10352
10222
|
},
|
|
10353
10223
|
{
|
|
10354
10224
|
"type": "null"
|
|
10355
10225
|
}
|
|
10356
10226
|
],
|
|
10357
|
-
"description": "
|
|
10227
|
+
"description": "The session's spend limits, e.g. {\"session\": 5.0}."
|
|
10358
10228
|
},
|
|
10359
|
-
"
|
|
10229
|
+
"claude": {
|
|
10360
10230
|
"anyOf": [
|
|
10361
10231
|
{
|
|
10362
|
-
"
|
|
10232
|
+
"$ref": "#/components/schemas/AgentConfigClaude"
|
|
10363
10233
|
},
|
|
10364
10234
|
{
|
|
10365
10235
|
"type": "null"
|
|
10366
10236
|
}
|
|
10367
10237
|
],
|
|
10368
|
-
"description": "
|
|
10369
|
-
|
|
10238
|
+
"description": "The Claude-harness block: `{\"model\": ...}` to pick this session's model, plus system/effort/fallback_model/max_turns/settings."
|
|
10239
|
+
},
|
|
10240
|
+
"codex": {
|
|
10241
|
+
"anyOf": [
|
|
10242
|
+
{
|
|
10243
|
+
"$ref": "#/components/schemas/AgentConfigCodex"
|
|
10244
|
+
},
|
|
10245
|
+
{
|
|
10246
|
+
"type": "null"
|
|
10247
|
+
}
|
|
10248
|
+
],
|
|
10249
|
+
"description": "The Codex-harness block. Its presence on the EFFECTIVE config selects the Codex harness, exactly as in a saved config."
|
|
10250
|
+
},
|
|
10251
|
+
"ellipsis": {
|
|
10252
|
+
"$ref": "#/components/schemas/StartSessionEllipsis",
|
|
10253
|
+
"description": "Platform housekeeping: metadata, interactive, force_rebuild."
|
|
10370
10254
|
},
|
|
10371
10255
|
"environment": {
|
|
10372
10256
|
"anyOf": [
|
|
10373
10257
|
{
|
|
10374
10258
|
"type": "string"
|
|
10375
10259
|
},
|
|
10260
|
+
{
|
|
10261
|
+
"$ref": "#/components/schemas/AgentConfigEnvironment"
|
|
10262
|
+
},
|
|
10376
10263
|
{
|
|
10377
10264
|
"type": "null"
|
|
10378
10265
|
}
|
|
10379
10266
|
],
|
|
10380
|
-
"description": "
|
|
10267
|
+
"description": "Where the session runs. A STRING (a saved environment's `env_...` id or name) re-picks that environment wholesale \u2014 it beats the base config's own reference. An OBJECT deep-merges onto the resolved environment (repositories merge by identity, see above).",
|
|
10381
10268
|
"title": "Environment"
|
|
10382
10269
|
},
|
|
10383
|
-
"
|
|
10384
|
-
"
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
10270
|
+
"from_config_id": {
|
|
10271
|
+
"anyOf": [
|
|
10272
|
+
{
|
|
10273
|
+
"type": "string"
|
|
10274
|
+
},
|
|
10275
|
+
{
|
|
10276
|
+
"type": "null"
|
|
10277
|
+
}
|
|
10278
|
+
],
|
|
10279
|
+
"description": "The saved agent config to use as this session's base: its id, or the agent's customer-unique `ellipsis.name`. Omitted, the base is the bare ad-hoc config \u2014 an empty system prompt on the account's default model in the basic sandbox \u2014 so the request's own keys and prompt fully describe the run.",
|
|
10280
|
+
"title": "From Config Id"
|
|
10388
10281
|
},
|
|
10389
10282
|
"input": {
|
|
10390
10283
|
"anyOf": [
|
|
@@ -10399,33 +10292,27 @@
|
|
|
10399
10292
|
"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.",
|
|
10400
10293
|
"title": "Input"
|
|
10401
10294
|
},
|
|
10402
|
-
"
|
|
10403
|
-
"
|
|
10404
|
-
|
|
10405
|
-
|
|
10406
|
-
|
|
10407
|
-
|
|
10408
|
-
|
|
10409
|
-
|
|
10410
|
-
|
|
10411
|
-
|
|
10412
|
-
"default": {},
|
|
10413
|
-
"description": "Arbitrary string key/value metadata stored on the session.",
|
|
10414
|
-
"title": "Metadata",
|
|
10415
|
-
"type": "object"
|
|
10295
|
+
"output": {
|
|
10296
|
+
"anyOf": [
|
|
10297
|
+
{
|
|
10298
|
+
"$ref": "#/components/schemas/AgentConfigOutput"
|
|
10299
|
+
},
|
|
10300
|
+
{
|
|
10301
|
+
"type": "null"
|
|
10302
|
+
}
|
|
10303
|
+
],
|
|
10304
|
+
"description": "The structured-output exit contract for this session."
|
|
10416
10305
|
},
|
|
10417
|
-
"
|
|
10306
|
+
"permissions": {
|
|
10418
10307
|
"anyOf": [
|
|
10419
10308
|
{
|
|
10420
|
-
"
|
|
10421
|
-
"type": "object"
|
|
10309
|
+
"$ref": "#/components/schemas/AgentConfigPermissions"
|
|
10422
10310
|
},
|
|
10423
10311
|
{
|
|
10424
10312
|
"type": "null"
|
|
10425
10313
|
}
|
|
10426
10314
|
],
|
|
10427
|
-
"description": "
|
|
10428
|
-
"title": "Override"
|
|
10315
|
+
"description": "What the session may touch, per minted credential."
|
|
10429
10316
|
},
|
|
10430
10317
|
"prompt": {
|
|
10431
10318
|
"anyOf": [
|
|
@@ -10439,17 +10326,20 @@
|
|
|
10439
10326
|
"description": "The session's first message. Omit it and the session starts idle: the sandbox spins up, the agent waits at the prompt, and the first message you send opens turn 0.",
|
|
10440
10327
|
"title": "Prompt"
|
|
10441
10328
|
},
|
|
10442
|
-
"
|
|
10329
|
+
"skills": {
|
|
10443
10330
|
"anyOf": [
|
|
10444
10331
|
{
|
|
10445
|
-
"
|
|
10332
|
+
"items": {
|
|
10333
|
+
"$ref": "#/components/schemas/AgentConfigSkill"
|
|
10334
|
+
},
|
|
10335
|
+
"type": "array"
|
|
10446
10336
|
},
|
|
10447
10337
|
{
|
|
10448
10338
|
"type": "null"
|
|
10449
10339
|
}
|
|
10450
10340
|
],
|
|
10451
|
-
"description": "
|
|
10452
|
-
"title": "
|
|
10341
|
+
"description": "Config-declared skills; replaces the base config's list.",
|
|
10342
|
+
"title": "Skills"
|
|
10453
10343
|
}
|
|
10454
10344
|
},
|
|
10455
10345
|
"title": "StartAgentSessionRequest",
|
|
@@ -10500,6 +10390,35 @@
|
|
|
10500
10390
|
"title": "StartCliAuthResponse",
|
|
10501
10391
|
"type": "object"
|
|
10502
10392
|
},
|
|
10393
|
+
"StartSessionEllipsis": {
|
|
10394
|
+
"additionalProperties": false,
|
|
10395
|
+
"description": "Platform housekeeping for the session \u2014 the request-side `ellipsis`\nblock. Session-scoped: unlike a config file's `ellipsis` block it carries\nno `name`/`enabled` (those describe a saved agent, not a run) \u2014 and\nsending them here is a 422, not a silent drop.",
|
|
10396
|
+
"properties": {
|
|
10397
|
+
"force_rebuild": {
|
|
10398
|
+
"default": false,
|
|
10399
|
+
"description": "Skip the image cache for this session's initial provision: a fresh full build whose snapshot then refreshes the cache for later runs. A wake of a durable session provisions through the cache as usual. The CLI's `--rebuild`.",
|
|
10400
|
+
"title": "Force Rebuild",
|
|
10401
|
+
"type": "boolean"
|
|
10402
|
+
},
|
|
10403
|
+
"interactive": {
|
|
10404
|
+
"default": true,
|
|
10405
|
+
"description": "Whether the session stays open for messages after its first turn. Set false for a one-shot run that does its job and closes without holding a warm sandbox; a one-shot run must carry a prompt (or input), since nothing can ever be sent to it later. Agents on the Codex harness are one-shot regardless.",
|
|
10406
|
+
"title": "Interactive",
|
|
10407
|
+
"type": "boolean"
|
|
10408
|
+
},
|
|
10409
|
+
"metadata": {
|
|
10410
|
+
"additionalProperties": {
|
|
10411
|
+
"type": "string"
|
|
10412
|
+
},
|
|
10413
|
+
"default": {},
|
|
10414
|
+
"description": "Arbitrary string key/value metadata stored on the session.",
|
|
10415
|
+
"title": "Metadata",
|
|
10416
|
+
"type": "object"
|
|
10417
|
+
}
|
|
10418
|
+
},
|
|
10419
|
+
"title": "StartSessionEllipsis",
|
|
10420
|
+
"type": "object"
|
|
10421
|
+
},
|
|
10503
10422
|
"TokensInfo": {
|
|
10504
10423
|
"additionalProperties": false,
|
|
10505
10424
|
"description": "Token/cost usage, per record (one API call's counts, aggregate fields at\ntheir zero defaults) or aggregated per execution/session\n(compute_spend_from_records derives num_turns and cost_usd).\n\nStrict on purpose: this is our own persisted schema, so an unknown key is a\nwriter bug (the num_turns=0 bug shipped because a Claude Code usage dict\nvalidated leniently against this model, silently zeroing every\nnon-overlapping field). Legacy keys were dropped from persisted blobs by\nthe 2026-07-26 tokens_info migration; per-model usage lives on\n`execution.model_usage` (CC's modelUsage, verbatim).",
|
|
@@ -11542,15 +11461,14 @@
|
|
|
11542
11461
|
"x-ellipsis-sdk-method": "agents.configs.unlink"
|
|
11543
11462
|
}
|
|
11544
11463
|
},
|
|
11545
|
-
"/v1/agents/
|
|
11546
|
-
"
|
|
11547
|
-
"description": "
|
|
11548
|
-
"operationId": "
|
|
11464
|
+
"/v1/agents/templates": {
|
|
11465
|
+
"get": {
|
|
11466
|
+
"description": "List the built-in starter agent templates.\n\nBehind auth but not account-scoped \u2014 the data is static\nproduct content shared by the dashboard, landing site, and CLI.",
|
|
11467
|
+
"operationId": "list_agent_templates",
|
|
11549
11468
|
"parameters": [
|
|
11550
11469
|
{
|
|
11551
|
-
"
|
|
11552
|
-
"
|
|
11553
|
-
"name": "repository",
|
|
11470
|
+
"in": "header",
|
|
11471
|
+
"name": "user-agent",
|
|
11554
11472
|
"required": false,
|
|
11555
11473
|
"schema": {
|
|
11556
11474
|
"anyOf": [
|
|
@@ -11561,281 +11479,7 @@
|
|
|
11561
11479
|
"type": "null"
|
|
11562
11480
|
}
|
|
11563
11481
|
],
|
|
11564
|
-
"
|
|
11565
|
-
"title": "Repository"
|
|
11566
|
-
}
|
|
11567
|
-
},
|
|
11568
|
-
{
|
|
11569
|
-
"in": "header",
|
|
11570
|
-
"name": "user-agent",
|
|
11571
|
-
"required": false,
|
|
11572
|
-
"schema": {
|
|
11573
|
-
"anyOf": [
|
|
11574
|
-
{
|
|
11575
|
-
"type": "string"
|
|
11576
|
-
},
|
|
11577
|
-
{
|
|
11578
|
-
"type": "null"
|
|
11579
|
-
}
|
|
11580
|
-
],
|
|
11581
|
-
"title": "User-Agent"
|
|
11582
|
-
}
|
|
11583
|
-
}
|
|
11584
|
-
],
|
|
11585
|
-
"responses": {
|
|
11586
|
-
"204": {
|
|
11587
|
-
"description": "Successful Response"
|
|
11588
|
-
},
|
|
11589
|
-
"401": {
|
|
11590
|
-
"content": {
|
|
11591
|
-
"application/json": {
|
|
11592
|
-
"schema": {
|
|
11593
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
11594
|
-
}
|
|
11595
|
-
}
|
|
11596
|
-
},
|
|
11597
|
-
"description": "The bearer token is missing, invalid, or revoked."
|
|
11598
|
-
},
|
|
11599
|
-
"403": {
|
|
11600
|
-
"content": {
|
|
11601
|
-
"application/json": {
|
|
11602
|
-
"schema": {
|
|
11603
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
11604
|
-
}
|
|
11605
|
-
}
|
|
11606
|
-
},
|
|
11607
|
-
"description": "The credential may not perform this action, or the account is blocked."
|
|
11608
|
-
},
|
|
11609
|
-
"404": {
|
|
11610
|
-
"content": {
|
|
11611
|
-
"application/json": {
|
|
11612
|
-
"schema": {
|
|
11613
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
11614
|
-
}
|
|
11615
|
-
}
|
|
11616
|
-
},
|
|
11617
|
-
"description": "No default is set at that rung, or the repository was not found in your account."
|
|
11618
|
-
},
|
|
11619
|
-
"422": {
|
|
11620
|
-
"content": {
|
|
11621
|
-
"application/json": {
|
|
11622
|
-
"schema": {
|
|
11623
|
-
"$ref": "#/components/schemas/HTTPValidationError"
|
|
11624
|
-
}
|
|
11625
|
-
}
|
|
11626
|
-
},
|
|
11627
|
-
"description": "Validation Error"
|
|
11628
|
-
}
|
|
11629
|
-
},
|
|
11630
|
-
"security": [
|
|
11631
|
-
{
|
|
11632
|
-
"HTTPBearer": []
|
|
11633
|
-
}
|
|
11634
|
-
],
|
|
11635
|
-
"summary": "Delete Agent Default",
|
|
11636
|
-
"tags": [
|
|
11637
|
-
"v1"
|
|
11638
|
-
],
|
|
11639
|
-
"x-ellipsis-sdk-method": "agents.defaults.delete"
|
|
11640
|
-
},
|
|
11641
|
-
"get": {
|
|
11642
|
-
"description": "Get the default agent configs.\n\nThe account-wide default and the per-repository defaults, as config\nids. Repo rungs are keyed \"owner/name\"; a repository this\ninstallation can no longer see is omitted.",
|
|
11643
|
-
"operationId": "list_agent_defaults",
|
|
11644
|
-
"parameters": [
|
|
11645
|
-
{
|
|
11646
|
-
"in": "header",
|
|
11647
|
-
"name": "user-agent",
|
|
11648
|
-
"required": false,
|
|
11649
|
-
"schema": {
|
|
11650
|
-
"anyOf": [
|
|
11651
|
-
{
|
|
11652
|
-
"type": "string"
|
|
11653
|
-
},
|
|
11654
|
-
{
|
|
11655
|
-
"type": "null"
|
|
11656
|
-
}
|
|
11657
|
-
],
|
|
11658
|
-
"title": "User-Agent"
|
|
11659
|
-
}
|
|
11660
|
-
}
|
|
11661
|
-
],
|
|
11662
|
-
"responses": {
|
|
11663
|
-
"200": {
|
|
11664
|
-
"content": {
|
|
11665
|
-
"application/json": {
|
|
11666
|
-
"schema": {
|
|
11667
|
-
"$ref": "#/components/schemas/AgentDefaults"
|
|
11668
|
-
}
|
|
11669
|
-
}
|
|
11670
|
-
},
|
|
11671
|
-
"description": "Successful Response"
|
|
11672
|
-
},
|
|
11673
|
-
"401": {
|
|
11674
|
-
"content": {
|
|
11675
|
-
"application/json": {
|
|
11676
|
-
"schema": {
|
|
11677
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
11678
|
-
}
|
|
11679
|
-
}
|
|
11680
|
-
},
|
|
11681
|
-
"description": "The bearer token is missing, invalid, or revoked."
|
|
11682
|
-
},
|
|
11683
|
-
"403": {
|
|
11684
|
-
"content": {
|
|
11685
|
-
"application/json": {
|
|
11686
|
-
"schema": {
|
|
11687
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
11688
|
-
}
|
|
11689
|
-
}
|
|
11690
|
-
},
|
|
11691
|
-
"description": "The credential may not perform this action, or the account is blocked."
|
|
11692
|
-
},
|
|
11693
|
-
"422": {
|
|
11694
|
-
"content": {
|
|
11695
|
-
"application/json": {
|
|
11696
|
-
"schema": {
|
|
11697
|
-
"$ref": "#/components/schemas/HTTPValidationError"
|
|
11698
|
-
}
|
|
11699
|
-
}
|
|
11700
|
-
},
|
|
11701
|
-
"description": "Validation Error"
|
|
11702
|
-
}
|
|
11703
|
-
},
|
|
11704
|
-
"security": [
|
|
11705
|
-
{
|
|
11706
|
-
"HTTPBearer": []
|
|
11707
|
-
}
|
|
11708
|
-
],
|
|
11709
|
-
"summary": "List Agent Defaults",
|
|
11710
|
-
"tags": [
|
|
11711
|
-
"v1"
|
|
11712
|
-
],
|
|
11713
|
-
"x-ellipsis-sdk-method": "agents.defaults.list"
|
|
11714
|
-
},
|
|
11715
|
-
"put": {
|
|
11716
|
-
"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. Returns the full resulting ladder.\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.",
|
|
11717
|
-
"operationId": "put_agent_default",
|
|
11718
|
-
"parameters": [
|
|
11719
|
-
{
|
|
11720
|
-
"in": "header",
|
|
11721
|
-
"name": "user-agent",
|
|
11722
|
-
"required": false,
|
|
11723
|
-
"schema": {
|
|
11724
|
-
"anyOf": [
|
|
11725
|
-
{
|
|
11726
|
-
"type": "string"
|
|
11727
|
-
},
|
|
11728
|
-
{
|
|
11729
|
-
"type": "null"
|
|
11730
|
-
}
|
|
11731
|
-
],
|
|
11732
|
-
"title": "User-Agent"
|
|
11733
|
-
}
|
|
11734
|
-
}
|
|
11735
|
-
],
|
|
11736
|
-
"requestBody": {
|
|
11737
|
-
"content": {
|
|
11738
|
-
"application/json": {
|
|
11739
|
-
"schema": {
|
|
11740
|
-
"$ref": "#/components/schemas/PutAgentDefaultRequest"
|
|
11741
|
-
}
|
|
11742
|
-
}
|
|
11743
|
-
},
|
|
11744
|
-
"required": true
|
|
11745
|
-
},
|
|
11746
|
-
"responses": {
|
|
11747
|
-
"200": {
|
|
11748
|
-
"content": {
|
|
11749
|
-
"application/json": {
|
|
11750
|
-
"schema": {
|
|
11751
|
-
"$ref": "#/components/schemas/AgentDefaults"
|
|
11752
|
-
}
|
|
11753
|
-
}
|
|
11754
|
-
},
|
|
11755
|
-
"description": "Successful Response"
|
|
11756
|
-
},
|
|
11757
|
-
"400": {
|
|
11758
|
-
"content": {
|
|
11759
|
-
"application/json": {
|
|
11760
|
-
"schema": {
|
|
11761
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
11762
|
-
}
|
|
11763
|
-
}
|
|
11764
|
-
},
|
|
11765
|
-
"description": "The config is not eligible as a default: its pull request has not merged, or it is disabled."
|
|
11766
|
-
},
|
|
11767
|
-
"401": {
|
|
11768
|
-
"content": {
|
|
11769
|
-
"application/json": {
|
|
11770
|
-
"schema": {
|
|
11771
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
11772
|
-
}
|
|
11773
|
-
}
|
|
11774
|
-
},
|
|
11775
|
-
"description": "The bearer token is missing, invalid, or revoked."
|
|
11776
|
-
},
|
|
11777
|
-
"403": {
|
|
11778
|
-
"content": {
|
|
11779
|
-
"application/json": {
|
|
11780
|
-
"schema": {
|
|
11781
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
11782
|
-
}
|
|
11783
|
-
}
|
|
11784
|
-
},
|
|
11785
|
-
"description": "The credential may not perform this action, or the account is blocked."
|
|
11786
|
-
},
|
|
11787
|
-
"404": {
|
|
11788
|
-
"content": {
|
|
11789
|
-
"application/json": {
|
|
11790
|
-
"schema": {
|
|
11791
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
11792
|
-
}
|
|
11793
|
-
}
|
|
11794
|
-
},
|
|
11795
|
-
"description": "The config or repository was not found in your account."
|
|
11796
|
-
},
|
|
11797
|
-
"422": {
|
|
11798
|
-
"content": {
|
|
11799
|
-
"application/json": {
|
|
11800
|
-
"schema": {
|
|
11801
|
-
"$ref": "#/components/schemas/HTTPValidationError"
|
|
11802
|
-
}
|
|
11803
|
-
}
|
|
11804
|
-
},
|
|
11805
|
-
"description": "Validation Error"
|
|
11806
|
-
}
|
|
11807
|
-
},
|
|
11808
|
-
"security": [
|
|
11809
|
-
{
|
|
11810
|
-
"HTTPBearer": []
|
|
11811
|
-
}
|
|
11812
|
-
],
|
|
11813
|
-
"summary": "Put Agent Default",
|
|
11814
|
-
"tags": [
|
|
11815
|
-
"v1"
|
|
11816
|
-
],
|
|
11817
|
-
"x-ellipsis-sdk-method": "agents.defaults.set"
|
|
11818
|
-
}
|
|
11819
|
-
},
|
|
11820
|
-
"/v1/agents/templates": {
|
|
11821
|
-
"get": {
|
|
11822
|
-
"description": "List the built-in starter agent templates.\n\nBehind auth but not account-scoped \u2014 the data is static\nproduct content shared by the dashboard, landing site, and CLI.",
|
|
11823
|
-
"operationId": "list_agent_templates",
|
|
11824
|
-
"parameters": [
|
|
11825
|
-
{
|
|
11826
|
-
"in": "header",
|
|
11827
|
-
"name": "user-agent",
|
|
11828
|
-
"required": false,
|
|
11829
|
-
"schema": {
|
|
11830
|
-
"anyOf": [
|
|
11831
|
-
{
|
|
11832
|
-
"type": "string"
|
|
11833
|
-
},
|
|
11834
|
-
{
|
|
11835
|
-
"type": "null"
|
|
11836
|
-
}
|
|
11837
|
-
],
|
|
11838
|
-
"title": "User-Agent"
|
|
11482
|
+
"title": "User-Agent"
|
|
11839
11483
|
}
|
|
11840
11484
|
}
|
|
11841
11485
|
],
|
|
@@ -13047,259 +12691,7 @@
|
|
|
13047
12691
|
},
|
|
13048
12692
|
"description": "Successful Response"
|
|
13049
12693
|
},
|
|
13050
|
-
"401": {
|
|
13051
|
-
"content": {
|
|
13052
|
-
"application/json": {
|
|
13053
|
-
"schema": {
|
|
13054
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13055
|
-
}
|
|
13056
|
-
}
|
|
13057
|
-
},
|
|
13058
|
-
"description": "The bearer token is missing, invalid, or revoked."
|
|
13059
|
-
},
|
|
13060
|
-
"403": {
|
|
13061
|
-
"content": {
|
|
13062
|
-
"application/json": {
|
|
13063
|
-
"schema": {
|
|
13064
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13065
|
-
}
|
|
13066
|
-
}
|
|
13067
|
-
},
|
|
13068
|
-
"description": "The credential may not perform this action, or the account is blocked."
|
|
13069
|
-
}
|
|
13070
|
-
},
|
|
13071
|
-
"summary": "Cli Auth Start",
|
|
13072
|
-
"tags": [
|
|
13073
|
-
"v1"
|
|
13074
|
-
],
|
|
13075
|
-
"x-ellipsis-sdk-method": "auth.cli.start",
|
|
13076
|
-
"x-ellipsis-undocumented": true
|
|
13077
|
-
}
|
|
13078
|
-
},
|
|
13079
|
-
"/v1/budget": {
|
|
13080
|
-
"get": {
|
|
13081
|
-
"description": "Return the caller's current budget summary.",
|
|
13082
|
-
"operationId": "get_budget",
|
|
13083
|
-
"parameters": [
|
|
13084
|
-
{
|
|
13085
|
-
"in": "header",
|
|
13086
|
-
"name": "user-agent",
|
|
13087
|
-
"required": false,
|
|
13088
|
-
"schema": {
|
|
13089
|
-
"anyOf": [
|
|
13090
|
-
{
|
|
13091
|
-
"type": "string"
|
|
13092
|
-
},
|
|
13093
|
-
{
|
|
13094
|
-
"type": "null"
|
|
13095
|
-
}
|
|
13096
|
-
],
|
|
13097
|
-
"title": "User-Agent"
|
|
13098
|
-
}
|
|
13099
|
-
}
|
|
13100
|
-
],
|
|
13101
|
-
"responses": {
|
|
13102
|
-
"200": {
|
|
13103
|
-
"content": {
|
|
13104
|
-
"application/json": {
|
|
13105
|
-
"schema": {
|
|
13106
|
-
"$ref": "#/components/schemas/BudgetSummary"
|
|
13107
|
-
}
|
|
13108
|
-
}
|
|
13109
|
-
},
|
|
13110
|
-
"description": "Successful Response"
|
|
13111
|
-
},
|
|
13112
|
-
"401": {
|
|
13113
|
-
"content": {
|
|
13114
|
-
"application/json": {
|
|
13115
|
-
"schema": {
|
|
13116
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13117
|
-
}
|
|
13118
|
-
}
|
|
13119
|
-
},
|
|
13120
|
-
"description": "The bearer token is missing, invalid, or revoked."
|
|
13121
|
-
},
|
|
13122
|
-
"403": {
|
|
13123
|
-
"content": {
|
|
13124
|
-
"application/json": {
|
|
13125
|
-
"schema": {
|
|
13126
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13127
|
-
}
|
|
13128
|
-
}
|
|
13129
|
-
},
|
|
13130
|
-
"description": "The credential may not perform this action, or the account is blocked."
|
|
13131
|
-
},
|
|
13132
|
-
"422": {
|
|
13133
|
-
"content": {
|
|
13134
|
-
"application/json": {
|
|
13135
|
-
"schema": {
|
|
13136
|
-
"$ref": "#/components/schemas/HTTPValidationError"
|
|
13137
|
-
}
|
|
13138
|
-
}
|
|
13139
|
-
},
|
|
13140
|
-
"description": "Validation Error"
|
|
13141
|
-
}
|
|
13142
|
-
},
|
|
13143
|
-
"security": [
|
|
13144
|
-
{
|
|
13145
|
-
"HTTPBearer": []
|
|
13146
|
-
}
|
|
13147
|
-
],
|
|
13148
|
-
"summary": "Get Budget",
|
|
13149
|
-
"tags": [
|
|
13150
|
-
"v1"
|
|
13151
|
-
],
|
|
13152
|
-
"x-ellipsis-sdk-method": "budget"
|
|
13153
|
-
}
|
|
13154
|
-
},
|
|
13155
|
-
"/v1/environments": {
|
|
13156
|
-
"get": {
|
|
13157
|
-
"description": "List saved environments.",
|
|
13158
|
-
"operationId": "list_environments",
|
|
13159
|
-
"parameters": [
|
|
13160
|
-
{
|
|
13161
|
-
"in": "header",
|
|
13162
|
-
"name": "user-agent",
|
|
13163
|
-
"required": false,
|
|
13164
|
-
"schema": {
|
|
13165
|
-
"anyOf": [
|
|
13166
|
-
{
|
|
13167
|
-
"type": "string"
|
|
13168
|
-
},
|
|
13169
|
-
{
|
|
13170
|
-
"type": "null"
|
|
13171
|
-
}
|
|
13172
|
-
],
|
|
13173
|
-
"title": "User-Agent"
|
|
13174
|
-
}
|
|
13175
|
-
}
|
|
13176
|
-
],
|
|
13177
|
-
"responses": {
|
|
13178
|
-
"200": {
|
|
13179
|
-
"content": {
|
|
13180
|
-
"application/json": {
|
|
13181
|
-
"schema": {
|
|
13182
|
-
"$ref": "#/components/schemas/EnvironmentsListResponse"
|
|
13183
|
-
}
|
|
13184
|
-
}
|
|
13185
|
-
},
|
|
13186
|
-
"description": "Successful Response"
|
|
13187
|
-
},
|
|
13188
|
-
"401": {
|
|
13189
|
-
"content": {
|
|
13190
|
-
"application/json": {
|
|
13191
|
-
"schema": {
|
|
13192
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13193
|
-
}
|
|
13194
|
-
}
|
|
13195
|
-
},
|
|
13196
|
-
"description": "The bearer token is missing, invalid, or revoked."
|
|
13197
|
-
},
|
|
13198
|
-
"403": {
|
|
13199
|
-
"content": {
|
|
13200
|
-
"application/json": {
|
|
13201
|
-
"schema": {
|
|
13202
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13203
|
-
}
|
|
13204
|
-
}
|
|
13205
|
-
},
|
|
13206
|
-
"description": "The credential may not perform this action, or the account is blocked."
|
|
13207
|
-
},
|
|
13208
|
-
"422": {
|
|
13209
|
-
"content": {
|
|
13210
|
-
"application/json": {
|
|
13211
|
-
"schema": {
|
|
13212
|
-
"$ref": "#/components/schemas/HTTPValidationError"
|
|
13213
|
-
}
|
|
13214
|
-
}
|
|
13215
|
-
},
|
|
13216
|
-
"description": "Validation Error"
|
|
13217
|
-
}
|
|
13218
|
-
},
|
|
13219
|
-
"security": [
|
|
13220
|
-
{
|
|
13221
|
-
"HTTPBearer": []
|
|
13222
|
-
}
|
|
13223
|
-
],
|
|
13224
|
-
"summary": "List Environments",
|
|
13225
|
-
"tags": [
|
|
13226
|
-
"v1"
|
|
13227
|
-
],
|
|
13228
|
-
"x-ellipsis-sdk-method": "environments.list"
|
|
13229
|
-
},
|
|
13230
|
-
"post": {
|
|
13231
|
-
"description": "Create an environment, managed through the API: no file, live\nimmediately. To define it in a repository instead, commit a\n`kind: environment` YAML under an agents directory.\n\n409 when another live environment already holds the name.",
|
|
13232
|
-
"operationId": "create_environment",
|
|
13233
|
-
"parameters": [
|
|
13234
|
-
{
|
|
13235
|
-
"in": "header",
|
|
13236
|
-
"name": "user-agent",
|
|
13237
|
-
"required": false,
|
|
13238
|
-
"schema": {
|
|
13239
|
-
"anyOf": [
|
|
13240
|
-
{
|
|
13241
|
-
"type": "string"
|
|
13242
|
-
},
|
|
13243
|
-
{
|
|
13244
|
-
"type": "null"
|
|
13245
|
-
}
|
|
13246
|
-
],
|
|
13247
|
-
"title": "User-Agent"
|
|
13248
|
-
}
|
|
13249
|
-
}
|
|
13250
|
-
],
|
|
13251
|
-
"requestBody": {
|
|
13252
|
-
"content": {
|
|
13253
|
-
"application/json": {
|
|
13254
|
-
"schema": {
|
|
13255
|
-
"$ref": "#/components/schemas/CreateEnvironmentRequest"
|
|
13256
|
-
}
|
|
13257
|
-
}
|
|
13258
|
-
},
|
|
13259
|
-
"required": true
|
|
13260
|
-
},
|
|
13261
|
-
"responses": {
|
|
13262
|
-
"201": {
|
|
13263
|
-
"content": {
|
|
13264
|
-
"application/json": {
|
|
13265
|
-
"schema": {
|
|
13266
|
-
"$ref": "#/components/schemas/EnvironmentResponse"
|
|
13267
|
-
}
|
|
13268
|
-
}
|
|
13269
|
-
},
|
|
13270
|
-
"description": "Successful Response"
|
|
13271
|
-
},
|
|
13272
|
-
"400": {
|
|
13273
|
-
"content": {
|
|
13274
|
-
"application/json": {
|
|
13275
|
-
"schema": {
|
|
13276
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13277
|
-
}
|
|
13278
|
-
}
|
|
13279
|
-
},
|
|
13280
|
-
"description": "The environment is invalid."
|
|
13281
|
-
},
|
|
13282
|
-
"401": {
|
|
13283
|
-
"content": {
|
|
13284
|
-
"application/json": {
|
|
13285
|
-
"schema": {
|
|
13286
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13287
|
-
}
|
|
13288
|
-
}
|
|
13289
|
-
},
|
|
13290
|
-
"description": "The bearer token is missing, invalid, or revoked."
|
|
13291
|
-
},
|
|
13292
|
-
"403": {
|
|
13293
|
-
"content": {
|
|
13294
|
-
"application/json": {
|
|
13295
|
-
"schema": {
|
|
13296
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13297
|
-
}
|
|
13298
|
-
}
|
|
13299
|
-
},
|
|
13300
|
-
"description": "The credential may not perform this action, or the account is blocked."
|
|
13301
|
-
},
|
|
13302
|
-
"409": {
|
|
12694
|
+
"401": {
|
|
13303
12695
|
"content": {
|
|
13304
12696
|
"application/json": {
|
|
13305
12697
|
"schema": {
|
|
@@ -13307,9 +12699,9 @@
|
|
|
13307
12699
|
}
|
|
13308
12700
|
}
|
|
13309
12701
|
},
|
|
13310
|
-
"description": "
|
|
12702
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
13311
12703
|
},
|
|
13312
|
-
"
|
|
12704
|
+
"403": {
|
|
13313
12705
|
"content": {
|
|
13314
12706
|
"application/json": {
|
|
13315
12707
|
"schema": {
|
|
@@ -13317,44 +12709,22 @@
|
|
|
13317
12709
|
}
|
|
13318
12710
|
}
|
|
13319
12711
|
},
|
|
13320
|
-
"description": "The
|
|
12712
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
13321
12713
|
}
|
|
13322
12714
|
},
|
|
13323
|
-
"
|
|
13324
|
-
{
|
|
13325
|
-
"HTTPBearer": []
|
|
13326
|
-
}
|
|
13327
|
-
],
|
|
13328
|
-
"summary": "Create Environment",
|
|
12715
|
+
"summary": "Cli Auth Start",
|
|
13329
12716
|
"tags": [
|
|
13330
12717
|
"v1"
|
|
13331
12718
|
],
|
|
13332
|
-
"x-ellipsis-sdk-method": "
|
|
12719
|
+
"x-ellipsis-sdk-method": "auth.cli.start",
|
|
12720
|
+
"x-ellipsis-undocumented": true
|
|
13333
12721
|
}
|
|
13334
12722
|
},
|
|
13335
|
-
"/v1/
|
|
13336
|
-
"
|
|
13337
|
-
"description": "
|
|
13338
|
-
"operationId": "
|
|
12723
|
+
"/v1/budget": {
|
|
12724
|
+
"get": {
|
|
12725
|
+
"description": "Return the caller's current budget summary.",
|
|
12726
|
+
"operationId": "get_budget",
|
|
13339
12727
|
"parameters": [
|
|
13340
|
-
{
|
|
13341
|
-
"description": "Repo rung to clear (\"owner/name\"); omit to clear the account default.",
|
|
13342
|
-
"in": "query",
|
|
13343
|
-
"name": "repository",
|
|
13344
|
-
"required": false,
|
|
13345
|
-
"schema": {
|
|
13346
|
-
"anyOf": [
|
|
13347
|
-
{
|
|
13348
|
-
"type": "string"
|
|
13349
|
-
},
|
|
13350
|
-
{
|
|
13351
|
-
"type": "null"
|
|
13352
|
-
}
|
|
13353
|
-
],
|
|
13354
|
-
"description": "Repo rung to clear (\"owner/name\"); omit to clear the account default.",
|
|
13355
|
-
"title": "Repository"
|
|
13356
|
-
}
|
|
13357
|
-
},
|
|
13358
12728
|
{
|
|
13359
12729
|
"in": "header",
|
|
13360
12730
|
"name": "user-agent",
|
|
@@ -13373,20 +12743,17 @@
|
|
|
13373
12743
|
}
|
|
13374
12744
|
],
|
|
13375
12745
|
"responses": {
|
|
13376
|
-
"
|
|
13377
|
-
"description": "Successful Response"
|
|
13378
|
-
},
|
|
13379
|
-
"401": {
|
|
12746
|
+
"200": {
|
|
13380
12747
|
"content": {
|
|
13381
12748
|
"application/json": {
|
|
13382
12749
|
"schema": {
|
|
13383
|
-
"$ref": "#/components/schemas/
|
|
12750
|
+
"$ref": "#/components/schemas/BudgetSummary"
|
|
13384
12751
|
}
|
|
13385
12752
|
}
|
|
13386
12753
|
},
|
|
13387
|
-
"description": "
|
|
12754
|
+
"description": "Successful Response"
|
|
13388
12755
|
},
|
|
13389
|
-
"
|
|
12756
|
+
"401": {
|
|
13390
12757
|
"content": {
|
|
13391
12758
|
"application/json": {
|
|
13392
12759
|
"schema": {
|
|
@@ -13394,9 +12761,9 @@
|
|
|
13394
12761
|
}
|
|
13395
12762
|
}
|
|
13396
12763
|
},
|
|
13397
|
-
"description": "The
|
|
12764
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
13398
12765
|
},
|
|
13399
|
-
"
|
|
12766
|
+
"403": {
|
|
13400
12767
|
"content": {
|
|
13401
12768
|
"application/json": {
|
|
13402
12769
|
"schema": {
|
|
@@ -13404,7 +12771,7 @@
|
|
|
13404
12771
|
}
|
|
13405
12772
|
}
|
|
13406
12773
|
},
|
|
13407
|
-
"description": "
|
|
12774
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
13408
12775
|
},
|
|
13409
12776
|
"422": {
|
|
13410
12777
|
"content": {
|
|
@@ -13422,15 +12789,17 @@
|
|
|
13422
12789
|
"HTTPBearer": []
|
|
13423
12790
|
}
|
|
13424
12791
|
],
|
|
13425
|
-
"summary": "
|
|
12792
|
+
"summary": "Get Budget",
|
|
13426
12793
|
"tags": [
|
|
13427
12794
|
"v1"
|
|
13428
12795
|
],
|
|
13429
|
-
"x-ellipsis-sdk-method": "
|
|
13430
|
-
}
|
|
12796
|
+
"x-ellipsis-sdk-method": "budget"
|
|
12797
|
+
}
|
|
12798
|
+
},
|
|
12799
|
+
"/v1/environments": {
|
|
13431
12800
|
"get": {
|
|
13432
|
-
"description": "
|
|
13433
|
-
"operationId": "
|
|
12801
|
+
"description": "List saved environments.",
|
|
12802
|
+
"operationId": "list_environments",
|
|
13434
12803
|
"parameters": [
|
|
13435
12804
|
{
|
|
13436
12805
|
"in": "header",
|
|
@@ -13454,7 +12823,7 @@
|
|
|
13454
12823
|
"content": {
|
|
13455
12824
|
"application/json": {
|
|
13456
12825
|
"schema": {
|
|
13457
|
-
"$ref": "#/components/schemas/
|
|
12826
|
+
"$ref": "#/components/schemas/EnvironmentsListResponse"
|
|
13458
12827
|
}
|
|
13459
12828
|
}
|
|
13460
12829
|
},
|
|
@@ -13496,15 +12865,15 @@
|
|
|
13496
12865
|
"HTTPBearer": []
|
|
13497
12866
|
}
|
|
13498
12867
|
],
|
|
13499
|
-
"summary": "List
|
|
12868
|
+
"summary": "List Environments",
|
|
13500
12869
|
"tags": [
|
|
13501
12870
|
"v1"
|
|
13502
12871
|
],
|
|
13503
|
-
"x-ellipsis-sdk-method": "environments.
|
|
12872
|
+
"x-ellipsis-sdk-method": "environments.list"
|
|
13504
12873
|
},
|
|
13505
|
-
"
|
|
13506
|
-
"description": "
|
|
13507
|
-
"operationId": "
|
|
12874
|
+
"post": {
|
|
12875
|
+
"description": "Create an environment, managed through the API: no file, live\nimmediately. To define it in a repository instead, commit a\n`kind: environment` YAML under an agents directory.\n\n409 when another live environment already holds the name.",
|
|
12876
|
+
"operationId": "create_environment",
|
|
13508
12877
|
"parameters": [
|
|
13509
12878
|
{
|
|
13510
12879
|
"in": "header",
|
|
@@ -13527,23 +12896,33 @@
|
|
|
13527
12896
|
"content": {
|
|
13528
12897
|
"application/json": {
|
|
13529
12898
|
"schema": {
|
|
13530
|
-
"$ref": "#/components/schemas/
|
|
12899
|
+
"$ref": "#/components/schemas/CreateEnvironmentRequest"
|
|
13531
12900
|
}
|
|
13532
12901
|
}
|
|
13533
12902
|
},
|
|
13534
12903
|
"required": true
|
|
13535
12904
|
},
|
|
13536
12905
|
"responses": {
|
|
13537
|
-
"
|
|
12906
|
+
"201": {
|
|
13538
12907
|
"content": {
|
|
13539
12908
|
"application/json": {
|
|
13540
12909
|
"schema": {
|
|
13541
|
-
"$ref": "#/components/schemas/
|
|
12910
|
+
"$ref": "#/components/schemas/EnvironmentResponse"
|
|
13542
12911
|
}
|
|
13543
12912
|
}
|
|
13544
12913
|
},
|
|
13545
12914
|
"description": "Successful Response"
|
|
13546
12915
|
},
|
|
12916
|
+
"400": {
|
|
12917
|
+
"content": {
|
|
12918
|
+
"application/json": {
|
|
12919
|
+
"schema": {
|
|
12920
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
12921
|
+
}
|
|
12922
|
+
}
|
|
12923
|
+
},
|
|
12924
|
+
"description": "The environment is invalid."
|
|
12925
|
+
},
|
|
13547
12926
|
"401": {
|
|
13548
12927
|
"content": {
|
|
13549
12928
|
"application/json": {
|
|
@@ -13564,7 +12943,7 @@
|
|
|
13564
12943
|
},
|
|
13565
12944
|
"description": "The credential may not perform this action, or the account is blocked."
|
|
13566
12945
|
},
|
|
13567
|
-
"
|
|
12946
|
+
"409": {
|
|
13568
12947
|
"content": {
|
|
13569
12948
|
"application/json": {
|
|
13570
12949
|
"schema": {
|
|
@@ -13572,17 +12951,17 @@
|
|
|
13572
12951
|
}
|
|
13573
12952
|
}
|
|
13574
12953
|
},
|
|
13575
|
-
"description": "
|
|
12954
|
+
"description": "An environment with that name already exists."
|
|
13576
12955
|
},
|
|
13577
12956
|
"422": {
|
|
13578
12957
|
"content": {
|
|
13579
12958
|
"application/json": {
|
|
13580
12959
|
"schema": {
|
|
13581
|
-
"$ref": "#/components/schemas/
|
|
12960
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
13582
12961
|
}
|
|
13583
12962
|
}
|
|
13584
12963
|
},
|
|
13585
|
-
"description": "
|
|
12964
|
+
"description": "The environment's name is missing or malformed."
|
|
13586
12965
|
}
|
|
13587
12966
|
},
|
|
13588
12967
|
"security": [
|
|
@@ -13590,11 +12969,11 @@
|
|
|
13590
12969
|
"HTTPBearer": []
|
|
13591
12970
|
}
|
|
13592
12971
|
],
|
|
13593
|
-
"summary": "
|
|
12972
|
+
"summary": "Create Environment",
|
|
13594
12973
|
"tags": [
|
|
13595
12974
|
"v1"
|
|
13596
12975
|
],
|
|
13597
|
-
"x-ellipsis-sdk-method": "environments.
|
|
12976
|
+
"x-ellipsis-sdk-method": "environments.create"
|
|
13598
12977
|
}
|
|
13599
12978
|
},
|
|
13600
12979
|
"/v1/environments/{environment_id}": {
|
|
@@ -14385,7 +13764,7 @@
|
|
|
14385
13764
|
"HTTPBearer": []
|
|
14386
13765
|
}
|
|
14387
13766
|
],
|
|
14388
|
-
"summary": "
|
|
13767
|
+
"summary": "List Integrations",
|
|
14389
13768
|
"tags": [
|
|
14390
13769
|
"v1"
|
|
14391
13770
|
],
|
|
@@ -14947,7 +14326,7 @@
|
|
|
14947
14326
|
"HTTPBearer": []
|
|
14948
14327
|
}
|
|
14949
14328
|
],
|
|
14950
|
-
"summary": "
|
|
14329
|
+
"summary": "Current Identity",
|
|
14951
14330
|
"tags": [
|
|
14952
14331
|
"v1"
|
|
14953
14332
|
],
|
|
@@ -16105,7 +15484,7 @@
|
|
|
16105
15484
|
"HTTPBearer": []
|
|
16106
15485
|
}
|
|
16107
15486
|
],
|
|
16108
|
-
"summary": "
|
|
15487
|
+
"summary": "Set Secrets",
|
|
16109
15488
|
"tags": [
|
|
16110
15489
|
"v1"
|
|
16111
15490
|
],
|
|
@@ -16429,7 +15808,7 @@
|
|
|
16429
15808
|
"x-ellipsis-sdk-method": "sessions.list"
|
|
16430
15809
|
},
|
|
16431
15810
|
"post": {
|
|
16432
|
-
"description": "Start a cloud agent session.\n\
|
|
15811
|
+
"description": "Start a cloud agent session.\n\nThe base is `from_config_id` (an id or an agent name) or, omitted,\nthe bare ad-hoc config; every AgentConfig key on the request\ndeep-merges on top, so the body is both the pointer and the\nper-session override. `prompt` is the first message; omit it and\nthe session starts idle, waiting for one. 400 when\nellipsis.interactive=false and there is no prompt or input. 422\nwhen the agent declares an input schema and the request's input\nis absent or invalid.",
|
|
16433
15812
|
"operationId": "start_agent_session",
|
|
16434
15813
|
"parameters": [
|
|
16435
15814
|
{
|
|
@@ -16478,7 +15857,7 @@
|
|
|
16478
15857
|
}
|
|
16479
15858
|
}
|
|
16480
15859
|
},
|
|
16481
|
-
"description": "The request
|
|
15860
|
+
"description": "The request is incompatible with itself (a one-shot run with no prompt or input) or its config keys produce an invalid config."
|
|
16482
15861
|
},
|
|
16483
15862
|
"401": {
|
|
16484
15863
|
"content": {
|
|
@@ -16508,17 +15887,7 @@
|
|
|
16508
15887
|
}
|
|
16509
15888
|
}
|
|
16510
15889
|
},
|
|
16511
|
-
"description": "The named agent does not exist in your account."
|
|
16512
|
-
},
|
|
16513
|
-
"409": {
|
|
16514
|
-
"content": {
|
|
16515
|
-
"application/json": {
|
|
16516
|
-
"schema": {
|
|
16517
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
16518
|
-
}
|
|
16519
|
-
}
|
|
16520
|
-
},
|
|
16521
|
-
"description": "The resolved default config is broken (deleted, disabled, unmerged, or on an inaccessible repository)."
|
|
15890
|
+
"description": "The named agent or environment does not exist in your account."
|
|
16522
15891
|
},
|
|
16523
15892
|
"422": {
|
|
16524
15893
|
"content": {
|
|
@@ -16803,7 +16172,7 @@
|
|
|
16803
16172
|
"HTTPBearer": []
|
|
16804
16173
|
}
|
|
16805
16174
|
],
|
|
16806
|
-
"summary": "Search Sessions",
|
|
16175
|
+
"summary": "Search Agent Sessions",
|
|
16807
16176
|
"tags": [
|
|
16808
16177
|
"v1"
|
|
16809
16178
|
],
|
|
@@ -16907,7 +16276,7 @@
|
|
|
16907
16276
|
},
|
|
16908
16277
|
"/v1/sessions/{session_id}/executions": {
|
|
16909
16278
|
"get": {
|
|
16910
|
-
"description": "Return the session's executions and launch context.\n\nMost notably system_prompt_append, the text Ellipsis appends to\nClaude Code's default system prompt (platform section + response\ninstructions + the config's own instructions).\n\nPer execution because each cold wake persists its own launch\nconfig (a config edit
|
|
16279
|
+
"description": "Return the session's executions and launch context.\n\nMost notably system_prompt_append, the text Ellipsis appends to\nClaude Code's default system prompt (platform section + response\ninstructions + the config's own instructions).\n\nPer execution because each cold wake persists its own launch\nconfig (a config edit between wakes changes it).",
|
|
16911
16280
|
"operationId": "get_agent_session_executions",
|
|
16912
16281
|
"parameters": [
|
|
16913
16282
|
{
|
|
@@ -17444,10 +16813,10 @@
|
|
|
17444
16813
|
"x-ellipsis-sdk-method": "sessions.records"
|
|
17445
16814
|
}
|
|
17446
16815
|
},
|
|
17447
|
-
"/v1/sessions/{session_id}/
|
|
16816
|
+
"/v1/sessions/{session_id}/stop": {
|
|
17448
16817
|
"post": {
|
|
17449
|
-
"description": "
|
|
17450
|
-
"operationId": "
|
|
16818
|
+
"description": "Stop an in-flight session and return it.\n\nstopped_by is recorded only when the caller's credential maps\nto a GitHub account.",
|
|
16819
|
+
"operationId": "stop_agent_session",
|
|
17451
16820
|
"parameters": [
|
|
17452
16821
|
{
|
|
17453
16822
|
"in": "path",
|
|
@@ -17475,18 +16844,8 @@
|
|
|
17475
16844
|
}
|
|
17476
16845
|
}
|
|
17477
16846
|
],
|
|
17478
|
-
"requestBody": {
|
|
17479
|
-
"content": {
|
|
17480
|
-
"application/json": {
|
|
17481
|
-
"schema": {
|
|
17482
|
-
"$ref": "#/components/schemas/ReplayAgentSessionRequest"
|
|
17483
|
-
}
|
|
17484
|
-
}
|
|
17485
|
-
},
|
|
17486
|
-
"required": true
|
|
17487
|
-
},
|
|
17488
16847
|
"responses": {
|
|
17489
|
-
"
|
|
16848
|
+
"200": {
|
|
17490
16849
|
"content": {
|
|
17491
16850
|
"application/json": {
|
|
17492
16851
|
"schema": {
|
|
@@ -17496,7 +16855,7 @@
|
|
|
17496
16855
|
},
|
|
17497
16856
|
"description": "Successful Response"
|
|
17498
16857
|
},
|
|
17499
|
-
"
|
|
16858
|
+
"401": {
|
|
17500
16859
|
"content": {
|
|
17501
16860
|
"application/json": {
|
|
17502
16861
|
"schema": {
|
|
@@ -17504,9 +16863,9 @@
|
|
|
17504
16863
|
}
|
|
17505
16864
|
}
|
|
17506
16865
|
},
|
|
17507
|
-
"description": "The
|
|
16866
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
17508
16867
|
},
|
|
17509
|
-
"
|
|
16868
|
+
"403": {
|
|
17510
16869
|
"content": {
|
|
17511
16870
|
"application/json": {
|
|
17512
16871
|
"schema": {
|
|
@@ -17514,9 +16873,9 @@
|
|
|
17514
16873
|
}
|
|
17515
16874
|
}
|
|
17516
16875
|
},
|
|
17517
|
-
"description": "The
|
|
16876
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
17518
16877
|
},
|
|
17519
|
-
"
|
|
16878
|
+
"404": {
|
|
17520
16879
|
"content": {
|
|
17521
16880
|
"application/json": {
|
|
17522
16881
|
"schema": {
|
|
@@ -17524,9 +16883,9 @@
|
|
|
17524
16883
|
}
|
|
17525
16884
|
}
|
|
17526
16885
|
},
|
|
17527
|
-
"description": "
|
|
16886
|
+
"description": "No such session in your account."
|
|
17528
16887
|
},
|
|
17529
|
-
"
|
|
16888
|
+
"409": {
|
|
17530
16889
|
"content": {
|
|
17531
16890
|
"application/json": {
|
|
17532
16891
|
"schema": {
|
|
@@ -17534,7 +16893,7 @@
|
|
|
17534
16893
|
}
|
|
17535
16894
|
}
|
|
17536
16895
|
},
|
|
17537
|
-
"description": "
|
|
16896
|
+
"description": "The session has already finished."
|
|
17538
16897
|
},
|
|
17539
16898
|
"422": {
|
|
17540
16899
|
"content": {
|
|
@@ -17552,17 +16911,17 @@
|
|
|
17552
16911
|
"HTTPBearer": []
|
|
17553
16912
|
}
|
|
17554
16913
|
],
|
|
17555
|
-
"summary": "
|
|
16914
|
+
"summary": "Stop Agent Session",
|
|
17556
16915
|
"tags": [
|
|
17557
16916
|
"v1"
|
|
17558
16917
|
],
|
|
17559
|
-
"x-ellipsis-sdk-method": "sessions.
|
|
16918
|
+
"x-ellipsis-sdk-method": "sessions.stop"
|
|
17560
16919
|
}
|
|
17561
16920
|
},
|
|
17562
|
-
"/v1/sessions/{session_id}/
|
|
16921
|
+
"/v1/sessions/{session_id}/transcript": {
|
|
17563
16922
|
"post": {
|
|
17564
|
-
"description": "
|
|
17565
|
-
"operationId": "
|
|
16923
|
+
"description": "Append transcript lines to a session's record.\n\nThe in-sandbox tailer for interactive sessions.\n\nA sandbox token may only push its own session's transcript.\nIdempotent by transcript line uuid; tolerant of malformed lines.",
|
|
16924
|
+
"operationId": "ingest_agent_session_transcript",
|
|
17566
16925
|
"parameters": [
|
|
17567
16926
|
{
|
|
17568
16927
|
"in": "path",
|
|
@@ -17590,12 +16949,22 @@
|
|
|
17590
16949
|
}
|
|
17591
16950
|
}
|
|
17592
16951
|
],
|
|
16952
|
+
"requestBody": {
|
|
16953
|
+
"content": {
|
|
16954
|
+
"application/json": {
|
|
16955
|
+
"schema": {
|
|
16956
|
+
"$ref": "#/components/schemas/IngestTranscriptRequest"
|
|
16957
|
+
}
|
|
16958
|
+
}
|
|
16959
|
+
},
|
|
16960
|
+
"required": true
|
|
16961
|
+
},
|
|
17593
16962
|
"responses": {
|
|
17594
16963
|
"200": {
|
|
17595
16964
|
"content": {
|
|
17596
16965
|
"application/json": {
|
|
17597
16966
|
"schema": {
|
|
17598
|
-
"$ref": "#/components/schemas/
|
|
16967
|
+
"$ref": "#/components/schemas/TranscriptIngestResult"
|
|
17599
16968
|
}
|
|
17600
16969
|
}
|
|
17601
16970
|
},
|
|
@@ -17639,7 +17008,7 @@
|
|
|
17639
17008
|
}
|
|
17640
17009
|
}
|
|
17641
17010
|
},
|
|
17642
|
-
"description": "The session has
|
|
17011
|
+
"description": "The session has no execution yet to attach transcript records to."
|
|
17643
17012
|
},
|
|
17644
17013
|
"422": {
|
|
17645
17014
|
"content": {
|
|
@@ -17657,27 +17026,93 @@
|
|
|
17657
17026
|
"HTTPBearer": []
|
|
17658
17027
|
}
|
|
17659
17028
|
],
|
|
17660
|
-
"summary": "
|
|
17029
|
+
"summary": "Ingest Agent Session Transcript",
|
|
17661
17030
|
"tags": [
|
|
17662
17031
|
"v1"
|
|
17663
17032
|
],
|
|
17664
|
-
"x-ellipsis-sdk-method": "sessions.
|
|
17033
|
+
"x-ellipsis-sdk-method": "sessions.ingest_transcript",
|
|
17034
|
+
"x-ellipsis-undocumented": true
|
|
17665
17035
|
}
|
|
17666
17036
|
},
|
|
17667
|
-
"/v1/sessions/
|
|
17668
|
-
"
|
|
17669
|
-
"description": "
|
|
17670
|
-
"operationId": "
|
|
17037
|
+
"/v1/settings/sessions/defaults": {
|
|
17038
|
+
"get": {
|
|
17039
|
+
"description": "Get the account-wide session defaults.\n\nToday one setting: the default model every session falls back to\nwhen neither its request nor its agent config names one.",
|
|
17040
|
+
"operationId": "get_session_defaults",
|
|
17671
17041
|
"parameters": [
|
|
17672
17042
|
{
|
|
17673
|
-
"in": "
|
|
17674
|
-
"name": "
|
|
17675
|
-
"required":
|
|
17043
|
+
"in": "header",
|
|
17044
|
+
"name": "user-agent",
|
|
17045
|
+
"required": false,
|
|
17676
17046
|
"schema": {
|
|
17677
|
-
"
|
|
17678
|
-
|
|
17047
|
+
"anyOf": [
|
|
17048
|
+
{
|
|
17049
|
+
"type": "string"
|
|
17050
|
+
},
|
|
17051
|
+
{
|
|
17052
|
+
"type": "null"
|
|
17053
|
+
}
|
|
17054
|
+
],
|
|
17055
|
+
"title": "User-Agent"
|
|
17679
17056
|
}
|
|
17057
|
+
}
|
|
17058
|
+
],
|
|
17059
|
+
"responses": {
|
|
17060
|
+
"200": {
|
|
17061
|
+
"content": {
|
|
17062
|
+
"application/json": {
|
|
17063
|
+
"schema": {
|
|
17064
|
+
"$ref": "#/components/schemas/SessionDefaults"
|
|
17065
|
+
}
|
|
17066
|
+
}
|
|
17067
|
+
},
|
|
17068
|
+
"description": "Successful Response"
|
|
17069
|
+
},
|
|
17070
|
+
"401": {
|
|
17071
|
+
"content": {
|
|
17072
|
+
"application/json": {
|
|
17073
|
+
"schema": {
|
|
17074
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
17075
|
+
}
|
|
17076
|
+
}
|
|
17077
|
+
},
|
|
17078
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
17079
|
+
},
|
|
17080
|
+
"403": {
|
|
17081
|
+
"content": {
|
|
17082
|
+
"application/json": {
|
|
17083
|
+
"schema": {
|
|
17084
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
17085
|
+
}
|
|
17086
|
+
}
|
|
17087
|
+
},
|
|
17088
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
17680
17089
|
},
|
|
17090
|
+
"422": {
|
|
17091
|
+
"content": {
|
|
17092
|
+
"application/json": {
|
|
17093
|
+
"schema": {
|
|
17094
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
17095
|
+
}
|
|
17096
|
+
}
|
|
17097
|
+
},
|
|
17098
|
+
"description": "Validation Error"
|
|
17099
|
+
}
|
|
17100
|
+
},
|
|
17101
|
+
"security": [
|
|
17102
|
+
{
|
|
17103
|
+
"HTTPBearer": []
|
|
17104
|
+
}
|
|
17105
|
+
],
|
|
17106
|
+
"summary": "Get Session Defaults",
|
|
17107
|
+
"tags": [
|
|
17108
|
+
"v1"
|
|
17109
|
+
],
|
|
17110
|
+
"x-ellipsis-sdk-method": "settings.sessions.get_defaults"
|
|
17111
|
+
},
|
|
17112
|
+
"put": {
|
|
17113
|
+
"description": "Set the account-wide session defaults.\n\n`model` accepts an alias or canonical id and is stored canonical;\nnull clears it (sessions then fall back to the platform default).\nRefused for sandbox tokens (potentially prompt-injected code must\nnot repoint the account's default model).",
|
|
17114
|
+
"operationId": "put_session_defaults",
|
|
17115
|
+
"parameters": [
|
|
17681
17116
|
{
|
|
17682
17117
|
"in": "header",
|
|
17683
17118
|
"name": "user-agent",
|
|
@@ -17699,7 +17134,7 @@
|
|
|
17699
17134
|
"content": {
|
|
17700
17135
|
"application/json": {
|
|
17701
17136
|
"schema": {
|
|
17702
|
-
"$ref": "#/components/schemas/
|
|
17137
|
+
"$ref": "#/components/schemas/SessionDefaults"
|
|
17703
17138
|
}
|
|
17704
17139
|
}
|
|
17705
17140
|
},
|
|
@@ -17710,23 +17145,13 @@
|
|
|
17710
17145
|
"content": {
|
|
17711
17146
|
"application/json": {
|
|
17712
17147
|
"schema": {
|
|
17713
|
-
"$ref": "#/components/schemas/
|
|
17148
|
+
"$ref": "#/components/schemas/SessionDefaults"
|
|
17714
17149
|
}
|
|
17715
17150
|
}
|
|
17716
17151
|
},
|
|
17717
17152
|
"description": "Successful Response"
|
|
17718
17153
|
},
|
|
17719
|
-
"
|
|
17720
|
-
"content": {
|
|
17721
|
-
"application/json": {
|
|
17722
|
-
"schema": {
|
|
17723
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
17724
|
-
}
|
|
17725
|
-
}
|
|
17726
|
-
},
|
|
17727
|
-
"description": "The bearer token is missing, invalid, or revoked."
|
|
17728
|
-
},
|
|
17729
|
-
"403": {
|
|
17154
|
+
"400": {
|
|
17730
17155
|
"content": {
|
|
17731
17156
|
"application/json": {
|
|
17732
17157
|
"schema": {
|
|
@@ -17734,9 +17159,9 @@
|
|
|
17734
17159
|
}
|
|
17735
17160
|
}
|
|
17736
17161
|
},
|
|
17737
|
-
"description": "The
|
|
17162
|
+
"description": "The model id is unknown, internal-only, or not runnable on the Claude Code harness."
|
|
17738
17163
|
},
|
|
17739
|
-
"
|
|
17164
|
+
"401": {
|
|
17740
17165
|
"content": {
|
|
17741
17166
|
"application/json": {
|
|
17742
17167
|
"schema": {
|
|
@@ -17744,9 +17169,9 @@
|
|
|
17744
17169
|
}
|
|
17745
17170
|
}
|
|
17746
17171
|
},
|
|
17747
|
-
"description": "
|
|
17172
|
+
"description": "The bearer token is missing, invalid, or revoked."
|
|
17748
17173
|
},
|
|
17749
|
-
"
|
|
17174
|
+
"403": {
|
|
17750
17175
|
"content": {
|
|
17751
17176
|
"application/json": {
|
|
17752
17177
|
"schema": {
|
|
@@ -17754,7 +17179,7 @@
|
|
|
17754
17179
|
}
|
|
17755
17180
|
}
|
|
17756
17181
|
},
|
|
17757
|
-
"description": "The
|
|
17182
|
+
"description": "The credential may not perform this action, or the account is blocked."
|
|
17758
17183
|
},
|
|
17759
17184
|
"422": {
|
|
17760
17185
|
"content": {
|
|
@@ -17772,12 +17197,11 @@
|
|
|
17772
17197
|
"HTTPBearer": []
|
|
17773
17198
|
}
|
|
17774
17199
|
],
|
|
17775
|
-
"summary": "
|
|
17200
|
+
"summary": "Set Session Defaults",
|
|
17776
17201
|
"tags": [
|
|
17777
17202
|
"v1"
|
|
17778
17203
|
],
|
|
17779
|
-
"x-ellipsis-sdk-method": "sessions.
|
|
17780
|
-
"x-ellipsis-undocumented": true
|
|
17204
|
+
"x-ellipsis-sdk-method": "settings.sessions.set_defaults"
|
|
17781
17205
|
}
|
|
17782
17206
|
},
|
|
17783
17207
|
"/v1/usage": {
|
|
@@ -17849,7 +17273,7 @@
|
|
|
17849
17273
|
"HTTPBearer": []
|
|
17850
17274
|
}
|
|
17851
17275
|
],
|
|
17852
|
-
"summary": "Get Usage
|
|
17276
|
+
"summary": "Get Usage",
|
|
17853
17277
|
"tags": [
|
|
17854
17278
|
"v1"
|
|
17855
17279
|
],
|