Validate a Pine script (compile check only, no run)

post/v1/indicators/validate

Request

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

Request body

pine_codestring required

Response

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

successtrue required
metaobject

The compiled script's schema (inputs, plots).

indicatorobject

The same schema as meta, kept for older clients.

diagnosticsobject[]

Changes

No recorded changes to this operation across all 1 revision of this API.