---
title: "Process Files Open"
method: POST
path: "/api/processes/{process_id}/files/open"
---

# Process Files Open

`POST /api/processes/{process_id}/files/open`

A file's content, for the workspace file viewer — the read counterpart
to `list`/`list_abs` above. Registered ahead of the mutate catch-all below
(FastAPI matches by registration order, and `{action}` would otherwise
swallow this literal path first) since `open` is core's one file-content
route that is itself a POST (it takes the path in a JSON body, not a query
string) rather than because it belongs in the mutate allow-list.

## Path parameters

- `process_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

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