---
title: "OEO graph export as JSON-LD"
method: GET
path: "/api/cya/graph/export/oeo"
tags: ["CYA Agent"]
---

# OEO graph export as JSON-LD

`GET /api/cya/graph/export/oeo`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/cya/graph/export/oeo`
- Auth: none declared

Exports the live Graphology ontology graph as OEO-aligned JSON-LD with fixed ontology pinning, warnings[] and validationSummary.

## Query parameters

- `operator` string
- `location` string
- `baseIri` string
- `oeoVersion` string
- `token` string

## Response `200`

OEO JSON-LD export

- object
  - `ok` boolean
  - `oeo` object: Validated OEO JSON-LD document
  - `graphology` object: Raw Graphology graph data
  - `warnings` object[]
    - `code` string
    - `severity` string
    - `message` string
  - `validationSummary` object
    - `status` string
    - `totalNodes` number
    - `totalEdges` number
    - `mappedNodes` number
    - `mappedEdges` number
    - `unknownNodeTypes` number
    - `unknownEdgeTypes` number
    - `warningCount` number
    - `hasWarnings` boolean
  - `oeoVersion` string
  - `oeoVersionIri` string

## Other responses

- `400`: Unsupported OEO version requested

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
