Define API requirements for a feature
Specify API requirements clearly
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Define the API requirements for [feature] from a product perspective. For each API endpoint needed, specify: the business operation it supports, required input fields and validation rules, expected response data, error cases and user-facing messages, rate limiting requirements, and any backwards-compatibility constraints.
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Use Cases
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Pour des spécifications exploitables, demandez au LLM de produire pour chaque endpoint un tableau structuré : colonnes opération, champs, validations, réponse, erreurs, rate limit, rétrocompatibilité. Cela évite les réponses verbeuses et transforme le prompt en véritable document de spécification.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Go further
Similar Prompts
Create a Detailed Customer Persona
Generates a complete, actionable customer persona with profile, motivations, barriers and tailored marketing messages.
B2B SaaS Client Audit: Structure Your Analysis
Generate a structured audit for a B2B SaaS client: onboarding, adoption, retention, expansion with prioritized recommendations.
BTP Prospecting Plan: Target the Right Construction Sites B2B
Prompt to generate a custom B2B prospecting plan for a construction craftsman, with precise targeting and concrete actions.
Hotel Client Audit: The Diagnosis That Converts Bookings
A structured prompt to conduct a complete hotel client audit, covering commercial performance, digital and physical experience, loyalty, and distribution.