## Get project canvas

**get** `/projects/{projectId}/canvas`

Returns the current project canvas topology as a Mermaid flowchart using the same serializer as the Fauna agent.

### Path Parameters

- `projectId: string`

  Project identifier

### Returns

- `canvas_url: string`

  Project canvas URL

- `diagram: string`

  Mermaid flowchart diagram

- `project_id: string`

  Project identifier

- `summary: object { edge_count, group_count, isolated_node_count, 2 more }`

  - `edge_count: number`

  - `group_count: number`

  - `isolated_node_count: number`

  - `node_count: number`

  - `workflow_count: number`

### Example

```http
curl https://app.flora.ai/api/v1/projects/$PROJECT_ID/canvas \
    -H "Authorization: Bearer $FLORA_API_KEY"
```

#### Response

```json
{
  "canvas_url": "https://example.com",
  "diagram": "graph LR\n  n1[\"Prompt (text)\"]\n  n2[\"Result (image)\"]\n  n1 -->|text| n2",
  "project_id": "prj_abc123",
  "summary": {
    "edge_count": 0,
    "group_count": 0,
    "isolated_node_count": 0,
    "node_count": 0,
    "workflow_count": 0
  }
}
```
