> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/features/scripts/faq-and-examples.md).

# FAQ and Examples

## FAQ

<details>

<summary>Can anyone access a script I've created?</summary>

Currently, all Scripts are accessible to all users, as long as they have permission to all the data within them.

If a script contains a Violet Variable linked to data that a user does not have access to, they will also **not have access to that script.**&#x20;

We are working to implement a more tailored and comprehensive permissions model for Scripts - stay tuned!

</details>

<details>

<summary>Why are my runs slow?</summary>

Running a script after a period of inactivity may take more time than usual. If your Scripts feature is starting to be heavily used by your team and seems to be running slower than expected, please reach out to us.

</details>

## Examples

Check out these examples of how to run scripts:

* [Calculate a satellite’s orbital period based on input altitude, and write the output to a Violet parameter](https://www.loom.com/share/048ef85184d246188120b7163a6270aa)
* [Vary aircraft parameters and observe the effect on calculated mission duration](https://www.loom.com/share/39c10e9ec9124747bdacd8e0597f88f5?sid=57f6f2eb-bfce-4330-8123-54d2272e59d1)
* [Calculate satellite link budget, vary component technical specifications and observe the effect on SNR](https://www.loom.com/share/ad9c107ffc8e4ee2a3b76081fdd31bdc?sid=33e0078a-c031-4841-acb5-eefa8f132c31)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.violetlabs.com/features/scripts/faq-and-examples.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
