---
title: "Project Graph Export"
method: GET
path: "/api/graph"
tags: ["API"]
---

# Project Graph Export

`GET /api/graph`

## Request

- Base URL: `https://app.asserto.ai`
- URL: `https://app.asserto.ai/api/graph`
- Auth: none declared

Export project graph in simplified Prompt Flow JSON format for external integrations.

Returns a graph structure with nodes and edges in a standardized format suitable
for external workflow tools and integrations.

## Headers

- `authorization` string: API Key in the format: `Authorization: ApiKey <key>`

## Response `200`

Successful Response

- PFGraph
  - `nodes` PFNode[], required
    - `id` string, required
    - `type` string, required
    - `params` object, required
  - `edges` PFEdge[], required
    - `src` string, required
    - `tgt` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/asserto/apis/asserto-ai-api.md) - [All operations](https://skmtc.dev/asserto/apis/asserto-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/asserto/apis/asserto-ai-api/revisions/ccafa6c11b48?raw)
