---
title: "POST /raw_sql"
method: POST
path: "/raw_sql"
---

# POST /raw_sql

`POST /raw_sql`

## Request body

- RawSqlQuery
  - `query` string, required

## Response `200`

OK

- object

## Changes

- **2026-04-08** `1a63468a8d30` — 2 info
  - api operation id `server_execute_raw_sql` removed and replaced with `routes_content_execute_raw_sql`
  - api tag `Content Management` removed
- **2026-02-16** `e143bf8d73bc` — 1 info
  - api tag `Content Management` added
- **2026-02-11** `2825740bcf63` — 1 info
  - api operation id `execute-raw-sql` removed and replaced with `server_execute_raw_sql`
- **2026-02-11** `61c0a2f34556` — 1 info
  - endpoint added
- **2026-02-11** `4303af4aaeda` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/screenpipe/apis/screenpipe-api/changes/raw_sql/post.md)

---

[API](https://skmtc.dev/screenpipe/apis/screenpipe-api.md) · [All operations](https://skmtc.dev/screenpipe/apis/screenpipe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/screenpipe/screenpipe-api/revisions/1a63468a8d30/schema)
