---
title: "Upload Client Log"
method: POST
path: "/v1/client-logs"
tags: ["client-logs"]
---

# Upload Client Log

`POST /v1/client-logs`

## Request

- Base URL: `https://app.tokumalabs.com/api`
- URL: `https://app.tokumalabs.com/api/v1/client-logs`
- Auth: OAuth 2
  - Password
  - Token URL: `v1/auth/token`

## Request body

- UploadClientLogRequest
  - `log_date` string, date, required: Date of the log file (YYYY-MM-DD)
  - `content` string, required: Log file content
  - `app_version` string, nullable: App version string
  - `platform` string, nullable: Platform identifier (e.g. macos/aarch64)

## Response `200`

Successful Response

- UploadClientLogResponse
  - `log_date` string, date, required: Date of the uploaded log
  - `status` string: Upload status

## Other responses

- `400`: Validation error or domain rule violation.
- `401`: Missing, expired, or invalid authentication.
- `403`: Authenticated but not permitted.
- `404`: Resource not found.
- `409`: Resource state conflict (duplicate, illegal transition).
- `422`: Request body failed schema validation.
- `500`: Server-side failure.

---

[API](https://skmtc.dev/tokumalabs/apis/tokuma-user-api.md) - [All operations](https://skmtc.dev/tokumalabs/apis/tokuma-user-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tokumalabs/apis/tokuma-user-api/revisions/1f8201af459b?raw)
