> For the complete documentation index, see [llms.txt](https://docs.claret.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.claret.app/api-guide.md).

# API Guide

- [Quickstart](https://docs.claret.app/api-guide/quickstart.md): Create a token and make your first Claret API call in five minutes.
- [Authentication & Tokens](https://docs.claret.app/api-guide/authentication.md): How to create and use Claret API tokens, and how access is authorized.
- [Scopes Reference](https://docs.claret.app/api-guide/scopes.md): API token scopes, what each one grants, and which endpoints require them.
- [API Credits & Usage](https://docs.claret.app/api-guide/credits-and-usage.md): How API requests consume credits, how credits are allocated, and how to monitor your balance.
- [Rate Limiting](https://docs.claret.app/api-guide/rate-limiting.md): Request-rate limits for the Claret API and how to handle 429 responses.
- [Pagination](https://docs.claret.app/api-guide/pagination.md): How the Claret API pages through large result sets — offset and cursor pagination.
- [Filtering & Sorting](https://docs.claret.app/api-guide/filtering-and-sorting.md): Query parameter reference for filtering, sorting, and including related data.
- [Error Reference](https://docs.claret.app/api-guide/errors.md): Error format and a complete reference of API status codes with resolution steps.
- [Common Recipes](https://docs.claret.app/api-guide/recipes.md): End-to-end examples for the most common API integrations.
- [AI Agent Integration](https://docs.claret.app/api-guide/ai-agents.md): Discovery documents and guidance for integrating Claret with AI agents.
- [Migrating from Legacy Endpoints](https://docs.claret.app/api-guide/migration.md): How the legacy Claret API differs from the current REST API, and how to migrate.
- [Crop Supply Plans](https://docs.claret.app/api-guide/migration/crop-supply-plans.md)
- [Sales Data](https://docs.claret.app/api-guide/migration/sales-data.md): Claret Sales data APIs
- [Supply Plans Data](https://docs.claret.app/api-guide/migration/supply-plans-data.md): Claret Supply Plans data APIs
- [Inventory Data](https://docs.claret.app/api-guide/migration/inventory.md): APIs for managing inventory data in Claret
- [Inventory Import](https://docs.claret.app/api-guide/migration/inventory/import.md): Import inventory data via JSON payload or CSV file upload
- [Inventory Batch Delete](https://docs.claret.app/api-guide/migration/inventory/batch-delete.md): Delete inventory records via row-based targeting or filter criteria
- [Job Status](https://docs.claret.app/api-guide/migration/job-status.md): Monitor status of asynchronous import jobs
