Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.moorcheh.ai/llms.txt

Use this file to discover all available pages before exploring further.

SDK

resp = client.upload([
    {"id": "item-1", "vector": [...]},  # 1024 floats
])
print(resp["total"])

HTTP client

resp = client.upload_vectors({
    "vectors": [
        {"item_id": "item-1", "vector": [...]},
    ],
})

Quota errors

When the store is full, the server returns 409. With the SDK or MoorchehEdgeApiClient, catch MoorchehEdgeApiError:
except MoorchehEdgeApiError as exc:
    if exc.is_item_limit_exceeded:
        print(exc.body)
See API: Upload.