# Register a Model as an API

The user can publish a DSL model as an API using the Model tab. Only the published models get this option.

* Navigate to the ***Model*** tab.
* Filter the model list by using the ***Registered*** filter option.
* Select a model from the list.
* Click the ***Register as API*** option.

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/Y9Kp6Q0BHNn76RCxpOer/image.png" alt=""><figcaption></figcaption></figure>

* The ***Update model*** page opens.
* Provide Max instance limit.
* Click the ***Save and Register*** option.

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/uN0fLmzti0r8b7PK5nxV/image.png" alt=""><figcaption><p><em><strong>Updating the Model</strong></em></p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note</mark>*<mark style="color:green;">:</mark> User the ***Save*** option to save the data which can be published later.
{% endhint %}

* The model gets saved and registered as an API service. A notification message appears to inform the same.

<figure><img src="https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/JEdDhyy29lo8QvkoVvbu/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Refer the* [***Data Science Lab Quick Start Flow*** ](https://docs.bdb.ai/data-science-lab-4/data-science-lab-quick-start-flow)*page to get an overview of the **Data Science Lab** module in nutshell.*&#x20;
{% endhint %}


---

# 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.bdb.ai/data-science-lab-4/project/tabs-for-a-data-science-lab-project/tabs-for-tensorflow-and-pytorch-environment/model/register-a-model-as-an-api-service/register-a-model-as-an-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.
