documentation/features/ai-features.mdx
<span style={{ display: 'inline-block', border: '1.5px solid #07C983', color: '#07C983', fontSize: '0.8rem', padding: '0.4em 0.5em', borderRadius: '0.4em', verticalAlign: 'middle', backgroundColor: 'transparent', fontWeight: 'bold' }}>Experimental</span>
Hoppscotch now offers a set of AI-powered features designed to simplify core stages of the API development lifecycle. These include renaming of API requests, generation of structured request payloads, and scripting capabilities for pre-request logic and test cases.
<Warning> These AI features are currently in the alpha stage and are exclusively available on Hoppscotch Cloud and our Desktop app. They are NOT supported in the Self-Hosted Edition at this time. </Warning>
To activate AI-powered features, follow these steps:
When saving an API request to a collection, click the Modify with AI icon ( .⟡⁺ ) next to the request name field to have the system automatically assign a name based on the request's context and properties. Alternatively, you can use this feature to rename the pre-saved requests.
You can even customize the naming convention (e.g., CamelCase, PascalCase) through the Request Naming Style dropdown located in the Experiments section of the Settings page.
Dynamically generate structured request payloads:
Generate pre-request scripts to handle necessary setup operations before sending the request:
Develop test cases for your API workflow: