# Request v1

#### Method

API is using **POST** method

***

#### Supported Models

It supports the following model types:

* ✅ Binary Classification (e.g., YES/NO, True/False outcomes)
* ✅ Multiclass Classification (e.g., predicting one of several categories)
* ✅ Regression (e.g., predicting a numeric value)

***

#### Request URL

The base URL for the API endpoint is:

```
https://app.graphite-note.com/api/v1/prediction/model/[model-code]
```

Replace `[model-code]` in the URL with the code of the specific model you want to use for predictions.

***

#### Where can I find model code?

To easily find the `[model-code]`, open the specific model and navigate to the Settings tab. The model code can be found in the ID section.

<figure><img src="/files/Q6IP9UQsyEYsqg89ym5V" alt="" width="563"><figcaption></figcaption></figure>


---

# 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.graphite-note.com/graphite-note-documentation/rest-api/prediction-api/request-v1.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.
