---
title: "Get purchase overview"
method: POST
path: "/assist-ai/purchase_overview"
tags: ["Assistants"]
---

# Get purchase overview

`POST /assist-ai/purchase_overview`

Calculates the cost and details for creating an assistant with specified videos

## Request body

- PurchaseOverviewRequest
  - `video_ids` string[] — Array of video IDs to calculate cost for
  - `lang` 'pt-BR' | 'en' | 'es' — Idioma do Tutor, usado para gerar resumos, sugestoes de perguntas e respostas do chat. Valores aceitos: `pt-BR`, `en`, `es`. Outros valores sao normalizados para o idioma mais proximo; valores nao reconhecidos usam `pt-BR` como padrao. Recomenda-se enviar exatamente um dos tres.

## Response `200`

Purchase overview calculated successfully

- PurchaseOverview
  - `total_cost` number
  - `credit_cost` integer
  - `video_count` integer
  - `estimated_processing_time` string
  - `videos` object[]
    - `id` string
    - `title` string
    - `duration` integer
    - `cost` number

## Other responses

- `400` — Bad request - Invalid input parameters
- `401` — Unauthorized - Invalid or missing authentication
- `500` — Internal server error

---

[API](https://skmtc.net/pandavideo/apis/api-v2.md) · [All operations](https://skmtc.net/pandavideo/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandavideo/api-v2/revisions/4fbd3c623ca9/schema)
