---
title: "Offline Pine diagnostics (quota free)"
method: POST
path: "/v1/indicators/lint"
---

# Offline Pine diagnostics (quota free)

`POST /v1/indicators/lint`

## Request

- Base URL: `https://app.texttoquant.com/api`
- URL: `https://app.texttoquant.com/api/v1/indicators/lint`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Request body

- object
  - `pine_code` string, required

## Response `200`

Answers {success, diagnostics, clean} at the top level (no data wrapper)

- object
  - `success` true, required
  - `diagnostics` object[], required
  - `clean` boolean, required: True when no diagnostic is an error.

---

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