# Reference

- [StackState Template JSON (STJ)](https://archivedocs.stackstate.com/5.1/develop/reference/stj.md): StackState Self-hosted v5.1.x
- [Using STJ](https://archivedocs.stackstate.com/5.1/develop/reference/stj/using_stj.md): StackState Self-hosted v5.1.x
- [Template functions](https://archivedocs.stackstate.com/5.1/develop/reference/stj/stj_reference.md): StackState Self-hosted v5.1.x
- [StackState Markup Language (STML)](https://archivedocs.stackstate.com/5.1/develop/reference/stml.md): StackState Self-hosted v5.1.x
- [Using STML](https://archivedocs.stackstate.com/5.1/develop/reference/stml/using_stml.md): StackState Self-hosted v5.1.x
- [STML Tags](https://archivedocs.stackstate.com/5.1/develop/reference/stml/tags.md): StackState Self-hosted v5.1.x
- [StackState Query Language (STQL)](https://archivedocs.stackstate.com/5.1/develop/reference/stql_reference.md): StackState Self-hosted v5.1.x
- [StackState Scripting Language (STSL)](https://archivedocs.stackstate.com/5.1/develop/reference/scripting.md): StackState Self-hosted v5.1.x
- [Scripting in StackState](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/scripting-in-stackstate.md): StackState Self-hosted v5.1.x
- [Script result: Async](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/async-script-result.md): StackState Self-hosted v5.1.x
- [Script result: Streaming](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/streaming-script-result.md): StackState Self-hosted v5.1.x
- [Time in scripts](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/time-in-scripts.md): StackState Self-hosted v5.1.x
- [Script APIs](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis.md): StackState Self-hosted v5.1.x
- [Async - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/async.md): StackState Self-hosted v5.1.x
- [Component - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/component.md): StackState Self-hosted v5.1.x
- [HTTP - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/http.md): StackState Self-hosted v5.1.x
- [Prediction - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/prediction.md): StackState Self-hosted v5.1.x
- [StackPack - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/stackpack.md): StackState Self-hosted v5.1.x
- [Telemetry - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/telemetry.md): StackState Self-hosted v5.1.x
- [Time - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/time.md): StackState Self-hosted v5.1.x
- [Topology - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/topology.md): StackState Self-hosted v5.1.x
- [UI - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/ui.md): StackState Self-hosted v5.1.x
- [View - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/view.md): StackState Self-hosted v5.1.x


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://archivedocs.stackstate.com/5.1/develop/reference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
