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

# API Studio

> Create and deploy APIs using natural language

## Overview

Critique APIs are versatile tools that can search the web for information.
The API Studio is where you transform your ideas in simple words into these powerful APIs.

## Creating an API

<Steps>
  <Step title="Describe Your API">
    Write a natural language description of your desired API functionality:

    * Purpose and use cases
    * Expected inputs and outputs
    * Business logic and rules
    * How to handle missing information
  </Step>

  <Step title="Configure Settings">
    Customize your API configuration:

    * Input request format
    * Output response format
    * Detailed API instructions
  </Step>

  <Step title="Test Your API">
    Test your API with sample requests and responses:

    * Enter an input request
    * View the output response
    * Check the API latency and average tokens per call
    * Revise API instructions if needed
  </Step>
</Steps>

## Best Practices

### Writing Descriptions

* Be specific about functionality
* Include edge cases
* Define error scenarios
* Specify validation rules

### Testing

* Validate all endpoints
* Test edge cases
* Check error responses
* Verify rate limits

## Pricing

* **\$0.50 per million tokens** (including internal processing tokens).
* Rate limits exist for the free and pro tiers, check out the [pricing page](https://critique-labs.ai/en/pricing) for more details.

Click on API Reference on the right to see the spec for the endpoints we offer.
