---
title: "execute sqlt"
method: POST
path: "/rest/sqlt"
tags: ["rest"]
---

# execute sqlt

`POST /rest/sqlt`

execute sql to return results, time formatted as timestamp

## Headers

- `Authorization` string, required

## Response `200`

OK

- RestTDEngineRestfulRespDoc
  - `code` integer
  - `column_meta` array[]
    - unknown[]
      - unknown
  - `data` array[]
    - unknown[]
      - unknown
  - `desc` string
  - `head` string[]
  - `rows` integer
  - `status` string

## Other responses

- `401` — unauthorized
- `500` — internal error

---

[API](https://skmtc.dev/taosdata/apis/taosadapter.md) · [All operations](https://skmtc.dev/taosdata/apis/taosadapter/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/taosdata/taosadapter/revisions/c1cd41e789ac/schema)
