> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prismgateway.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Models

> ค้นหาโมเดลและเข้าใจการกรองตามองค์กรและ API key

# Models

เรียก model catalog ด้วย API key เดียวกับที่จะยิง request:

```bash theme={null}
curl -sS "https://api.prismgateway.io/v1/models" \
  -H "Authorization: Bearer $PRISM_API_KEY"
```

ผลลัพธ์คือจุดตัดของโมเดลที่ publish อยู่, policy ขององค์กร, scope และ allowlist
ของ key รวมถึง welcome-credit trial policy อย่า hard-code private upstream
model ID ให้ใช้ public model ID ที่ Prism ส่งกลับ

| Modality    | Endpoint                            |
| ----------- | ----------------------------------- |
| Chat        | `POST /v1/chat/completions`         |
| Embeddings  | `POST /v1/embeddings`               |
| Images      | `POST /v1/images/generations`       |
| สร้างวิดีโอ | `POST /v1/video/generations`        |
| สถานะวิดีโอ | `GET /v1/video/generations/{jobId}` |

`GET /v1/trial-policy` เป็น public endpoint สำหรับดู chat allowlist,
unlock threshold และ `policy_hash` ปัจจุบัน

[English version](/models)
