---
title: POST /api/v1/publish/batch
description: Publish Batch
locale: en
version: 0.2.0
canonical: https://enterium-developer-docs.pages.dev/developers/api/publish/post-publish-batch/
---

> Documentation index: https://enterium-developer-docs.pages.dev/developers/llms.txt — every page of this portal has a Markdown twin at <route>.md; the frozen API contract is at https://enterium-developer-docs.pages.dev/developers/api/openapi.json.

:::note
Generated from the OpenAPI contract — do not edit by hand. Interactive explorer with full schemas: [https://entherium.duckdns.org:8443/reference](https://entherium.duckdns.org:8443/reference); frozen spec for this build: [openapi.json](/developers/api/openapi.json). Group: [publish](../).
:::

Publish Batch

**Auth:** `Authorization: Bearer <token>` required

## Request

```sh
curl -sS -X POST "https://entherium.duckdns.org:8443/api/v1/publish/batch" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"article_guids":[31567,31568],"instance_id":"example-prod-hugo-vps"}'
```

## Response `202`

The contract carries no example for this response; schema: `TaskAccepted`. Field-level shape: [interactive explorer](https://entherium.duckdns.org:8443/reference).

## Returns

`TaskAccepted` — Successful Response

| Field | Type | Description |
| --- | --- | --- |
| `detail` | `object \| null` (opt.) |  |
| `status` | `string` (opt.) |  |
| `task_id` | `string` |  |

## Parameters

| Parameter | In | Required | Type | Default | Constraints | Description |
| --- | --- | --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | no | `string` | — | uuid | Optional. |

## Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `article_guids` | `array of integer` | yes |  |
| `instance_id` | `string` | yes |  |

_Example:_

```json
{
  "article_guids": [
    31567,
    31568
  ],
  "instance_id": "example-prod-hugo-vps"
}
```

## Errors

| Code | Meaning | Body |
| --- | --- | --- |
| `401` | Missing or invalid authentication credentials | `ErrorResponse` |
| `422` | Validation Error | `HTTPValidationError` |

Every error body is `{detail, code?, request_id, doc_url}` — `request_id` is the value to quote, `doc_url` points at the [Errors reference](../../../reference/errors/).
