# Create a Model

To create a model, navigate to the Models section by simply click on the *Models* link on the side menu of your dashboard.

On the Models page, you will see a list of existing models if any, then click on the [*Create Model*](https://mockapi.com/Models/Create) button at the top of the table list.

<figure><img src="/files/EjxDkvcIiHNmQC8jvgzk" alt=""><figcaption></figcaption></figure>

On the model creation page, kindly enter the name of the model, eg: *User*, and add the properties associated with that model, *eg: id, firstname, lastname,* etc.

Simply add new properties by clicking on the plus (+) button below the last property. You can also delete/remove a property by clicking on the associated delete button for that property.

<figure><img src="/files/MY6UEOTsUd8H3YxwMQFG" alt=""><figcaption><p>Creation of a model</p></figcaption></figure>

While adding a property, kindly enter the name of the property, *eg: id*, and select the type for that property from the wide range of types, eg: *UUID*.

There are wide range of existing data type you can select for a property, but also static data which allows you to enter the exact data you want it to return or pattern-based data in form of a defined Regular Expression or Character Sequence.

<figure><img src="/files/9po8PbjKqKASiF3b8Xot" alt=""><figcaption><p>Select type of the property</p></figcaption></figure>

If you would like the property to return an array of the type you selected, click on the settings button for that property, a modal will pop up, select "*Is This Property an Array?*" and enter the number of items to return.

<figure><img src="/files/cXxsSCDhTlcoFBeyMauc" alt=""><figcaption><p>Configure the property to return a list</p></figcaption></figure>

Each property can be dragged up or down depending on where you want it to sit within the model. Do this by simply clicking and dragging the property up or down.


---

# 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.mockapi.com/models/create-a-model.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.
