---
title: "Add a custom log entry"
method: POST
path: "/api/logs"
tags: ["Monitoring"]
---

# Add a custom log entry

`POST /api/logs`

## Request body

- object
  - `action` string, required
  - `message` string, required
  - `level` 'info' | 'warn' | 'error' | 'debug'
  - `source` string
  - `session` string

## Response `200`

Log entry added

- object
  - `success` boolean
  - `entry` object

## Other responses

- `400` — Invalid request
- `401` — Authentication required

---

[API](https://skmtc.net/builderz-labs/apis/mission-control-api.md) · [All operations](https://skmtc.net/builderz-labs/apis/mission-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/builderz-labs/mission-control-api/revisions/b920835b2793/schema)
