> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Introduction

## Article: Introduction

## Article Link: https://dev.wix.com/docs/api-reference/business-management/multilingual/machine-translation/credit-data/introduction.md

## Article Content:

# About the Credit Data API

The Credit Data API allows you to retrieve information about a site's word credits to help you monitor credit usage and availability. Multilingual sites receive a free word credit quota (1 credit per word) that gets consumed when the [Machine Translation API](https://dev.wix.com/docs/rest/business-management/multilingual/machine-translation/machine-translation/introduction.md) is used.

With the Credit Data API, you can:

- Retrieve a site's word credit data.
- Check whether a site has enough credits to translate a specific number of words. 

## Before you begin

It's important to note the following points before starting to code:

- A Wix user must install the **Wix Multilingual** app on their site.
- Wix users can receive additional word credits by [purchasing a translation package](https://support.wix.com/en/article/wix-multilingual-auto-translating-your-site#purchasing-translation-packages) in the [**Translation Manager**](https://support.wix.com/en/article/wix-multilingual-using-the-translation-manager) at any time.
- Credits are deducted from a site's word credit balance in real-time when machine translation requests succeed.

## Use cases

- [Check for sufficient credits before machine translation](https://dev.wix.com/docs/rest/business-management/multilingual/machine-translation/credit-data/sample-flows.md#check-for-sufficient-credits-before-machine-translation).
- [Create a translation credit dashboard](https://dev.wix.com/docs/rest/business-management/multilingual/machine-translation/credit-data/sample-flows.md#create-a-translation-credit-dashboard).

## Terminology

- **Word credit**: A unit of translation capacity. 1 credit equals 1 word. Every site has a word credit balance indicating the number of words available for translation.
- **Quota**: The total number of word credits allocated to a site, including initial allocation and any additional credits purchased through the [Translation Manager](https://support.wix.com/en/article/wix-multilingual-using-the-translation-manager). Currently, sites have a quota limit, with the exception of [Wix Studio enterprise sites](https://support.wix.com/en/article/wix-enterprise-an-overview), which have an unlimited quota.
- **Machine translation**: The process of using an external service to automatically translate text to other languages. Alternatively, a Wix user can manually translate their content with the Translation Manager.

