---
title: "Ingest RUM log events"
method: POST
path: "/rum/v1/{org_id}/logs"
tags: ["Rum"]
---

# Ingest RUM log events

`POST /rum/v1/{org_id}/logs`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/rum/v1/{org_id}/logs`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/rum/v1/:org_id/logs/post.ts> (a function with typed inputs; its response is checked against the schema)

Ingests Real User Monitoring (RUM) log events and client-side application logs as NDJSON, one JSON object per line, or as a single JSON array of objects (the format the native mobile SDKs send). Captures browser console logs, application errors, debug information, and custom log messages generated by client-side JavaScript. Logs are enriched with browser and session context for comprehensive client-side debugging and monitoring.

## Path parameters

- `org_id` string, required

## Request body `text/plain`

- string

## Response `202`

Accepted, empty body

## Other responses

- `400`: Bad request: a line is not valid JSON, or a line or array element is not a JSON object
- `500`: Failure

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
