@ellipsis-dev/sdk 0.20.0 → 0.22.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.
@@ -3656,16 +3656,6 @@
3656
3656
  "title": "ErrorResponse",
3657
3657
  "type": "object"
3658
3658
  },
3659
- "ExecutionStatus": {
3660
- "description": "Per-execution status ladder (was AgentProcessStatus). Distinct from the\nsession's durable `session_state` and from `agent_sessions.status`, which\nremains the atomic claim/dispatch guard.",
3661
- "enum": [
3662
- "running",
3663
- "failed",
3664
- "done"
3665
- ],
3666
- "title": "ExecutionStatus",
3667
- "type": "string"
3668
- },
3669
3659
  "File": {
3670
3660
  "description": "A file's metadata \u2014 the file itself is fetched via a separate\ndownload URL.",
3671
3661
  "properties": {
@@ -6255,132 +6245,6 @@
6255
6245
  "title": "RecentPullRequest",
6256
6246
  "type": "object"
6257
6247
  },
6258
- "RecordHit": {
6259
- "description": "One session-log record matching a search query, denormalized with just\nenough session context to render a result row and deep-link to the\nsession.",
6260
- "properties": {
6261
- "attribution_id": {
6262
- "anyOf": [
6263
- {
6264
- "type": "string"
6265
- },
6266
- {
6267
- "type": "null"
6268
- }
6269
- ],
6270
- "description": "The actor the session is attributed to; the key into the response's attributed_users map for github_user attributions.",
6271
- "title": "Attribution Id"
6272
- },
6273
- "attribution_type": {
6274
- "anyOf": [
6275
- {
6276
- "$ref": "#/components/schemas/AttributionType"
6277
- },
6278
- {
6279
- "type": "null"
6280
- }
6281
- ],
6282
- "description": "What kind of actor the session is attributed to. Only github_user attributions appear in the response's attributed_users map."
6283
- },
6284
- "config_id": {
6285
- "anyOf": [
6286
- {
6287
- "type": "string"
6288
- },
6289
- {
6290
- "type": "null"
6291
- }
6292
- ],
6293
- "description": "The agent config the session ran from, when it ran from a stored config.",
6294
- "title": "Config Id"
6295
- },
6296
- "created_at": {
6297
- "description": "When the record was written.",
6298
- "format": "date-time",
6299
- "title": "Created At",
6300
- "type": "string"
6301
- },
6302
- "execution_id": {
6303
- "anyOf": [
6304
- {
6305
- "type": "string"
6306
- },
6307
- {
6308
- "type": "null"
6309
- }
6310
- ],
6311
- "description": "The session execution that produced the record, or null for session-scoped lifecycle records.",
6312
- "title": "Execution Id"
6313
- },
6314
- "git": {
6315
- "anyOf": [
6316
- {
6317
- "$ref": "#/components/schemas/SessionGit"
6318
- },
6319
- {
6320
- "type": "null"
6321
- }
6322
- ],
6323
- "description": "What the session did to git, per repository, so a result row can show what it shipped without fetching the session."
6324
- },
6325
- "id": {
6326
- "description": "The matching record's unique identifier.",
6327
- "title": "Id",
6328
- "type": "string"
6329
- },
6330
- "record_type": {
6331
- "description": "The record's event type.",
6332
- "title": "Record Type",
6333
- "type": "string"
6334
- },
6335
- "session_id": {
6336
- "description": "The session the record belongs to.",
6337
- "title": "Session Id",
6338
- "type": "string"
6339
- },
6340
- "session_source": {
6341
- "anyOf": [
6342
- {
6343
- "$ref": "#/components/schemas/SessionSource"
6344
- },
6345
- {
6346
- "type": "null"
6347
- }
6348
- ],
6349
- "description": "Where the matching session came from."
6350
- },
6351
- "session_status": {
6352
- "anyOf": [
6353
- {
6354
- "$ref": "#/components/schemas/SessionStatus"
6355
- },
6356
- {
6357
- "type": "null"
6358
- }
6359
- ],
6360
- "description": "The matching session's status."
6361
- },
6362
- "snippet": {
6363
- "description": "A short window of the indexed text around the first match.",
6364
- "title": "Snippet",
6365
- "type": "string"
6366
- },
6367
- "stream_seq": {
6368
- "description": "The record's position within its execution's stream.",
6369
- "title": "Stream Seq",
6370
- "type": "integer"
6371
- }
6372
- },
6373
- "required": [
6374
- "id",
6375
- "session_id",
6376
- "stream_seq",
6377
- "record_type",
6378
- "created_at",
6379
- "snippet"
6380
- ],
6381
- "title": "RecordHit",
6382
- "type": "object"
6383
- },
6384
6248
  "RecordSource": {
6385
6249
  "description": "`session_records.source` \u2014 the client render switch. `lifecycle` rows are\ncontroller-emitted platform notifications; a harness value means a native\ntranscript record from that harness.",
6386
6250
  "enum": [
@@ -8850,15 +8714,8 @@
8850
8714
  "description": "The latest live summary of the session's progress while it runs, and when it was generated."
8851
8715
  },
8852
8716
  "surface": {
8853
- "anyOf": [
8854
- {
8855
- "$ref": "#/components/schemas/SessionSurface"
8856
- },
8857
- {
8858
- "type": "null"
8859
- }
8860
- ],
8861
- "description": "The public status projection; null on list/search responses, which do not derive it."
8717
+ "$ref": "#/components/schemas/SessionSurface",
8718
+ "description": "The public status projection: the durable conversation (`session`), the current execution (`run`), and the one derived `status` word."
8862
8719
  },
8863
8720
  "tokens": {
8864
8721
  "$ref": "#/components/schemas/SessionTokens",
@@ -8878,6 +8735,7 @@
8878
8735
  "harness",
8879
8736
  "source",
8880
8737
  "status",
8738
+ "surface",
8881
8739
  "prompting",
8882
8740
  "agent"
8883
8741
  ],
@@ -9054,129 +8912,6 @@
9054
8912
  "title": "SessionEnvironment",
9055
8913
  "type": "object"
9056
8914
  },
9057
- "SessionExecution": {
9058
- "description": "One runtime attempt of a session \u2014 the initial start, a cold wake of a\ndurable conversation, or an infrastructure retry \u2014 including the launch\ncontext the model was actually given.",
9059
- "properties": {
9060
- "attempt_index": {
9061
- "description": "Infrastructure-retry counter within one wake.",
9062
- "title": "Attempt Index",
9063
- "type": "integer"
9064
- },
9065
- "created_at": {
9066
- "description": "When the execution was created.",
9067
- "format": "date-time",
9068
- "title": "Created At",
9069
- "type": "string"
9070
- },
9071
- "execution_index": {
9072
- "description": "Monotonic position of this execution within the session, across all starts, wakes, and retries.",
9073
- "title": "Execution Index",
9074
- "type": "integer"
9075
- },
9076
- "exit_status": {
9077
- "anyOf": [
9078
- {
9079
- "type": "string"
9080
- },
9081
- {
9082
- "type": "null"
9083
- }
9084
- ],
9085
- "description": "Finer terminal reason, mirroring the session's exit_status vocabulary; null until the execution is terminal.",
9086
- "title": "Exit Status"
9087
- },
9088
- "id": {
9089
- "description": "Unique identifier of the execution.",
9090
- "title": "Id",
9091
- "type": "string"
9092
- },
9093
- "model": {
9094
- "anyOf": [
9095
- {
9096
- "type": "string"
9097
- },
9098
- {
9099
- "type": "null"
9100
- }
9101
- ],
9102
- "description": "The model the harness was launched with, when a launch config exists.",
9103
- "title": "Model"
9104
- },
9105
- "query": {
9106
- "anyOf": [
9107
- {
9108
- "type": "string"
9109
- },
9110
- {
9111
- "type": "null"
9112
- }
9113
- ],
9114
- "description": "The initial query delivered to the harness, when the trigger carried one.",
9115
- "title": "Query"
9116
- },
9117
- "resumed": {
9118
- "description": "Whether this execution resumed a prior conversation (a cold wake with the previous state restored).",
9119
- "title": "Resumed",
9120
- "type": "boolean"
9121
- },
9122
- "session_id": {
9123
- "description": "Identifier of the session this execution belongs to.",
9124
- "title": "Session Id",
9125
- "type": "string"
9126
- },
9127
- "status": {
9128
- "$ref": "#/components/schemas/ExecutionStatus",
9129
- "description": "Execution status."
9130
- },
9131
- "system_prompt_append": {
9132
- "anyOf": [
9133
- {
9134
- "type": "string"
9135
- },
9136
- {
9137
- "type": "null"
9138
- }
9139
- ],
9140
- "description": "The system-prompt text Ellipsis appends to the harness's default system prompt (the platform section, run-type instructions, and the config's own instructions) \u2014 the platform-added portion, not the complete prompt the model saw. Null when no launch config was persisted (the execution failed before provisioning finished).",
9141
- "title": "System Prompt Append"
9142
- },
9143
- "wake_index": {
9144
- "description": "0 on the session's fresh start; increments once per cold wake of a durable conversation.",
9145
- "title": "Wake Index",
9146
- "type": "integer"
9147
- }
9148
- },
9149
- "required": [
9150
- "id",
9151
- "session_id",
9152
- "created_at",
9153
- "execution_index",
9154
- "wake_index",
9155
- "attempt_index",
9156
- "resumed",
9157
- "status"
9158
- ],
9159
- "title": "SessionExecution",
9160
- "type": "object"
9161
- },
9162
- "SessionExecutionsListResponse": {
9163
- "description": "A session's executions with the launch context each was given.",
9164
- "properties": {
9165
- "executions": {
9166
- "description": "The session's executions (initial start, cold wakes, infra retries), ordered by execution_index. Each carries the launch context the harness was given: system_prompt_append (the text appended to Claude Code's default system prompt), the initial query, and the model.",
9167
- "items": {
9168
- "$ref": "#/components/schemas/SessionExecution"
9169
- },
9170
- "title": "Executions",
9171
- "type": "array"
9172
- }
9173
- },
9174
- "required": [
9175
- "executions"
9176
- ],
9177
- "title": "SessionExecutionsListResponse",
9178
- "type": "object"
9179
- },
9180
8915
  "SessionExitStatus": {
9181
8916
  "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.",
9182
8917
  "enum": [
@@ -9393,7 +9128,7 @@
9393
9128
  "description": "The durable conversation axis (backs the surfaced `session` field).",
9394
9129
  "enum": [
9395
9130
  "alive",
9396
- "sleeping",
9131
+ "idle",
9397
9132
  "closed"
9398
9133
  ],
9399
9134
  "title": "SessionLiveness",
@@ -9755,93 +9490,6 @@
9755
9490
  "title": "SessionResponse",
9756
9491
  "type": "object"
9757
9492
  },
9758
- "SessionSearchResponse": {
9759
- "description": "A page of session search results.",
9760
- "properties": {
9761
- "attributed_users": {
9762
- "additionalProperties": {
9763
- "$ref": "#/components/schemas/GithubAccountSnippet"
9764
- },
9765
- "description": "GitHub account snippets for the user attributions among the results, keyed by attribution_id, so callers can render author logins and avatars.",
9766
- "title": "Attributed Users",
9767
- "type": "object"
9768
- },
9769
- "results": {
9770
- "description": "The matching sessions, newest first.",
9771
- "items": {
9772
- "$ref": "#/components/schemas/SessionSearchResult"
9773
- },
9774
- "title": "Results",
9775
- "type": "array"
9776
- }
9777
- },
9778
- "required": [
9779
- "results",
9780
- "attributed_users"
9781
- ],
9782
- "title": "SessionSearchResponse",
9783
- "type": "object"
9784
- },
9785
- "SessionSearchResult": {
9786
- "description": "One search hit: a session plus how and where the query matched it.",
9787
- "properties": {
9788
- "matched": {
9789
- "description": "Which search arms matched this session: \"records\", \"recap\", \"pr\", and/or \"similar\".",
9790
- "items": {
9791
- "type": "string"
9792
- },
9793
- "title": "Matched",
9794
- "type": "array"
9795
- },
9796
- "recap_snippet": {
9797
- "anyOf": [
9798
- {
9799
- "type": "string"
9800
- },
9801
- {
9802
- "type": "null"
9803
- }
9804
- ],
9805
- "description": "A short window of the session's recap text around the first term match; null unless the recap arm matched.",
9806
- "title": "Recap Snippet"
9807
- },
9808
- "record_hit_count": {
9809
- "default": 0,
9810
- "description": "Total record hits found for this session within the search window; may exceed the number of record_hits returned.",
9811
- "title": "Record Hit Count",
9812
- "type": "integer"
9813
- },
9814
- "record_hits": {
9815
- "default": [],
9816
- "description": "Matching session-log entries, capped per session.",
9817
- "items": {
9818
- "$ref": "#/components/schemas/RecordHit"
9819
- },
9820
- "title": "Record Hits",
9821
- "type": "array"
9822
- },
9823
- "session": {
9824
- "$ref": "#/components/schemas/Session",
9825
- "description": "The matching session."
9826
- }
9827
- },
9828
- "required": [
9829
- "session",
9830
- "matched"
9831
- ],
9832
- "title": "SessionSearchResult",
9833
- "type": "object"
9834
- },
9835
- "SessionSearchScope": {
9836
- "description": "What text a search query is matched against: the session log's record\ntext, the session recaps (summaries), or both.",
9837
- "enum": [
9838
- "records",
9839
- "recaps",
9840
- "both"
9841
- ],
9842
- "title": "SessionSearchScope",
9843
- "type": "string"
9844
- },
9845
9493
  "SessionSource": {
9846
9494
  "enum": [
9847
9495
  "react",
@@ -13796,7 +13444,7 @@
13796
13444
  },
13797
13445
  "/v1/integrations/github/members": {
13798
13446
  "get": {
13799
- "description": "List the GitHub organization roster.\n\n(Or the account itself for a personal workspace) \u2014 the universe of author_id values for\n/sessions and /sessions/search.\n\nMembers carry their linked Slack identity when a Slack-GitHub\nlink exists, and /slack/members carries the reverse link.",
13447
+ "description": "List the GitHub organization roster.\n\n(Or the account itself for a personal workspace) \u2014 the universe of author_id values for\n/sessions.\n\nMembers carry their linked Slack identity when a Slack-GitHub\nlink exists, and /slack/members carries the reverse link.",
13800
13448
  "operationId": "list_github_members",
13801
13449
  "parameters": [
13802
13450
  {
@@ -15731,7 +15379,7 @@
15731
15379
  }
15732
15380
  },
15733
15381
  {
15734
- "description": "\"owner/name\" (exact) or a bare repo name, matched the same way as on GET /v1/sessions/search. Sessions whose repository is named only inside their agent config \u2014 dashboard starts, cron \u2014 do not match.",
15382
+ "description": "\"owner/name\" (exact) or a bare repo name. Sessions whose repository is named only inside their agent config \u2014 dashboard starts, cron \u2014 do not match.",
15735
15383
  "in": "query",
15736
15384
  "name": "repo",
15737
15385
  "required": false,
@@ -15744,18 +15392,18 @@
15744
15392
  "type": "null"
15745
15393
  }
15746
15394
  ],
15747
- "description": "\"owner/name\" (exact) or a bare repo name, matched the same way as on GET /v1/sessions/search. Sessions whose repository is named only inside their agent config \u2014 dashboard starts, cron \u2014 do not match.",
15395
+ "description": "\"owner/name\" (exact) or a bare repo name. Sessions whose repository is named only inside their agent config \u2014 dashboard starts, cron \u2014 do not match.",
15748
15396
  "title": "Repo"
15749
15397
  }
15750
15398
  },
15751
15399
  {
15752
- "description": "Keep only sessions whose conversation is still going \u2014 live or sleeping \u2014 dropping the ones that completed, errored, or were stopped or cancelled. A session parked between turns counts as unfinished.",
15400
+ "description": "Keep only sessions whose conversation is still going \u2014 live or idle \u2014 dropping the ones that completed, errored, or were stopped or cancelled. A session parked between turns counts as unfinished.",
15753
15401
  "in": "query",
15754
15402
  "name": "unfinished",
15755
15403
  "required": false,
15756
15404
  "schema": {
15757
15405
  "default": false,
15758
- "description": "Keep only sessions whose conversation is still going \u2014 live or sleeping \u2014 dropping the ones that completed, errored, or were stopped or cancelled. A session parked between turns counts as unfinished.",
15406
+ "description": "Keep only sessions whose conversation is still going \u2014 live or idle \u2014 dropping the ones that completed, errored, or were stopped or cancelled. A session parked between turns counts as unfinished.",
15759
15407
  "title": "Unfinished",
15760
15408
  "type": "boolean"
15761
15409
  }
@@ -15935,284 +15583,17 @@
15935
15583
  "x-ellipsis-sdk-method": "sessions.start"
15936
15584
  }
15937
15585
  },
15938
- "/v1/sessions/search": {
15586
+ "/v1/sessions/{session_id}": {
15939
15587
  "get": {
15940
- "description": "Search sessions over steps, recaps, and pull requests.\n\nGrouped by session, over everything a session left behind: step text, recap text, created\nPRs, and recap-embedding similarity.\n\nThis is how an agent answers \"did Tony look into X?\": resolve\nthe author via /github/members, search, then read the winning\nsession via /sessions/{id} (recap) and /sessions/{id}/records\n(transcript).",
15941
- "operationId": "search_sessions",
15588
+ "description": "Return one session.\n\nThe public wire shape \u2014 the same shape the stream's session\nframes carry, with attributed_user and stopped_by_user resolved\nat read time.\n\nThe heavy near-static blobs (config snapshot, input/output)\nlive on the detail endpoints, not here.",
15589
+ "operationId": "get_agent_session",
15942
15590
  "parameters": [
15943
15591
  {
15944
- "in": "query",
15945
- "name": "q",
15592
+ "in": "path",
15593
+ "name": "session_id",
15946
15594
  "required": true,
15947
15595
  "schema": {
15948
- "title": "Q",
15949
- "type": "string"
15950
- }
15951
- },
15952
- {
15953
- "in": "query",
15954
- "name": "scope",
15955
- "required": false,
15956
- "schema": {
15957
- "$ref": "#/components/schemas/SessionSearchScope",
15958
- "default": "both"
15959
- }
15960
- },
15961
- {
15962
- "in": "query",
15963
- "name": "source",
15964
- "required": false,
15965
- "schema": {
15966
- "anyOf": [
15967
- {
15968
- "items": {
15969
- "$ref": "#/components/schemas/SessionSource"
15970
- },
15971
- "type": "array"
15972
- },
15973
- {
15974
- "type": "null"
15975
- }
15976
- ],
15977
- "title": "Source"
15978
- }
15979
- },
15980
- {
15981
- "description": "Attributed GitHub user account ids.",
15982
- "in": "query",
15983
- "name": "author_id",
15984
- "required": false,
15985
- "schema": {
15986
- "anyOf": [
15987
- {
15988
- "items": {
15989
- "type": "integer"
15990
- },
15991
- "type": "array"
15992
- },
15993
- {
15994
- "type": "null"
15995
- }
15996
- ],
15997
- "description": "Attributed GitHub user account ids.",
15998
- "title": "Author Id"
15999
- }
16000
- },
16001
- {
16002
- "description": "Saved agent config ids (ORed with author_id).",
16003
- "in": "query",
16004
- "name": "config_id",
16005
- "required": false,
16006
- "schema": {
16007
- "anyOf": [
16008
- {
16009
- "items": {
16010
- "type": "string"
16011
- },
16012
- "type": "array"
16013
- },
16014
- {
16015
- "type": "null"
16016
- }
16017
- ],
16018
- "description": "Saved agent config ids (ORed with author_id).",
16019
- "title": "Config Id"
16020
- }
16021
- },
16022
- {
16023
- "in": "query",
16024
- "name": "session_ids",
16025
- "required": false,
16026
- "schema": {
16027
- "anyOf": [
16028
- {
16029
- "items": {
16030
- "type": "string"
16031
- },
16032
- "type": "array"
16033
- },
16034
- {
16035
- "type": "null"
16036
- }
16037
- ],
16038
- "title": "Session Ids"
16039
- }
16040
- },
16041
- {
16042
- "description": "\"owner/name\" (exact) or a bare repo name.",
16043
- "in": "query",
16044
- "name": "repo",
16045
- "required": false,
16046
- "schema": {
16047
- "anyOf": [
16048
- {
16049
- "type": "string"
16050
- },
16051
- {
16052
- "type": "null"
16053
- }
16054
- ],
16055
- "description": "\"owner/name\" (exact) or a bare repo name.",
16056
- "title": "Repo"
16057
- }
16058
- },
16059
- {
16060
- "in": "query",
16061
- "name": "status",
16062
- "required": false,
16063
- "schema": {
16064
- "anyOf": [
16065
- {
16066
- "items": {
16067
- "$ref": "#/components/schemas/SessionStatus"
16068
- },
16069
- "type": "array"
16070
- },
16071
- {
16072
- "type": "null"
16073
- }
16074
- ],
16075
- "title": "Status"
16076
- }
16077
- },
16078
- {
16079
- "in": "query",
16080
- "name": "start",
16081
- "required": false,
16082
- "schema": {
16083
- "anyOf": [
16084
- {
16085
- "format": "date-time",
16086
- "type": "string"
16087
- },
16088
- {
16089
- "type": "null"
16090
- }
16091
- ],
16092
- "title": "Start"
16093
- }
16094
- },
16095
- {
16096
- "in": "query",
16097
- "name": "end",
16098
- "required": false,
16099
- "schema": {
16100
- "anyOf": [
16101
- {
16102
- "format": "date-time",
16103
- "type": "string"
16104
- },
16105
- {
16106
- "type": "null"
16107
- }
16108
- ],
16109
- "title": "End"
16110
- }
16111
- },
16112
- {
16113
- "in": "query",
16114
- "name": "limit",
16115
- "required": false,
16116
- "schema": {
16117
- "default": 20,
16118
- "maximum": 100,
16119
- "minimum": 1,
16120
- "title": "Limit",
16121
- "type": "integer"
16122
- }
16123
- },
16124
- {
16125
- "in": "header",
16126
- "name": "user-agent",
16127
- "required": false,
16128
- "schema": {
16129
- "anyOf": [
16130
- {
16131
- "type": "string"
16132
- },
16133
- {
16134
- "type": "null"
16135
- }
16136
- ],
16137
- "title": "User-Agent"
16138
- }
16139
- }
16140
- ],
16141
- "responses": {
16142
- "200": {
16143
- "content": {
16144
- "application/json": {
16145
- "schema": {
16146
- "$ref": "#/components/schemas/SessionSearchResponse"
16147
- }
16148
- }
16149
- },
16150
- "description": "Successful Response"
16151
- },
16152
- "400": {
16153
- "content": {
16154
- "application/json": {
16155
- "schema": {
16156
- "$ref": "#/components/schemas/ErrorResponse"
16157
- }
16158
- }
16159
- },
16160
- "description": "The search query is too short."
16161
- },
16162
- "401": {
16163
- "content": {
16164
- "application/json": {
16165
- "schema": {
16166
- "$ref": "#/components/schemas/ErrorResponse"
16167
- }
16168
- }
16169
- },
16170
- "description": "The bearer token is missing, invalid, or revoked."
16171
- },
16172
- "403": {
16173
- "content": {
16174
- "application/json": {
16175
- "schema": {
16176
- "$ref": "#/components/schemas/ErrorResponse"
16177
- }
16178
- }
16179
- },
16180
- "description": "The credential may not perform this action, or the account is blocked."
16181
- },
16182
- "422": {
16183
- "content": {
16184
- "application/json": {
16185
- "schema": {
16186
- "$ref": "#/components/schemas/HTTPValidationError"
16187
- }
16188
- }
16189
- },
16190
- "description": "Validation Error"
16191
- }
16192
- },
16193
- "security": [
16194
- {
16195
- "HTTPBearer": []
16196
- }
16197
- ],
16198
- "summary": "Search Agent Sessions",
16199
- "tags": [
16200
- "v1"
16201
- ],
16202
- "x-ellipsis-sdk-method": "sessions.search"
16203
- }
16204
- },
16205
- "/v1/sessions/{session_id}": {
16206
- "get": {
16207
- "description": "Return one session.\n\nThe public wire shape \u2014 the same shape the stream's session\nframes carry, with attributed_user and stopped_by_user resolved\nat read time.\n\nThe heavy near-static blobs (config snapshot, input/output)\nlive on the detail endpoints, not here.",
16208
- "operationId": "get_agent_session",
16209
- "parameters": [
16210
- {
16211
- "in": "path",
16212
- "name": "session_id",
16213
- "required": true,
16214
- "schema": {
16215
- "title": "Session Id",
15596
+ "title": "Session Id",
16216
15597
  "type": "string"
16217
15598
  }
16218
15599
  },
@@ -16297,101 +15678,6 @@
16297
15678
  "x-ellipsis-sdk-method": "sessions.get"
16298
15679
  }
16299
15680
  },
16300
- "/v1/sessions/{session_id}/executions": {
16301
- "get": {
16302
- "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).",
16303
- "operationId": "get_agent_session_executions",
16304
- "parameters": [
16305
- {
16306
- "in": "path",
16307
- "name": "session_id",
16308
- "required": true,
16309
- "schema": {
16310
- "title": "Session Id",
16311
- "type": "string"
16312
- }
16313
- },
16314
- {
16315
- "in": "header",
16316
- "name": "user-agent",
16317
- "required": false,
16318
- "schema": {
16319
- "anyOf": [
16320
- {
16321
- "type": "string"
16322
- },
16323
- {
16324
- "type": "null"
16325
- }
16326
- ],
16327
- "title": "User-Agent"
16328
- }
16329
- }
16330
- ],
16331
- "responses": {
16332
- "200": {
16333
- "content": {
16334
- "application/json": {
16335
- "schema": {
16336
- "$ref": "#/components/schemas/SessionExecutionsListResponse"
16337
- }
16338
- }
16339
- },
16340
- "description": "Successful Response"
16341
- },
16342
- "401": {
16343
- "content": {
16344
- "application/json": {
16345
- "schema": {
16346
- "$ref": "#/components/schemas/ErrorResponse"
16347
- }
16348
- }
16349
- },
16350
- "description": "The bearer token is missing, invalid, or revoked."
16351
- },
16352
- "403": {
16353
- "content": {
16354
- "application/json": {
16355
- "schema": {
16356
- "$ref": "#/components/schemas/ErrorResponse"
16357
- }
16358
- }
16359
- },
16360
- "description": "The credential may not perform this action, or the account is blocked."
16361
- },
16362
- "404": {
16363
- "content": {
16364
- "application/json": {
16365
- "schema": {
16366
- "$ref": "#/components/schemas/ErrorResponse"
16367
- }
16368
- }
16369
- },
16370
- "description": "No such session in your account."
16371
- },
16372
- "422": {
16373
- "content": {
16374
- "application/json": {
16375
- "schema": {
16376
- "$ref": "#/components/schemas/HTTPValidationError"
16377
- }
16378
- }
16379
- },
16380
- "description": "Validation Error"
16381
- }
16382
- },
16383
- "security": [
16384
- {
16385
- "HTTPBearer": []
16386
- }
16387
- ],
16388
- "summary": "Get Agent Session Executions",
16389
- "tags": [
16390
- "v1"
16391
- ],
16392
- "x-ellipsis-sdk-method": "sessions.executions"
16393
- }
16394
- },
16395
15681
  "/v1/sessions/{session_id}/export": {
16396
15682
  "get": {
16397
15683
  "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.",
@@ -16709,7 +15995,7 @@
16709
15995
  },
16710
15996
  "/v1/sessions/{session_id}/records": {
16711
15997
  "get": {
16712
- "description": "Return the session's stored transcript records, oldest first.\n\nPagination is opt-in (cursor/limit); a bare call returns the\nfull retained transcript. Available to sandbox tokens too: an\nagent answering \"did X look into Y?\" needs to read the session\nit found via /sessions/search, and any org member sees the same\ntranscript in the dashboard.",
15998
+ "description": "Return the session's stored transcript records, oldest first.\n\nPagination is opt-in (cursor/limit); a bare call returns the\nfull retained transcript. Available to sandbox tokens too: an\nagent answering \"did X look into Y?\" needs to read the sessions\nit finds, and any org member sees the same transcript in the\ndashboard.",
16713
15999
  "operationId": "get_agent_session_records",
16714
16000
  "parameters": [
16715
16001
  {