---
title: "Publish a draft article"
method: POST
path: "/api/agent/articles/{id}/publish"
tags: ["Articles"]
---

# Publish a draft article

`POST /api/agent/articles/{id}/publish`

Trigger the publish pipeline for a draft article (status=generated). The article will be available on the public blog shortly after.

## Path parameters

- `id` string, uuid, required

## Response `200`

Publish pipeline triggered

- object
  - `article_id` string, uuid
  - `status` 'publishing' | 'published'
  - `message` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `409` — Article is not in the required state for this operation
- `500` — Internal server error

## Changes

> 28 revisions in range; 1 could not be searched.

- **2026-03-08** `7ee91cd6fa9d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/citedy/apis/citedy-agent-api/changes/api/agent/articles/:id/publish/post.md)

---

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