---
title: "Ingest Event"
method: POST
path: "/api/events"
tags: ["Events"]
---

# Ingest Event

`POST /api/events`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/api/events`
- Auth: HTTP bearer

Record one checkout-intent event against the calling user.

202, not 200: the write is best-effort by design (``record_user_event``
never raises), and a caller must not treat a failure to log as a
failure of the checkout it was reporting on.

## Headers

- `x-kolens-user-id` string, nullable

## Request body

- EventIn
  - `event` string, required
  - `workspace_id` string, nullable
  - `props` object, nullable

## Response `202`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kolens/apis/kolens-api.md) · [All operations](https://skmtc.dev/kolens/apis/kolens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolens/apis/kolens-api/revisions/5d6865ab0a24?raw)
