---
title: "Execute SRQL query"
method: POST
path: "/api/query"
tags: ["SRQL"]
---

# Execute SRQL query

`POST /api/query`

Executes a ServiceRadar Query Language (SRQL) query against the database

## Request body

- ApiQueryRequest
  - `query` string

## Response `200`

Query results

- ApiQueryResponse
  - `error` string
  - `results` object[]

## Other responses

- `400` — Invalid query or request
- `401` — Unauthorized
- `500` — Internal server error

---

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