---
title: "Create a log entry"
method: POST
path: "/logs"
tags: ["logs"]
---

# Create a log entry

`POST /logs`

Accepts a JSON log entry and stores it in BadgerDB

## Request body

- TypesLog
  - `driver` string
  - `message` string
  - `pipeline` string
  - `runid` string
  - `timestamp` string

## Response `201`

Log created

- string

## Other responses

- `400` — Bad request - Invalid payload
- `500` — Internal server error

## Changes

- **2025-09-28** `ef1146f3d831` — 1 info
  - endpoint added
- **2025-08-17** `2bbb58594c86` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/open-ug/apis/conveyor-ci-api/changes/logs/post.md)

---

[API](https://skmtc.dev/open-ug/apis/conveyor-ci-api.md) · [All operations](https://skmtc.dev/open-ug/apis/conveyor-ci-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/open-ug/conveyor-ci-api/revisions/5fe7c36ee2cb/schema)
