curl -X GET "http://localhost:8080/export"
{
"status": "ok",
"dimension": null,
"store_mode": null,
"embedding_model": null,
"item_count": 0,
"items": []
}
{
"status": "ok",
"dimension": 384,
"store_mode": "text",
"embedding_model": "BAAI/bge-small-en-v1.5",
"item_count": 1,
"items": [
{
"text": "[meta]\ndoc_id: coffee-menu\ncategory: menu\ntitle: Coffee menu\ntags: coffee,prices\nchunk: 0\n[/meta]\n\nHot latte $4.50."
}
]
}
Data Operations
Export store
Export all catalog chunk text from the store (no vectors).
GET
/
export
curl -X GET "http://localhost:8080/export"
{
"status": "ok",
"dimension": null,
"store_mode": null,
"embedding_model": null,
"item_count": 0,
"items": []
}
{
"status": "ok",
"dimension": 384,
"store_mode": "text",
"embedding_model": "BAAI/bge-small-en-v1.5",
"item_count": 1,
"items": [
{
"text": "[meta]\ndoc_id: coffee-menu\ncategory: menu\ntitle: Coffee menu\ntags: coffee,prices\nchunk: 0\n[/meta]\n\nHot latte $4.50."
}
]
}
Overview
Returns every stored item as chunk text only. Use this to mirror the edge catalog on another machine (for example the retail kiosk Admin Sync from UNO Q flow).- No request body or query parameters.
- No item ids or vectors in the response — only
items[].text. - Each
textvalue includes the kiosk[meta]header (doc_id,category,title,tags,chunk) plus the chunk body.
Requires a Moorcheh Edge build that includes
GET /export (v0.2.1+). Rebuild or pull the latest Docker image after upgrading.curl -X GET "http://localhost:8080/export"
{
"status": "ok",
"dimension": null,
"store_mode": null,
"embedding_model": null,
"item_count": 0,
"items": []
}
{
"status": "ok",
"dimension": 384,
"store_mode": "text",
"embedding_model": "BAAI/bge-small-en-v1.5",
"item_count": 1,
"items": [
{
"text": "[meta]\ndoc_id: coffee-menu\ncategory: menu\ntitle: Coffee menu\ntags: coffee,prices\nchunk: 0\n[/meta]\n\nHot latte $4.50."
}
]
}
Response fields
| Field | Type | Description |
|---|---|---|
status | string | "ok" when the server is up |
dimension | number | null | Locked vector length after first upload |
store_mode | string | null | "text" or "vector" after first upload |
embedding_model | string | null | Set for text stores (e.g. BGE model id) |
item_count | number | Number of exported chunks (items.length) |
items | array | Chunk list; each element has text only |
items[].text | string | Full stored chunk (meta header + body) |
Related
- Upload - add or update chunks (with vectors)
- Health - item count and store metadata
- Retail Kiosk -
POST /admin/sync-from-edgeon the PC API consumes this export
Was this page helpful?