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

# Regenerate project artifacts

`POST /projects/{project_id}/artifacts/regenerate`

Starts the learn-agent workflow for a tenant-owned project and optional agent. Duplicate project+agent triggers within the dedupe window return the same workflow_id; clients should poll list_project_artifacts for a new latest_version or learn_agent_artifact version to observe completion.

## Path parameters

- `project_id` string, required

## Query parameters

- `agent_name` string

## Response `200`

Learn-agent workflow trigger handle

- object
  - `workflow_id` string, required
  - `project_id` string, required
  - `agent_name` string, nullable, required

## Other responses

- `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)
