@ellipsis-dev/sdk 0.7.0 → 0.8.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.
@@ -2583,6 +2583,33 @@
2583
2583
  "title": "CreateFileResponse",
2584
2584
  "type": "object"
2585
2585
  },
2586
+ "CreateMemoryRequest": {
2587
+ "description": "Create a memory at a path that does not exist yet.",
2588
+ "properties": {
2589
+ "content": {
2590
+ "description": "The memory's markdown content, at most 100 KB of UTF-8.",
2591
+ "title": "Content",
2592
+ "type": "string"
2593
+ },
2594
+ "description": {
2595
+ "description": "A one-line summary, at most 200 characters and no newlines. This is the only thing a reader sees in the index, so make it say what the memory is for.",
2596
+ "title": "Description",
2597
+ "type": "string"
2598
+ },
2599
+ "path": {
2600
+ "description": "Where to store the memory. A memory path is slash-separated segments of [a-z0-9._-], with no leading or trailing slash, no empty segments, no '.' or '..' segments, at most 512 characters, ending in '.md'.",
2601
+ "title": "Path",
2602
+ "type": "string"
2603
+ }
2604
+ },
2605
+ "required": [
2606
+ "path",
2607
+ "description",
2608
+ "content"
2609
+ ],
2610
+ "title": "CreateMemoryRequest",
2611
+ "type": "object"
2612
+ },
2586
2613
  "CreateReviewRequest": {
2587
2614
  "description": "Request an explicit review of one existing pull request.\n\nWhich review pipeline runs is not a parameter: it is resolved from the\nrepository's committed code-review configuration, the same way an\nautomatic review resolves it. To change what runs, commit a\n`.ellipsis/code_review.yaml`.",
2588
2615
  "properties": {
@@ -2694,6 +2721,49 @@
2694
2721
  "title": "DurationPercentiles",
2695
2722
  "type": "object"
2696
2723
  },
2724
+ "EditMemoryRequest": {
2725
+ "description": "Update an existing memory. At least one of description or content is\nrequired; this never creates a memory, and never moves it.",
2726
+ "properties": {
2727
+ "content": {
2728
+ "anyOf": [
2729
+ {
2730
+ "type": "string"
2731
+ },
2732
+ {
2733
+ "type": "null"
2734
+ }
2735
+ ],
2736
+ "description": "Replacement markdown content. Omit to keep it.",
2737
+ "title": "Content"
2738
+ },
2739
+ "description": {
2740
+ "anyOf": [
2741
+ {
2742
+ "type": "string"
2743
+ },
2744
+ {
2745
+ "type": "null"
2746
+ }
2747
+ ],
2748
+ "description": "Replacement one-line summary. Omit to keep it.",
2749
+ "title": "Description"
2750
+ },
2751
+ "if_sha256": {
2752
+ "anyOf": [
2753
+ {
2754
+ "type": "string"
2755
+ },
2756
+ {
2757
+ "type": "null"
2758
+ }
2759
+ ],
2760
+ "description": "Only apply the edit if the memory's current content_sha256 matches. Returns 409 if it doesn't, so a concurrent write is a visible conflict rather than a silent overwrite.",
2761
+ "title": "If Sha256"
2762
+ }
2763
+ },
2764
+ "title": "EditMemoryRequest",
2765
+ "type": "object"
2766
+ },
2697
2767
  "EffortLevel": {
2698
2768
  "enum": [
2699
2769
  "low",
@@ -4272,6 +4342,30 @@
4272
4342
  "title": "ListLinearTeamsResponse",
4273
4343
  "type": "object"
4274
4344
  },
4345
+ "ListMemoriesWireResponse": {
4346
+ "description": "The organization's memories: the rendered index a reader scans, plus the\nsame entries structured. Content is fetched per memory.",
4347
+ "properties": {
4348
+ "index": {
4349
+ "description": "The memories rendered as a markdown index \u2014 one line per memory carrying its id, path, and description, grouped by top-level prefix. Read this, then fetch the ids that matter.",
4350
+ "title": "Index",
4351
+ "type": "string"
4352
+ },
4353
+ "memories": {
4354
+ "description": "The same memories as structured entries, ordered by path.",
4355
+ "items": {
4356
+ "$ref": "#/components/schemas/MemoryStubWire"
4357
+ },
4358
+ "title": "Memories",
4359
+ "type": "array"
4360
+ }
4361
+ },
4362
+ "required": [
4363
+ "index",
4364
+ "memories"
4365
+ ],
4366
+ "title": "ListMemoriesWireResponse",
4367
+ "type": "object"
4368
+ },
4275
4369
  "ListReviewsResponse": {
4276
4370
  "description": "Reviews matching the query, newest first. `findings` are omitted\n(counters only); automatically-triggered reviews are included, so this\nanswers \"show me every review on this pull request\".",
4277
4371
  "properties": {
@@ -4576,8 +4670,157 @@
4576
4670
  "title": "LogSearchHit",
4577
4671
  "type": "object"
4578
4672
  },
4673
+ "MemoryActorType": {
4674
+ "enum": [
4675
+ "agent_session",
4676
+ "api_key",
4677
+ "user"
4678
+ ],
4679
+ "title": "MemoryActorType",
4680
+ "type": "string"
4681
+ },
4682
+ "MemoryActorWire": {
4683
+ "description": "Who wrote a memory, derived from their credential.",
4684
+ "properties": {
4685
+ "id": {
4686
+ "description": "The writer's identifier: the agent session id, the API key id, or the GitHub account id, matching `type`.",
4687
+ "title": "Id",
4688
+ "type": "string"
4689
+ },
4690
+ "type": {
4691
+ "$ref": "#/components/schemas/MemoryActorType",
4692
+ "description": "The kind of credential that wrote the memory: agent_session (an agent writing from inside its sandbox), api_key, or user."
4693
+ }
4694
+ },
4695
+ "required": [
4696
+ "type",
4697
+ "id"
4698
+ ],
4699
+ "title": "MemoryActorWire",
4700
+ "type": "object"
4701
+ },
4702
+ "MemoryStubWire": {
4703
+ "description": "One entry in the index: a memory with every field except `content`.\n\nContent is the only omission, and it's the whole reason this shape exists \u2014\nan account can hold 2,000 memories of 100 KB each, so a listing that carried\ncontent would be a 200 MB response.",
4704
+ "properties": {
4705
+ "content_sha256": {
4706
+ "description": "Hex SHA-256 of the content, usable as an `if_sha256` precondition.",
4707
+ "title": "Content Sha256",
4708
+ "type": "string"
4709
+ },
4710
+ "created_at": {
4711
+ "description": "When the memory was created.",
4712
+ "format": "date-time",
4713
+ "title": "Created At",
4714
+ "type": "string"
4715
+ },
4716
+ "created_by": {
4717
+ "$ref": "#/components/schemas/MemoryActorWire",
4718
+ "description": "The credential that created the memory."
4719
+ },
4720
+ "description": {
4721
+ "description": "The one-line summary of the memory.",
4722
+ "title": "Description",
4723
+ "type": "string"
4724
+ },
4725
+ "id": {
4726
+ "description": "The memory's unique identifier.",
4727
+ "title": "Id",
4728
+ "type": "string"
4729
+ },
4730
+ "path": {
4731
+ "description": "The memory's address within the organization.",
4732
+ "title": "Path",
4733
+ "type": "string"
4734
+ },
4735
+ "updated_at": {
4736
+ "description": "When the memory was last written.",
4737
+ "format": "date-time",
4738
+ "title": "Updated At",
4739
+ "type": "string"
4740
+ },
4741
+ "updated_by": {
4742
+ "$ref": "#/components/schemas/MemoryActorWire",
4743
+ "description": "The credential that last wrote the memory."
4744
+ }
4745
+ },
4746
+ "required": [
4747
+ "id",
4748
+ "path",
4749
+ "description",
4750
+ "content_sha256",
4751
+ "created_by",
4752
+ "updated_by",
4753
+ "created_at",
4754
+ "updated_at"
4755
+ ],
4756
+ "title": "MemoryStubWire",
4757
+ "type": "object"
4758
+ },
4759
+ "MemoryWire": {
4760
+ "description": "One memory, including its full markdown content.",
4761
+ "properties": {
4762
+ "content": {
4763
+ "description": "The memory's markdown content.",
4764
+ "title": "Content",
4765
+ "type": "string"
4766
+ },
4767
+ "content_sha256": {
4768
+ "description": "Hex SHA-256 of the content, computed server-side. Pass it back as `if_sha256` on an edit or delete to fail instead of overwriting a change someone else made in the meantime.",
4769
+ "title": "Content Sha256",
4770
+ "type": "string"
4771
+ },
4772
+ "created_at": {
4773
+ "description": "When the memory was created.",
4774
+ "format": "date-time",
4775
+ "title": "Created At",
4776
+ "type": "string"
4777
+ },
4778
+ "created_by": {
4779
+ "$ref": "#/components/schemas/MemoryActorWire",
4780
+ "description": "The credential that created the memory."
4781
+ },
4782
+ "description": {
4783
+ "description": "The one-line summary shown in the index. This is what a reader sees before deciding to open the memory.",
4784
+ "title": "Description",
4785
+ "type": "string"
4786
+ },
4787
+ "id": {
4788
+ "description": "The memory's unique identifier.",
4789
+ "title": "Id",
4790
+ "type": "string"
4791
+ },
4792
+ "path": {
4793
+ "description": "The memory's address, unique within the organization, e.g. repos/acme/deploys.md.",
4794
+ "title": "Path",
4795
+ "type": "string"
4796
+ },
4797
+ "updated_at": {
4798
+ "description": "When the memory was last written.",
4799
+ "format": "date-time",
4800
+ "title": "Updated At",
4801
+ "type": "string"
4802
+ },
4803
+ "updated_by": {
4804
+ "$ref": "#/components/schemas/MemoryActorWire",
4805
+ "description": "The credential that last wrote the memory."
4806
+ }
4807
+ },
4808
+ "required": [
4809
+ "id",
4810
+ "path",
4811
+ "description",
4812
+ "content",
4813
+ "content_sha256",
4814
+ "created_by",
4815
+ "updated_by",
4816
+ "created_at",
4817
+ "updated_at"
4818
+ ],
4819
+ "title": "MemoryWire",
4820
+ "type": "object"
4821
+ },
4579
4822
  "ModelManufacturer": {
4580
- "description": "Who BUILT a model. Never who serves it.\n\nServing path is irrelevant here. Anthropic built every Claude model, so all of\nthem are ANTHROPIC whether we reach them through the first-party Anthropic API\nor through Bedrock -- a choice made per request by the llm_providers chain, so\nit is not even a fixed property of the model. Likewise the `bedrock-gpt-5.6-*`\nrows are OPENAI (OpenAI's models, served by AWS), and GLM is ZAI (Z.ai's model,\nserved by Wafer or Concentrate over an OpenAI-compatible API).\n\nSo this is deliberately NOT derived from `EgressRoute.provider`: routing is an\ninfrastructure fact that changes when we move a model between providers, while\nthe manufacturer is a property of the model itself and never changes.\n\nThe frontend renders a vendor logo per model, which is why it needs the maker.\nKeying that UI off the egress provider would put an AWS logo on a GPT model and\nan OpenAI logo on GLM.",
4823
+ "description": "Who BUILT a model. Never who serves it.\n\nServing path is irrelevant here. Anthropic built every Claude model, so all of\nthem are ANTHROPIC whether we reach them through the first-party Anthropic API\nor through Bedrock -- a choice made per request by the llm_providers chain, so\nit is not even a fixed property of the model. Likewise the `bedrock-gpt-5.6-*`\nrows are OPENAI (OpenAI's models, served by AWS), and GLM is ZAI (Z.ai's model,\nserved by Concentrate).\n\nSo this is deliberately NOT derived from `EgressRoute.provider`: routing is an\ninfrastructure fact that changes when we move a model between providers, while\nthe manufacturer is a property of the model itself and never changes.\n\nThe frontend renders a vendor logo per model, which is why it needs the maker.\nKeying that UI off the egress provider would put an AWS logo on a GPT model and\nan OpenAI logo on GLM.",
4581
4824
  "enum": [
4582
4825
  "anthropic",
4583
4826
  "openai",
@@ -11957,6 +12200,511 @@
11957
12200
  ]
11958
12201
  }
11959
12202
  },
12203
+ "/memories": {
12204
+ "get": {
12205
+ "description": "List the organization's memories as a readable index.\n\nReturns the memories rendered as a markdown index (one line per\nmemory, carrying its id, path, and description) plus the same\nentries structured, each with every field except `content`. Read\nthe index, then fetch the ids whose content you want.",
12206
+ "operationId": "list_memories",
12207
+ "parameters": [
12208
+ {
12209
+ "description": "Limit to memories under this path prefix, matched on whole segments \u2014 repos/acme matches repos/acme/x.md but not repos/acme2/x.md.",
12210
+ "in": "query",
12211
+ "name": "prefix",
12212
+ "required": false,
12213
+ "schema": {
12214
+ "anyOf": [
12215
+ {
12216
+ "type": "string"
12217
+ },
12218
+ {
12219
+ "type": "null"
12220
+ }
12221
+ ],
12222
+ "description": "Limit to memories under this path prefix, matched on whole segments \u2014 repos/acme matches repos/acme/x.md but not repos/acme2/x.md.",
12223
+ "title": "Prefix"
12224
+ }
12225
+ },
12226
+ {
12227
+ "in": "header",
12228
+ "name": "user-agent",
12229
+ "required": false,
12230
+ "schema": {
12231
+ "anyOf": [
12232
+ {
12233
+ "type": "string"
12234
+ },
12235
+ {
12236
+ "type": "null"
12237
+ }
12238
+ ],
12239
+ "title": "User-Agent"
12240
+ }
12241
+ }
12242
+ ],
12243
+ "responses": {
12244
+ "200": {
12245
+ "content": {
12246
+ "application/json": {
12247
+ "schema": {
12248
+ "$ref": "#/components/schemas/ListMemoriesWireResponse"
12249
+ }
12250
+ }
12251
+ },
12252
+ "description": "Successful Response"
12253
+ },
12254
+ "401": {
12255
+ "content": {
12256
+ "application/json": {
12257
+ "schema": {
12258
+ "$ref": "#/components/schemas/ErrorResponse"
12259
+ }
12260
+ }
12261
+ },
12262
+ "description": "The bearer token is missing, invalid, or revoked."
12263
+ },
12264
+ "403": {
12265
+ "content": {
12266
+ "application/json": {
12267
+ "schema": {
12268
+ "$ref": "#/components/schemas/ErrorResponse"
12269
+ }
12270
+ }
12271
+ },
12272
+ "description": "The credential may not perform this action, or the account is blocked."
12273
+ },
12274
+ "422": {
12275
+ "content": {
12276
+ "application/json": {
12277
+ "schema": {
12278
+ "$ref": "#/components/schemas/HTTPValidationError"
12279
+ }
12280
+ }
12281
+ },
12282
+ "description": "Validation Error"
12283
+ }
12284
+ },
12285
+ "security": [
12286
+ {
12287
+ "HTTPBearer": []
12288
+ }
12289
+ ],
12290
+ "summary": "List Memories",
12291
+ "tags": [
12292
+ "v1"
12293
+ ]
12294
+ },
12295
+ "post": {
12296
+ "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.",
12297
+ "operationId": "create_memory",
12298
+ "parameters": [
12299
+ {
12300
+ "in": "header",
12301
+ "name": "user-agent",
12302
+ "required": false,
12303
+ "schema": {
12304
+ "anyOf": [
12305
+ {
12306
+ "type": "string"
12307
+ },
12308
+ {
12309
+ "type": "null"
12310
+ }
12311
+ ],
12312
+ "title": "User-Agent"
12313
+ }
12314
+ }
12315
+ ],
12316
+ "requestBody": {
12317
+ "content": {
12318
+ "application/json": {
12319
+ "schema": {
12320
+ "$ref": "#/components/schemas/CreateMemoryRequest"
12321
+ }
12322
+ }
12323
+ },
12324
+ "required": true
12325
+ },
12326
+ "responses": {
12327
+ "201": {
12328
+ "content": {
12329
+ "application/json": {
12330
+ "schema": {
12331
+ "$ref": "#/components/schemas/MemoryWire"
12332
+ }
12333
+ }
12334
+ },
12335
+ "description": "Successful Response"
12336
+ },
12337
+ "401": {
12338
+ "content": {
12339
+ "application/json": {
12340
+ "schema": {
12341
+ "$ref": "#/components/schemas/ErrorResponse"
12342
+ }
12343
+ }
12344
+ },
12345
+ "description": "The bearer token is missing, invalid, or revoked."
12346
+ },
12347
+ "403": {
12348
+ "content": {
12349
+ "application/json": {
12350
+ "schema": {
12351
+ "$ref": "#/components/schemas/ErrorResponse"
12352
+ }
12353
+ }
12354
+ },
12355
+ "description": "The credential may not perform this action, or the account is blocked."
12356
+ },
12357
+ "409": {
12358
+ "content": {
12359
+ "application/json": {
12360
+ "schema": {
12361
+ "$ref": "#/components/schemas/ErrorResponse"
12362
+ }
12363
+ }
12364
+ },
12365
+ "description": "A memory already exists at that path."
12366
+ },
12367
+ "422": {
12368
+ "content": {
12369
+ "application/json": {
12370
+ "schema": {
12371
+ "$ref": "#/components/schemas/ErrorResponse"
12372
+ }
12373
+ }
12374
+ },
12375
+ "description": "The path violates the path grammar, the description or content exceeds its limit, or the organization is at the memory cap."
12376
+ }
12377
+ },
12378
+ "security": [
12379
+ {
12380
+ "HTTPBearer": []
12381
+ }
12382
+ ],
12383
+ "summary": "Create Memory",
12384
+ "tags": [
12385
+ "v1"
12386
+ ]
12387
+ }
12388
+ },
12389
+ "/memories/{memory_id}": {
12390
+ "delete": {
12391
+ "description": "Delete a memory that is no longer true.\n\nAvailable to every credential type, agents included \u2014 a wrong\nmemory is worse than a missing one. The deleted content is kept in\nthe memory's history for forensics, not for an undo API.",
12392
+ "operationId": "delete_memory",
12393
+ "parameters": [
12394
+ {
12395
+ "in": "path",
12396
+ "name": "memory_id",
12397
+ "required": true,
12398
+ "schema": {
12399
+ "title": "Memory Id",
12400
+ "type": "string"
12401
+ }
12402
+ },
12403
+ {
12404
+ "description": "Only delete if the memory's current content_sha256 matches.",
12405
+ "in": "query",
12406
+ "name": "if_sha256",
12407
+ "required": false,
12408
+ "schema": {
12409
+ "anyOf": [
12410
+ {
12411
+ "type": "string"
12412
+ },
12413
+ {
12414
+ "type": "null"
12415
+ }
12416
+ ],
12417
+ "description": "Only delete if the memory's current content_sha256 matches.",
12418
+ "title": "If Sha256"
12419
+ }
12420
+ },
12421
+ {
12422
+ "in": "header",
12423
+ "name": "user-agent",
12424
+ "required": false,
12425
+ "schema": {
12426
+ "anyOf": [
12427
+ {
12428
+ "type": "string"
12429
+ },
12430
+ {
12431
+ "type": "null"
12432
+ }
12433
+ ],
12434
+ "title": "User-Agent"
12435
+ }
12436
+ }
12437
+ ],
12438
+ "responses": {
12439
+ "204": {
12440
+ "description": "Successful Response"
12441
+ },
12442
+ "401": {
12443
+ "content": {
12444
+ "application/json": {
12445
+ "schema": {
12446
+ "$ref": "#/components/schemas/ErrorResponse"
12447
+ }
12448
+ }
12449
+ },
12450
+ "description": "The bearer token is missing, invalid, or revoked."
12451
+ },
12452
+ "403": {
12453
+ "content": {
12454
+ "application/json": {
12455
+ "schema": {
12456
+ "$ref": "#/components/schemas/ErrorResponse"
12457
+ }
12458
+ }
12459
+ },
12460
+ "description": "The credential may not perform this action, or the account is blocked."
12461
+ },
12462
+ "404": {
12463
+ "content": {
12464
+ "application/json": {
12465
+ "schema": {
12466
+ "$ref": "#/components/schemas/ErrorResponse"
12467
+ }
12468
+ }
12469
+ },
12470
+ "description": "No such memory in your account."
12471
+ },
12472
+ "409": {
12473
+ "content": {
12474
+ "application/json": {
12475
+ "schema": {
12476
+ "$ref": "#/components/schemas/ErrorResponse"
12477
+ }
12478
+ }
12479
+ },
12480
+ "description": "if_sha256 does not match the memory's current content."
12481
+ },
12482
+ "422": {
12483
+ "content": {
12484
+ "application/json": {
12485
+ "schema": {
12486
+ "$ref": "#/components/schemas/HTTPValidationError"
12487
+ }
12488
+ }
12489
+ },
12490
+ "description": "Validation Error"
12491
+ }
12492
+ },
12493
+ "security": [
12494
+ {
12495
+ "HTTPBearer": []
12496
+ }
12497
+ ],
12498
+ "summary": "Delete Memory",
12499
+ "tags": [
12500
+ "v1"
12501
+ ]
12502
+ },
12503
+ "get": {
12504
+ "description": "Read one memory's full content.\n\nThe id comes from the index returned by listing memories.",
12505
+ "operationId": "get_memory",
12506
+ "parameters": [
12507
+ {
12508
+ "in": "path",
12509
+ "name": "memory_id",
12510
+ "required": true,
12511
+ "schema": {
12512
+ "title": "Memory Id",
12513
+ "type": "string"
12514
+ }
12515
+ },
12516
+ {
12517
+ "in": "header",
12518
+ "name": "user-agent",
12519
+ "required": false,
12520
+ "schema": {
12521
+ "anyOf": [
12522
+ {
12523
+ "type": "string"
12524
+ },
12525
+ {
12526
+ "type": "null"
12527
+ }
12528
+ ],
12529
+ "title": "User-Agent"
12530
+ }
12531
+ }
12532
+ ],
12533
+ "responses": {
12534
+ "200": {
12535
+ "content": {
12536
+ "application/json": {
12537
+ "schema": {
12538
+ "$ref": "#/components/schemas/MemoryWire"
12539
+ }
12540
+ }
12541
+ },
12542
+ "description": "Successful Response"
12543
+ },
12544
+ "401": {
12545
+ "content": {
12546
+ "application/json": {
12547
+ "schema": {
12548
+ "$ref": "#/components/schemas/ErrorResponse"
12549
+ }
12550
+ }
12551
+ },
12552
+ "description": "The bearer token is missing, invalid, or revoked."
12553
+ },
12554
+ "403": {
12555
+ "content": {
12556
+ "application/json": {
12557
+ "schema": {
12558
+ "$ref": "#/components/schemas/ErrorResponse"
12559
+ }
12560
+ }
12561
+ },
12562
+ "description": "The credential may not perform this action, or the account is blocked."
12563
+ },
12564
+ "404": {
12565
+ "content": {
12566
+ "application/json": {
12567
+ "schema": {
12568
+ "$ref": "#/components/schemas/ErrorResponse"
12569
+ }
12570
+ }
12571
+ },
12572
+ "description": "No such memory in your account."
12573
+ },
12574
+ "422": {
12575
+ "content": {
12576
+ "application/json": {
12577
+ "schema": {
12578
+ "$ref": "#/components/schemas/HTTPValidationError"
12579
+ }
12580
+ }
12581
+ },
12582
+ "description": "Validation Error"
12583
+ }
12584
+ },
12585
+ "security": [
12586
+ {
12587
+ "HTTPBearer": []
12588
+ }
12589
+ ],
12590
+ "summary": "Get Memory",
12591
+ "tags": [
12592
+ "v1"
12593
+ ]
12594
+ },
12595
+ "put": {
12596
+ "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.",
12597
+ "operationId": "edit_memory",
12598
+ "parameters": [
12599
+ {
12600
+ "in": "path",
12601
+ "name": "memory_id",
12602
+ "required": true,
12603
+ "schema": {
12604
+ "title": "Memory Id",
12605
+ "type": "string"
12606
+ }
12607
+ },
12608
+ {
12609
+ "in": "header",
12610
+ "name": "user-agent",
12611
+ "required": false,
12612
+ "schema": {
12613
+ "anyOf": [
12614
+ {
12615
+ "type": "string"
12616
+ },
12617
+ {
12618
+ "type": "null"
12619
+ }
12620
+ ],
12621
+ "title": "User-Agent"
12622
+ }
12623
+ }
12624
+ ],
12625
+ "requestBody": {
12626
+ "content": {
12627
+ "application/json": {
12628
+ "schema": {
12629
+ "$ref": "#/components/schemas/EditMemoryRequest"
12630
+ }
12631
+ }
12632
+ },
12633
+ "required": true
12634
+ },
12635
+ "responses": {
12636
+ "200": {
12637
+ "content": {
12638
+ "application/json": {
12639
+ "schema": {
12640
+ "$ref": "#/components/schemas/MemoryWire"
12641
+ }
12642
+ }
12643
+ },
12644
+ "description": "Successful Response"
12645
+ },
12646
+ "401": {
12647
+ "content": {
12648
+ "application/json": {
12649
+ "schema": {
12650
+ "$ref": "#/components/schemas/ErrorResponse"
12651
+ }
12652
+ }
12653
+ },
12654
+ "description": "The bearer token is missing, invalid, or revoked."
12655
+ },
12656
+ "403": {
12657
+ "content": {
12658
+ "application/json": {
12659
+ "schema": {
12660
+ "$ref": "#/components/schemas/ErrorResponse"
12661
+ }
12662
+ }
12663
+ },
12664
+ "description": "The credential may not perform this action, or the account is blocked."
12665
+ },
12666
+ "404": {
12667
+ "content": {
12668
+ "application/json": {
12669
+ "schema": {
12670
+ "$ref": "#/components/schemas/ErrorResponse"
12671
+ }
12672
+ }
12673
+ },
12674
+ "description": "No such memory in your account."
12675
+ },
12676
+ "409": {
12677
+ "content": {
12678
+ "application/json": {
12679
+ "schema": {
12680
+ "$ref": "#/components/schemas/ErrorResponse"
12681
+ }
12682
+ }
12683
+ },
12684
+ "description": "if_sha256 does not match the memory's current content."
12685
+ },
12686
+ "422": {
12687
+ "content": {
12688
+ "application/json": {
12689
+ "schema": {
12690
+ "$ref": "#/components/schemas/ErrorResponse"
12691
+ }
12692
+ }
12693
+ },
12694
+ "description": "Neither description nor content was provided, or one of them exceeds its limit."
12695
+ }
12696
+ },
12697
+ "security": [
12698
+ {
12699
+ "HTTPBearer": []
12700
+ }
12701
+ ],
12702
+ "summary": "Edit Memory",
12703
+ "tags": [
12704
+ "v1"
12705
+ ]
12706
+ }
12707
+ },
11960
12708
  "/models": {
11961
12709
  "get": {
11962
12710
  "description": "List selectable agent models.\n\nMost expensive first, with the platform default flagged.\n\nReads the same registry as the dashboard's rate table, so a\nclient's model picker can never drift from what's offered.\nBehind auth but not account-scoped \u2014 the selectable set is\nglobal.",