# @solarwinds/squadcast-sdk-typescript Examples

This directory contains example scripts demonstrating how to use the @solarwinds/squadcast-sdk-typescript SDK.

## Prerequisites

* Node.js (v18 or higher)
* npm

## Setup

1. Copy `.env.template` to `.env`:

   ```bash
   cp .env.template .env
   ```
2. Edit `.env` and add your actual credentials

## Running the Examples

To run an example file from the examples directory:

```bash
npm run build && npx tsx example.ts
```

## Creating new examples

Duplicate an existing example file, they won't be overwritten by the generation process.


---

# 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://developers.incidents.cloud.solarwinds.com/typescript/examples.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.
