---
title: "POST /internal/ci-builds/{build_id}/logs"
method: POST
path: "/internal/ci-builds/{build_id}/logs"
tags: ["CI runner"]
---

# POST /internal/ci-builds/{build_id}/logs

`POST /internal/ci-builds/{build_id}/logs`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/internal/ci-builds/{build_id}/logs`
- Auth: HTTP bearer

## Path parameters

- `build_id` string, required

## Request body

- RunnerLogs
  - `lines` string[], required

## Response `204`

Log batch appended

## Other responses

- `401`: Token required
- `403`: Token rejected
- `409`: Build inactive or batch exceeds limit

## Changes

> 81 revisions in range; 1 not diffed.

- **2026-10-17** `de8eaf663007`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/internal/ci-builds/:build_id/logs/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) · [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) · [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/ab6d5d19e930?raw)
