Object Store

Get a document from the Object Store

Retrieves a single document by namespace and key. Returns the stored JSON payload together with namespace, key, createdAt, and updatedAt.

get/api/object-store/:namespace/:key

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/object-store/:namespace/:key
  • Auth: none declared

Path parameters

namespacestring required
Example:znp_projects

Logical namespace (lowercase letter start, underscores allowed, 1–64 chars).

keystring required
Example:a1b2c3d4

Unique document key within the namespace (1–256 non-whitespace chars).

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Response

Document found

namespacestring
keystring
payloadobject
_revstring

Current PouchDB document revision for CAS updates.

createdAtstring
updatedAtstring

Example response

{
  "namespace": "znp_projects",
  "key": "a1b2c3d4",
  "payload": {
    "name": "My Project"
  },
  "_rev": "2-4f8a63d0f9c94d97a0b5b6f8cdef1234",
  "createdAt": "2026-04-06T12:00:00.000Z",
  "updatedAt": "2026-04-06T12:00:00.000Z"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.