List relationship definitions
GET /api/v1/ontology/relationships: request fields and declared response contract.
GET/api/v1/ontology/relationships
| Permission | settings.read |
|---|---|
| Workspace scope | required |
| Scope target | workspace |
Parameters
Path parameters: none.
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
| cursor | string | optional | non-null | — |
| limit | integer | optional | non-null | — |
Response
200
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
| data | object | required | non-null | — |
| data.items | array | required | non-null | — |
| data.nextCursor | string | required | nullable | — |
Declared failures
| ONTOLOGY_LIST_RELATIONSHIPS_FAILED | 500 — not retryable |
|---|
Readback
This method returns the current state it read.
- ontology.listRelationshipDefinitions
Request example
Schematic only. Replace placeholders with real values and include all required nested fields.
GET /api/v1/ontology/relationships HTTP/1.1
Authorization: Bearer <token>
x-merulan-workspace-id: <workspace-id>