6 image models · capabilities and pricing in one placeSee pricing →
API documentationList models

OGA DEVELOPER CENTER

API v1 · Last verified 2026-08-15

List models

List currently published models and availability by page.

GET/api/v1/models
Browse common endpoints

Overview

The model catalog is the entry point for capabilities, ratios, size tiers, public prices, and routability. Do not hard-code model capabilities in a client; inspect the current catalog before submission.

Authentication: No authentication

Request

Query parameters

NameTypeDescription
model_companystringFilter by published model company.
modalitystringFilter by modality, for example image.
pageintegerPage number, starting at 1.
page_sizeintegerItems per page, 1–100; default 20.

Response

JSON endpoints use the standard response envelope. HTTP status represents the request outcome; business errors are not disguised as HTTP 200.

HTTPMeaning
200Request succeeded
400Invalid business parameter or filter
422Request-structure validation failed
500Internal service error

Complete success example (optional fields vary by state)

{
  "code": 0,
  "message": "success",
  "data": {
    "items": [
      {
        "model_id": "gpt-image-2",
        "company": "OpenAI",
        "modality": "image",
        "lifecycle_status": "active",
        "availability_status": "available",
        "capabilities": [],
        "verified_capabilities": []
      }
    ],
    "total": 1,
    "page": 1,
    "page_size": 20
  },
  "request_id": "8f25b42f-2ed1-4ad7-99de-61d7f779bc7b",
  "timestamp": "2026-08-10T00:00:00Z"
}

Important boundaries

  • Public and read-only. Capabilities and prices come from the returned current snapshot.

Open the machine-readable OpenAPI

Code & API explorer

GET · /api/v1/models

curl -X GET "$OGA_BASE_URL/api/v1/models?modality=image&page=1&page_size=20" \
  -H "X-Request-Id: <UUID_V4>" \
  -H "Accept-Language: en-US"