# Restful API

Once you have defined a model, then you can use create, read, update, and delete (CRUD) operations to add data to the model, manipulate the data, and query it. All Hormo Studio models that are connected to persistent data stores (such as a database) automatically have the create, retrieve, update, and delete operations of the PersistedModel class

For each model we generate a lot of endpoints that you can make query for them and test your API's endpoints in our playground. Before start your restful API service you have to run project first.

![API service playground](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LLJWqvJtjL4p5b0wMai%2F-LLYw6Zcn2Vspfw8dndy%2F-LLYwvWreT-CtYk1jJpN%2FScreen%20Shot%202018-09-04%20at%202.09.21%20PM.png?alt=media\&token=c8af076e-f412-4910-98b3-338bd7cd7db0)

Let's explore playground and learn how to works with that ;)

{% content-ref url="/pages/-Lz7-hWdVEQsmWiT40dK" %}
[Playground](/restful-api/playground.md)
{% endcontent-ref %}


---

# 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.hormo.studio/restful-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.
