-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
1834 lines (1763 loc) · 57.4 KB
/
openapi.yaml
File metadata and controls
1834 lines (1763 loc) · 57.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: "3.0.3"
info:
title: Engram Memory API
description: |
HTTP API for the Engram memory graph system.
Engram stores memories as a four-tier graph:
- **Episodes** (Tier 1): Raw ingested messages and events
- **Entities** (Tier 2): Named entities extracted from episodes
- **Engrams** (Tier 3): Consolidated memories built from episode clusters
- **Schemas** (Tier 4): Cross-cutting pattern templates extracted from L2+ engrams
All `/v1/*` endpoints require Bearer token authentication.
The `/health` endpoint is public.
## Identity Configuration
Set `identity` in `engram.yaml` to enable role-aware memory consolidation.
When configured, the consolidation pipeline labels episode fragments by role
(bot, owner, or third party) so memories are generated with correct attribution.
```yaml
identity:
name: "Bud" # Bot display name; matches episode.author
author_id: "bud" # Matches episode.author_id set by callers
owner_ids: # Optional; enables owner-specific framing
- "thunder"
```
`POST /v1/thoughts` automatically stamps `author`/`author_id` from the
identity config so the bot's internal monologue is correctly attributed.
Env var overrides: `ENGRAM_IDENTITY_NAME`, `ENGRAM_IDENTITY_AUTHOR_ID`.
version: "0.1.0"
license:
name: MIT
servers:
- url: http://localhost:8080
description: Local development
security:
- bearerAuth: []
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: |
API key passed as Bearer token. Only required when `server.api_key` is set
in the server config. If no key is configured, auth is disabled and all
`/v1/*` requests are accepted without a header.
schemas:
Episode:
type: object
properties:
id:
type: string
description: 32-char BLAKE3 hex ID; use any 5+ char prefix to reference
example: "a3f2b9c1d4e7f0a2b5c8d1e4f7a0b3c6"
content:
type: string
token_count:
type: integer
description: Pre-computed token count
source:
type: string
example: "discord"
author:
type: string
author_id:
type: string
channel:
type: string
timestamp_event:
type: string
format: date-time
description: When the event occurred
timestamp_ingested:
type: string
format: date-time
description: When the episode was stored
dialogue_act:
type: string
entropy_score:
type: number
format: double
embedding:
type: array
items:
type: number
format: double
description: Vector embedding (omitted by default)
reply_to:
type: string
description: ID of episode this replies to
authorization_checked:
type: boolean
has_authorization:
type: boolean
created_at:
type: string
format: date-time
Entity:
type: object
properties:
id:
type: string
description: Canonical key — type:name in lowercase (e.g. person:alice)
example: "person:alice"
name:
type: string
example: "Alice"
type:
$ref: "#/components/schemas/EntityType"
salience:
type: number
format: double
embedding:
type: array
items:
type: number
format: double
description: Vector embedding (omitted by default)
aliases:
type: array
items:
type: string
summary:
type: string
description: Pyramid summary (populated when level>0 is requested)
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
Engram:
type: object
properties:
id:
type: string
description: 32-char BLAKE3 hex ID; use any 5+ char prefix to reference
example: "c9d4e8f1a2b3c4d5e6f7a8b9c0d1e2f3"
summary:
type: string
description: Consolidated summary of source episodes
level:
type: integer
description: Compression level applied to summary (0 = stored verbatim)
depth:
type: integer
description: "Hierarchy depth: 0 = L1 (built from episodes), 1 = L2 (from L1s), etc."
topic:
type: string
engram_type:
$ref: "#/components/schemas/EngramType"
activation:
type: number
format: double
description: Current activation level (0.0–1.0)
strength:
type: integer
description: Number of reinforcements
embedding:
type: array
items:
type: number
format: double
description: Vector embedding (omitted by default)
event_time:
type: string
format: date-time
description: MAX(timestamp_event) of source episodes
created_at:
type: string
format: date-time
last_accessed:
type: string
format: date-time
labile_until:
type: string
format: date-time
description: If set, engram is in reconsolidation window until this time
source_ids:
type: array
items:
type: string
description: IDs of source episodes (populated on retrieval)
entity_ids:
type: array
items:
type: string
description: IDs of linked entities (populated on retrieval)
schema_ids:
type: array
items:
type: string
description: IDs of matched schemas (populated on retrieval)
EngramType:
type: string
enum:
- knowledge
- operational
description: |
- `knowledge`: Facts, decisions, preferences — long-lived
- `operational`: Meeting reminders, state syncs, deploys — short-lived
EntityType:
type: string
enum:
- PERSON
- ORG
- GPE
- LOC
- FAC
- PRODUCT
- EVENT
- WORK_OF_ART
- LAW
- LANGUAGE
- NORP
- DATE
- TIME
- MONEY
- PERCENT
- QUANTITY
- CARDINAL
- ORDINAL
- EMAIL
- PET
- TECHNOLOGY
- OTHER
description: OntoNotes-compatible entity type with custom extensions
EngramContextResponse:
type: object
properties:
engram:
$ref: "#/components/schemas/Engram"
source_episodes:
type: array
items:
$ref: "#/components/schemas/Episode"
linked_entities:
type: array
items:
$ref: "#/components/schemas/Entity"
Schema:
type: object
description: |
A cross-cutting pattern template extracted from L2+ engrams.
Not a summary of what happened — a template for what class of event this is,
with generalizations extracted from multiple instances.
properties:
id:
type: string
description: 32-char BLAKE3 hex ID; use any 5+ char prefix to reference
name:
type: string
description: Short human-readable label (e.g. "Memory System Debugging")
content:
type: string
description: |
Full semi-structured prose with PATTERN, GENERALIZATIONS, INSTANCES, etc.
When `?level=N` is requested, replaced by a precomputed N-word summary of
the GENERALIZATIONS section.
is_labile:
type: boolean
description: If true, needs reconsolidation at the next induction run
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
instances:
type: array
items:
$ref: "#/components/schemas/SchemaInstance"
description: Engrams that matched this schema (populated on retrieval)
SchemaInstance:
type: object
description: Records that a specific engram matched a schema, with extracted slot values.
properties:
schema_id:
type: string
engram_id:
type: string
slot_values:
type: object
additionalProperties:
type: string
description: "Extracted slot values keyed by slot name (e.g. {\"trigger\": \"...\", \"fix\": \"...\"})"
is_anomaly:
type: boolean
description: True if the instance deviates from the schema pattern
matched_at:
type: string
format: date-time
SchemaSummaryCard:
type: object
description: Lightweight schema representation returned by POST /v1/schemas/search.
properties:
id:
type: string
name:
type: string
summary:
type: string
description: Precomputed summary at the requested compression level
level:
type: integer
description: Compression level applied (words)
ErrorResponse:
type: object
required:
- error
- code
properties:
error:
type: string
description: Human-readable error message
code:
type: string
description: Machine-readable error code
example: "missing_field"
paths:
/health:
get:
summary: Health check
description: Returns server status. No authentication required.
security: []
operationId: getHealth
tags:
- Health
responses:
"200":
description: Server is healthy
content:
application/json:
schema:
type: object
properties:
status:
type: string
example: "ok"
time:
type: string
format: date-time
/health/detailed:
get:
summary: Detailed health check
description: |
Returns service status, DB aggregate counts, and service capability flags.
No authentication required.
security: []
operationId: getHealthDetailed
tags:
- Health
responses:
"200":
description: Server is healthy with detailed stats
content:
application/json:
schema:
type: object
properties:
status:
type: string
example: "ok"
time:
type: string
format: date-time
db:
type: object
properties:
total_engrams:
type: integer
example: 490
engrams_by_depth:
type: object
description: Engram count keyed by depth level ("0" = L0, "1" = L1, "2" = L2+)
additionalProperties:
type: integer
example: {"0": 12, "1": 210, "2": 268}
engrams_missing_pyramids:
type: integer
description: Engrams with no precomputed pyramid summary at level 4 or above
example: 0
total_episodes:
type: integer
example: 3821
episodes_without_summaries:
type: integer
description: Episodes with no precomputed pyramid summaries at any level
example: 14
total_entities:
type: integer
example: 87
total_schemas:
type: integer
example: 9
services:
type: object
description: Flags indicating which optional capabilities are active
properties:
embedding:
type: boolean
ner:
type: boolean
consolidation:
type: boolean
compression_queue:
type: boolean
schema_induction:
type: boolean
example:
embedding: true
ner: false
consolidation: true
compression_queue: true
schema_induction: true
"500":
$ref: "#/components/responses/InternalError"
/v1/episodes/search:
post:
summary: Search episodes by text or fetch by IDs
description: |
Supports two modes — exactly one of `query` or `ids` must be provided.
**Text search mode** (`query`): Full-text substring search over episode content.
**ID lookup mode** (`ids`): Fetch specific episodes by ID in request order. Supports
the same `level` and `detail` options as text search. Unknown IDs are silently skipped.
Returns `[{id, content}]` by default; add `"detail": "full"` for all fields.
operationId: searchEpisodes
tags:
- Episodes
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: Text substring search over episode content (mutually exclusive with `ids`)
ids:
type: array
items:
type: string
description: Fetch episodes by these IDs in order (mutually exclusive with `query`)
limit:
type: integer
default: 10
description: Maximum results for text search mode (default 10; ignored in ID lookup mode)
detail:
type: string
enum: [full]
description: "Return full fields instead of minimal. Use `\"detail\": \"full\"`."
level:
type: integer
default: 0
minimum: 0
description: |
Apply pyramid compression to the `content` field before returning.
Valid targets: 4, 8, 16, 32, 64 (approx word count). 0 = verbatim (default).
responses:
"200":
description: List of matching episodes
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Episode"
"400":
description: Missing or invalid request body
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"500":
description: Database error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/v1/episodes:
get:
summary: List episodes
description: |
List raw episodes with optional filtering.
**Default response** is minimal: `[{id, content}]`.
Add `?detail=full` for all fields (embeddings are never returned).
All filters compose freely: `?channel=X&unconsolidated=true&before={id}&level=8` is valid.
operationId: listEpisodes
tags:
- Episodes
parameters:
- name: channel
in: query
schema:
type: string
description: Filter by channel value
- name: unconsolidated
in: query
schema:
type: boolean
description: "If true, return only episodes not yet part of any engram"
- name: before
in: query
schema:
type: string
description: |
Cursor-based pagination. Return only episodes older than this episode ID
(full 32-char ID or 5-char prefix). Returns 400 if the ID is not found.
- name: level
in: query
schema:
type: integer
default: 0
minimum: 0
description: |
Apply pyramid compression to the `content` field before returning.
Valid targets: 4, 8, 16, 32, 64 (approx word count).
Episodes with no pre-generated summary at the requested level return raw content.
0 = verbatim (default).
- name: detail
in: query
schema:
type: string
enum: [full]
description: "Return full fields instead of minimal. Use `detail=full`."
- name: limit
in: query
schema:
type: integer
default: 50
description: Maximum results (default 50)
responses:
"200":
description: List of episodes (minimal by default)
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Episode"
"400":
description: Invalid `before` episode ID
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"500":
description: Database error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
post:
summary: Ingest an episode
description: |
Store a raw episode (message, event, observation) in the memory graph.
If `embedding` is not provided and an embed service is configured,
the embedding is computed automatically. Named entities are extracted
in the background if a NER service is configured.
operationId: ingestEpisode
tags:
- Ingest
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- content
- source
properties:
content:
type: string
description: The episode text content
source:
type: string
description: Origin source identifier (e.g. "discord", "calendar")
example: "discord"
author:
type: string
author_id:
type: string
channel:
type: string
timestamp_event:
type: string
format: date-time
description: When the event occurred; defaults to now if omitted
reply_to:
type: string
description: ID of the episode this is a reply to
embedding:
type: array
items:
type: number
format: double
description: Pre-computed embedding; computed automatically if omitted
responses:
"201":
description: Episode stored
content:
application/json:
schema:
type: object
properties:
id:
type: string
description: 32-char BLAKE3 hex ID
"400":
description: Missing required field or malformed JSON
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"500":
description: Database error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/v1/thoughts:
post:
summary: Ingest a thought
description: |
Store a free-form thought or observation. Shorthand for ingesting
an episode with `source: "thought"` — no source or author metadata required.
`author`/`author_id` are automatically stamped from the identity config
(if configured). Named entities are extracted in the background if a NER
service is configured, identical to `POST /v1/episodes`.
operationId: ingestThought
tags:
- Ingest
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- content
properties:
content:
type: string
responses:
"201":
description: Thought stored
content:
application/json:
schema:
type: object
properties:
id:
type: string
"400":
description: Missing content
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"500":
description: Database error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/v1/episodes/count:
get:
summary: Count episodes
description: |
Returns the episode count matching optional filters.
| Request | Returns |
|---------|---------|
| (no params) | Total episode count |
| `?unconsolidated=true` | Global unconsolidated count |
| `?channel=X` | Total for channel |
| `?channel=X&unconsolidated=true` | Unconsolidated count for channel |
operationId: countEpisodes
tags:
- Episodes
parameters:
- name: channel
in: query
schema:
type: string
description: Filter by channel value
- name: unconsolidated
in: query
schema:
type: boolean
description: "If true, count only unconsolidated episodes"
responses:
"200":
description: Episode count
content:
application/json:
schema:
type: object
properties:
count:
type: integer
"500":
description: Database error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/v1/episodes/summaries:
post:
summary: Batch fetch episode pyramid summaries
description: |
Returns pyramid summaries for a set of episode IDs at the requested compression level.
Episodes with no pre-generated summary at the requested level are absent from the result.
Valid levels: 4, 8, 16, 32, 64.
operationId: batchEpisodeSummaries
tags:
- Episodes
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- episode_ids
- level
properties:
episode_ids:
type: array
items:
type: string
description: List of episode IDs (full or 5-char prefix)
level:
type: integer
description: "Compression level: 4, 8, 16, 32, or 64"
example: 8
responses:
"200":
description: Map of episode ID to summary string
content:
application/json:
schema:
type: object
additionalProperties:
type: string
"400":
description: Invalid request body
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"500":
description: Database error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/v1/episodes/{id}/edges:
post:
summary: Add an edge between episodes
description: |
Create a directed structural edge from `{id}` to another episode.
Edge types: `REPLIES_TO`, `FOLLOWS`, `RELATED_TO`. Defaults to `FOLLOWS`.
operationId: addEpisodeEdge
tags:
- Episodes
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Source episode ID (full or 5-char prefix)
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- to_id
properties:
to_id:
type: string
description: Target episode ID
edge_type:
type: string
description: "Edge type. Default: FOLLOWS"
example: "REPLIES_TO"
confidence:
type: number
format: double
description: "Edge confidence (0.0–1.0). Default: 1.0"
responses:
"201":
description: Edge created
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
example: true
"400":
description: Missing to_id or invalid request
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"500":
description: Database error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/v1/consolidate:
post:
summary: Trigger consolidation
description: |
Run the consolidation pipeline: clusters recent episodes by semantic
similarity, generates summaries, and promotes them to engrams.
Returns 503 if no consolidation service is configured.
operationId: consolidate
tags:
- Consolidation
responses:
"200":
description: Consolidation complete
content:
application/json:
schema:
type: object
properties:
engrams_created:
type: integer
duration_ms:
type: integer
format: int64
"500":
description: Consolidation error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"503":
description: Consolidation not configured
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/v1/engrams/search:
post:
summary: Search engrams by semantic query or fetch by IDs
description: |
Supports two modes — exactly one of `query` or `ids` must be provided.
**Text search mode** (`query`): Semantic search via spreading activation. Retrieval uses
three concurrent seed triggers: semantic KNN, lexical BM25, and entity regex matching.
When a NER service is configured, entities extracted from the query string also seed
the activation graph (fourth trigger). Returns results ranked by activation.
**ID lookup mode** (`ids`): Fetch specific engrams by ID in request order. Supports the
same `level` and `detail` options as text search. Unknown IDs are silently skipped.
**Default response** is minimal: `[{id, summary}]`.
Add `"detail": "full"` for all fields. Both modes populate `schema_ids` on results.
operationId: searchEngrams
tags:
- Engrams
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: Natural language search query (mutually exclusive with `ids`)
ids:
type: array
items:
type: string
description: Fetch engrams by these IDs in order (mutually exclusive with `query`)
limit:
type: integer
default: 10
description: Maximum results for text search mode (default 10; ignored in ID lookup mode)
detail:
type: string
enum: [full]
description: "Return full fields instead of minimal. Use `\"detail\": \"full\"`."
level:
type: integer
default: 0
minimum: 0
description: "Summary compression level: 0 = verbatim (default); N = approx N-word summary"
responses:
"200":
description: Ranked list of matching engrams (minimal by default)
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Engram"
"400":
description: Missing or invalid request body
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"500":
description: Database error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/v1/engrams:
get:
summary: List engrams
description: |
List consolidated memory engrams.
**Default response** is minimal: `[{id, summary}]`.
Add `?detail=full` for all fields (embeddings are never returned).
operationId: listEngrams
tags:
- Engrams
parameters:
- name: detail
in: query
schema:
type: string
enum: [full]
description: "Return full fields instead of minimal. Use `detail=full`."
- name: level
in: query
schema:
type: integer
default: 0
minimum: 0
description: "Summary compression level for all returned engrams: 0 = verbatim (default); N = approx N-word summary"
- name: threshold
in: query
schema:
type: number
format: double
description: Filter by minimum activation level
responses:
"200":
description: List of engrams (minimal by default)
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Engram"
"500":
description: Database error
content: