---
title: "Upload project artifact"
method: POST
path: "/projects/{project_id}/artifacts"
tags: ["Artifacts"]
---

# Upload project artifact

`POST /projects/{project_id}/artifacts`

Upload an agent-scoped .txt or .md file (text/plain or text/markdown).

## Path parameters

- `project_id` string, required

## Query parameters

- `agent_name` string

## Response `201`

Uploaded text artifact metadata

- object
  - `id` string, required
  - `project_id` string, required
  - `agent_name` string, nullable, required
  - `filename` string, required
  - `content_type` string, required
  - `size_bytes` number, required
  - `created_at` string, date-time, nullable, required

## Other responses

- `400` — Bad request
- `404` — Not found

---

[API](https://skmtc.dev/uselemma/apis/lemma-platform-api.md) · [All operations](https://skmtc.dev/uselemma/apis/lemma-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uselemma/lemma-platform-api/revisions/5242165d7015/schema)
