---
title: "단가 이력"
method: GET
path: "/api/v1/models/{slug}/history"
---

# 단가 이력

`GET /api/v1/models/{slug}/history`

## Request

- Base URL: `https://aiwave.elopstudio.com`
- URL: `https://aiwave.elopstudio.com/api/v1/models/{slug}/history`
- Auth: HTTP bearer

값이 바뀔 때만 한 줄이다. 한 줄은 그 시각부터 다음 줄 전까지 유지된 단가를 뜻한다. 기록은 AI Wave 가 남기기 시작한 시점부터다: 모델 출시 시점이 아니다.

## Path parameters

- `slug` string, required

## Response `200`

단가 이력

- object
  - `id` string
  - `currency` string
  - `unit` string
  - `since` integer, nullable: 기록 시작 unix 초
  - `points` object[]
    - `inputPrice` number, nullable
    - `outputPrice` number, nullable
    - `observedAt` integer

## Other responses

- `404`: 카탈로그에 없는 모델

---

[API](https://skmtc.dev/elopstudio/apis/ai-wave-api.md) · [All operations](https://skmtc.dev/elopstudio/apis/ai-wave-api/llms.txt) · [OpenAPI document](https://skmtc.dev/elopstudio/apis/ai-wave-api/revisions/5598fac87fef?raw)
