---
title: "POST /api/files/open"
method: POST
path: "/api/files/open"
---

# POST /api/files/open

`POST /api/files/open`

## Request body

- FileOpenRequest
  - `lineNumber` integer, nullable
  - `path` string, required

## Response `200`

Open a file in the system editor

- BaseResponse
  - `success` boolean, required

---

[API](https://skmtc.dev/marimo-team/apis/marimo-api.md) · [All operations](https://skmtc.dev/marimo-team/apis/marimo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/marimo-team/marimo-api/revisions/a39082aac3ce/schema)
