Everything you need to integrate RC Gate into your workflow
Three endpoints. Simple REST API.
Validate PRD markdown with AI analysis
{ "prd_markdown": "..." }Generate quality gate scripts
{ "repo_type": "node-pnpm-ts" }Generate audit reports from logs
{ "logs": { "lint": "..." } }Test the API directly in your browser
Quick start guides for popular languages
# Free tier (no auth required)curl-X POST https://adspy-api.com/prd/validate \ -H "Content-Type: application/json" \ -d '{"prd_markdown": "## Summary\nYour PRD..."}' # Pro/Ultra (with license key)curl-X POST https://adspy-api.com/prd/validate \ -H "Content-Type: application/json" \ -H "X-License-Key: your-license-key" \ -d '{"prd_markdown": "..."}'
constresponse =awaitfetch('https://adspy-api.com/prd/validate', { method: 'POST', headers: { 'Content-Type': 'application/json', // 'X-License-Key': 'your-key' // Pro/Ultra }, body: JSON.stringify({ prd_markdown: yourPrd }) });const{ ok, score, errors, ai_feedback } =awaitresponse.json(); console.log('Score:', score);if(ai_feedback) { console.log('AI Issues:', ai_feedback.issues); console.log('Suggestions:', ai_feedback.suggestions); }
importrequests response = requests.post( 'https://adspy-api.com/prd/validate', headers={ # 'X-License-Key': 'your-key' # Pro/Ultra }, json={'prd_markdown': your_prd} ) data = response.json() print(f"Score: {data['score']}/100")forerrorindata['errors']: print(f"[{error['severity']}] {error['message']}")if'ai_feedback'indata: print(f"AI: {data['ai_feedback']['issues']}")