Список моделей
This page gathers the endpoints used to enumerate available models.
API моделей / Список моделей
GET Native Gemini Format
GET /models
Returns the list of available models in Gemini API format
Request Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| Authorization | header | string | No | none |
Response Example
200 Response
{
"data": [
{
"id": "string",
"object": "string",
"owned_by": "string",
"permission": [
"string"
]
}
],
"object": "string"
}
Responses
| Status | Meaning | Description | Model |
|---|---|---|---|
| 200 | OK | none | Inline |
Response Schema
Status 200
| Name | Type | Required | Constraints | Chinese Name | Description |
|---|---|---|---|---|---|
| » data | [object] | true | none | none | |
| »» id | string | true | none | none | |
| »» object | string | true | none | none | |
| »» owned_by | string | true | none | none | |
| »» permission | [oneOf] | true | none | none |
oneOf
| Name | Type | Required | Constraints | Chinese Name | Description |
|---|---|---|---|---|---|
| »»» anonymous | string | false | none | none |
xor
| Name | Type | Required | Constraints | Chinese Name | Description |
|---|---|---|---|---|---|
| »»» anonymous | integer | false | none | none |
xor
| Name | Type | Required | Constraints | Chinese Name | Description |
|---|---|---|---|---|---|
| »»» anonymous | boolean | false | none | none |
xor
| Name | Type | Required | Constraints | Chinese Name | Description |
|---|---|---|---|---|---|
| »»» anonymous | array | false | none | none |
xor
| Name | Type | Required | Constraints | Chinese Name | Description |
|---|---|---|---|---|---|
| »»» anonymous | object | false | none | none |
xor
| Name | Type | Required | Constraints | Chinese Name | Description |
|---|---|---|---|---|---|
| »»» anonymous | number | false | none | none |
continued
| Name | Type | Required | Constraints | Chinese Name | Description |
|---|---|---|---|---|---|
| » object | string | true | none | none |