---
title: "Export CYA session as JSON"
method: GET
path: "/api/cya/sessions/:session_id/export/json"
tags: ["CYA Agent"]
---

# Export CYA session as JSON

`GET /api/cya/sessions/:session_id/export/json`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/cya/sessions/:session_id/export/json`
- Auth: none declared

Returns the full CYA session object as structured JSON for downstream processing.

## Path parameters

- `session_id` string, required

## Query parameters

- `token` string

## Response `200`

Session JSON export

- object
  - `success` boolean
  - `session_id` string
  - `exportedAt` string, date-time
  - `session` object

## Other responses

- `404`: Session not found

---

[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)
