Documents inside a shared vault have the same shape as private-vault
documents — DocumentInput, DocumentMetadata, Document — but live
under user.sharedVault(id).document instead of user.document.
All operations require the vault to be unsealed and the caller to be a
member of the target vault with an appropriate role.
Queries (read)
Available to any vault member (OWNER, MANAGER, EDITOR, VIEWER).
curl -X POST https://api.test.geena.eu/graphql \
-H "Authorization: Bearer $TOKEN"\
-H "Content-Type: application/json"\
-d '{
"query": "query($v: ID!) { user { sharedVault(id: $v) { document { list { id name } } } } }",
"variables": { "v": "v1a2-..." }
}'
Info
The shared-vault document API does not expose validate — use the
private-vault user.document.validate
to pre-check payloads; the schema registry is the same.