---
title: "Generate Explore"
method: POST
path: "/api/v1/plots/explore"
tags: ["plots"]
---

# Generate Explore

`POST /api/v1/plots/explore`

Generate interactive map from PyPSA network using n.plot.explore()

## Request body

- ExploreRequest — Request schema for interactive map via n.plot.explore()
  - `network_id` string, required — Network UUID
  - `branch_components` string[], nullable — Branch types to display (Line, Link, Transformer, Process)
  - `geometry` boolean — Use line geometries instead of straight lines

## Response `200`

Successful Response

- TaskQueuedResponse — Response when a task is queued
  - `task_id` string, required
  - `status_url` string, required
  - `message` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pypsa/apis/pypsa-app.md) · [All operations](https://skmtc.dev/pypsa/apis/pypsa-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pypsa/pypsa-app/revisions/a9fc864817c3/schema)
