# Models

*If there is a particular model you'd like to see on w\.ai, let us know.*

***

### Models API Overview

The `/v1/models` endpoint provides a list of all the currently available models on the w\.ai network, including essential metadata for easy integration into your application.

#### Endpoint

```
GET /v1/models
```

#### Description

This endpoint returns an array of available model objects, each detailing information such as name, creation time, and capabilities, helping you easily identify suitable models for your tasks.

#### Request

* **Method:** `GET`
* **URL:** `https://api.w.ai/v1/models`

**Required Headers:**

* `Authorization: Bearer <your_api_key>`
* `Content-Type: application/json`

#### Example Request

```bash
curl -X GET https://api.w.ai/v1/models \
  -H "Authorization: Bearer <your_api_key>" \
  -H "Content-Type: application/json"
```

#### Response

**Success (`200 OK`)**

Returns a JSON object containing an array of available model objects with their respective metadata.

**Example Response**

```json
{
  "data": [
    {
      "id": "qwen3-4b-4bit",
      "object": "model",
      "created": 1676235352,
      "name": "qwen3-4b-4bit"
    },
    {
      "id": "llama-3.2-1b-4bit",
      "object": "model",
      "created": 1680526341,
      "name": "llama-3.2-1b-4bit"
    }
  ]
}
```

**Response Fields**

* **`data`**: Array containing model objects.
  * **`id`**: Unique identifier for the model.
  * **`object`**: Type of the object, typically `model`.
  * **`created`**: Unix timestamp indicating when the model was created.
  * **`name`**: The name identifier of the model.


---

# 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.w.ai/w.ai-api/models.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.
