---
title: "Upload daemon file"
method: POST
path: "/daemon/processes/{processID}/file"
tags: ["Machine Daemon"]
---

# Upload daemon file

`POST /daemon/processes/{processID}/file`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/daemon/processes/{processID}/file`
- Auth: HTTP bearer

## Path parameters

- `processID` string, required

## Query parameters

- `filename` string

## Request body `application/octet-stream`

- string, binary

## Response `201`

Returns the full /memory/<store>/<file> or /artifacts/<artifact_id> path and digest.

- UploadFileResponse: Returns the uploaded file's path and digest.
  - `path` string, required
  - `digest` string, required

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `409`: The request conflicts with current resource state or idempotency history.
- `413`: The uploaded file is too large.
- `500`: An unexpected internal server error occurred.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-10-05** `3d9e2cf46e07`: 1 info
  - endpoint added
  - …this revision’s changelog is incomplete

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/daemon/processes/:processID/file/post.md)

---

[API](https://skmtc.dev/omnara/apis/omnara-api-2.md) - [All operations](https://skmtc.dev/omnara/apis/omnara-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/omnara/apis/omnara-api-2/revisions/343aebb1dff1?raw)
