# AI21 Labs API Documentation

This is the complete API documentation for connecting to the AI21 Labs API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **AI21 Labs connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/aI21Labs/actions/{actionSlug}/run
```

## AI21 Labs actions

- POST `analyze-sentiment` Analyze Sentiment
- POST `brainstorm-ideas` Brainstorm Ideas
- POST `classify-text` Classify Text
- POST `compare-texts` Compare Texts
- POST `convert-to-bullet-list` Convert To Bullet List
- POST `convert-to-json` Convert To JSON
- POST `create-executive-brief` Create Executive Brief
- POST `create-maestro-run` Create Maestro Run
- POST `create-outline` Create Outline
- POST `draft-email` Draft Email
- POST `draft-meeting-notes` Draft Meeting Notes
- POST `evaluate-against-requirements` Evaluate Against Requirements
- POST `explain-technical-concept` Explain Technical Concept
- POST `extract-keywords` Extract Keywords
- POST `extract-structured-data` Extract Structured Data
- POST `generate-action-items` Generate Action Items
- POST `generate-blog-draft` Generate Blog Draft
- POST `generate-checklist` Generate Checklist
- POST `generate-faq` Generate FAQ
- POST `generate-product-description` Generate Product Description
- POST `generate-social-post` Generate Social Post
- POST `generate-study-guide` Generate Study Guide
- POST `identify-risks` Identify Risks
- GET `list-library-files` List Library Files
- GET `retrieve-maestro-run` Retrieve Maestro Run
- POST `review-document` Review Document
- POST `rewrite-text` Rewrite Text
- POST `simplify-text` Simplify Text
- POST `summarize-text` Summarize Text
- POST `translate-text` Translate Text
