Read a stored document

GET
/v1/agents/{id}/store/{collection}/docs/{docId}

Reads one document of a collection the manifest declares. Your own key reads the values as saved. A handler running a request or a schedule reads them through the platform action store.get: fields marked personal come back as placeholders unless the endpoint declared the real-values capability.

Requires an API key with the workspace:read scope.

Authorization

apiKey
headerAuthorizationBearer <token>

A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.

Path Parameters

id*string

The agent id.

collection*string

The collection id.

docId*string

The document id.

Response Body

The document

application/json
  1. response
document*
Example Request
curl "https://api.vlayers.ai/v1/agents/$AGENT_ID/store/$COLLECTION/docs/$DOC_ID" \  -H "Authorization: Bearer $VOICELAYER_API_KEY"
Example Response
{  "document": {    "collection": "orders",    "id": "order-1001",    "value": {      "status": "open",      "total": 42    },    "updatedAt": "2026-10-20T15:04:05.000Z"  }}