# Moropo API

{% hint style="info" %}
This set of pages for our API is intended for examples and hints only - up-to-date self-generating documentation for the API, including steps to generate curl templates can be found at <https://api.moropo.com/docs>.
{% endhint %}

Moropo has an API containing a suite of endpoints for performing a range of functions outside the main UI. This is intended for users who require triggering tests from CI-CD pipelines, but do not meet the requirements to use some of the native integrations like the [GitHub Action](/ci-integration/github-action.md).\
\
Available endpoints:

1. [Builds](/ci-integration/moropo-api/builds.md)
2. [Tests](/ci-integration/moropo-api/tests.md)&#x20;
3. [Test Runs](/ci-integration/moropo-api/test-runs.md)
4. [Branches](/ci-integration/moropo-api/branches.md)

Endpoints are used by calling with the HTTP methods POST, GET, PUT, and DELETE. These correspond to create, read, update, and delete (or CRUD) operations respectively. Please see the individual pages for available methods against each endpoint.


---

# 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.moropo.com/ci-integration/moropo-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.
