# API

You can use the Pollination public Application Programming Interface (API) to interact with the Pollination server from inside your apps or scripts.

You can interact with the API directly using our [OpenAPI client](https://api.pollination.solutions/docs) or read the documentation for each endpoint [here](https://api.pollination.solutions/redoc).

If you prefer using SDKs instead of interacting with the endpoints directly, we also generate and maintain several SDKs from the OpenAPI specification.

* [Pollination Javascript SDK](https://www.npmjs.com/package/@pollination-solutions/pollination-sdk)
* [Pollination C# SDK](https://www.nuget.org/packages/PollinationSDK)

This section includes some sample codes for getting you started. If you can't find what you need, feel free to open a requests for more sample code on [Pollination Discourse](https://discourse.pollination.solutions/c/scripting/11).


---

# 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://docs.pollination.solutions/user-manual/developers/api.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.
