> ## Documentation Index
> Fetch the complete documentation index at: https://docs.asserto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Graph Export

> 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.



## OpenAPI

````yaml GET /api/graph
openapi: 3.1.0
info:
  title: Asserto AI - API
  description: API for Asserto  AI
  version: 0.1.0
servers:
  - url: https://app.asserto.ai
    description: Production server
security: []
paths:
  /api/graph:
    get:
      tags:
        - API
      summary: Project Graph Export
      description: >-
        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.
      operationId: graph_export_api_graph_get
      parameters:
        - name: authorization
          in: header
          required: false
          schema:
            type: string
            description: 'API Key in the format: `Authorization: ApiKey <key>`'
            title: Authorization
          description: 'API Key in the format: `Authorization: ApiKey <key>`'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PFGraph'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PFGraph:
      properties:
        nodes:
          items:
            $ref: '#/components/schemas/PFNode'
          type: array
          title: Nodes
        edges:
          items:
            $ref: '#/components/schemas/PFEdge'
          type: array
          title: Edges
      type: object
      required:
        - nodes
        - edges
      title: PFGraph
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PFNode:
      properties:
        id:
          type: string
          title: Id
        type:
          type: string
          title: Type
        params:
          additionalProperties: true
          type: object
          title: Params
      type: object
      required:
        - id
        - type
        - params
      title: PFNode
    PFEdge:
      properties:
        src:
          type: string
          title: Src
        tgt:
          type: string
          title: Tgt
      type: object
      required:
        - src
        - tgt
      title: PFEdge
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````