Run a read-only graph query.
POST/api/v1/graph/querygraph:read
A read-only Cypher query over the graph the caller can see.
| Scope | graph:read |
| Asynchronous | No |
| MCP tool | query_graph |
| Portal permissions | execute_graph_queries |
| Company capability | graph |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional |
Request body
| Content type | Type |
|---|---|
application/json | GraphQueryInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | unsupported_for_tenant, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
body | any | Required | |
format | string | Required | |
format_version | integer | Required |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
GraphQueryInput
| Field | Type | Required | Description |
|---|---|---|---|
cypher | string | Required | A read-only query. |
parameters | object | Optional | The query's named parameters. |