AI Features
SureStage leverages AI to accelerate mock API creation, generate realistic test data, and suggest improvements to your mock configurations.
AI-Powered Response Generation
From Schema
Provide a JSON schema or TypeScript interface, and AI generates realistic response bodies:
- Open a route's response editor
- Click Generate with AI
- Paste your schema or describe the expected response
- Review and edit the generated response
- Save
From Description
Describe what you need in plain language:
"Generate a paginated list of 10 users with realistic names, emails, and profile pictures. Include pagination metadata."
The AI creates a complete response body matching your description.
The AI-Powered Response Generation feature covers REST/HTTP protocol responses. For complete mock definitions of all other protocol types, see the AI Protocol Definition Generator below.
AI Protocol Definition Generator
SureStage's AI can generate complete mock definitions for any of the 30+ supported protocol types. Instead of manually configuring every field, describe what you need and AI creates a fully structured definition.
How to use:
- Open a protocol simulation's Mock Definition Editor
- Toggle on AI Mock Definition Generator at the top of the editor
- Choose a quick template or write a custom prompt:
- E-commerce - Product catalogs, orders, customers, payments
- Healthcare - Patient records, appointments, lab results
- Fintech - Accounts, transactions, compliance data
- IoT - Sensors, telemetry, device status
- Social Media - User profiles, posts, comments, notifications
- Click Generate Preview
- Review the generated JSON preview
- Click Use This Definition to apply to the visual editor
- Make any manual adjustments, then save
The AI generates protocol-aware definitions. For example, a Kafka prompt produces topics with realistic partitions and seed messages, while a GraphQL prompt generates valid SDL schema with resolvers.
Supported protocols: All 30 protocol types including Kafka, GraphQL, gRPC, MongoDB, SCIM, OAuth2, WebSocket, S3, SMTP, Redis, and more.
Requirements: The ai_response_generation feature flag must be enabled.
Smart Route Suggestions
When you import an API spec, AI suggests:
- Missing error responses (400, 401, 403, 404, 500)
- Edge case scenarios
- Realistic test data variations
- Response delays for performance testing
Next Steps
- Routes & Responses - Configure routes manually
- Protocol Editors - Visual editors for all 30 protocol types
- Environments - Save AI-generated configurations