Loading...
Replace prompt guessing with structured preparation. Better prompts. Consistent outputs. Auditable results.
Raw AI APIs accept unstructured strings and return unpredictable outputs. RioAsk adds a structured preparation layer before the model is ever called — consistent, testable, and auditable prompt infrastructure.
| Capability | Raw AI API | RioAsk + AI |
|---|---|---|
| Topic detection | — | 14 fields, 500+ specialties |
| Gap detection | — | Smart follow-ups before generation |
| Safety protections | Manual | Multi-category screening + disclaimers |
| Consistency | None | Same input = same prompt, every time |
| Quality scoring | — | Multi-dimensional quality assessment |
| Audit trail | — | Version, field, confidence, metadata |
| Safety guardrails | Hope | Built-in protections per field |
RioAsk is not a wrapper. It transforms unstructured questions into structured, safety-protected prompts before any AI model is invoked.
Every API call goes through the same preparation process: your question is checked, the topic is detected, missing context is identified, safety protections are applied, and a structured prompt is assembled.
When the topic is unclear or the input is ambiguous, the API returns follow-up questions instead of a low-quality prompt.
The preparation step does not call an AI model. Structure and safety are enforced before any model generates a response — not after.
Automatic detection across 14 fields and hundreds of specialties with confidence scores and ambiguity detection.
Structured preparation with field-specific context, safety guardrails, and output format controls.
Every prepared prompt receives a quality score and letter grade based on multiple quality checks.
When input is ambiguous, the API returns targeted follow-up questions instead of a low-confidence prompt.
Built-in screening across multiple harm categories with field-specific safety policies. Blocks harmful queries before preparation.
Prepare multiple questions in a single request for workflow automation and bulk processing.
A single POST request prepares any question into a structured prompt with full audit metadata:
curl -X POST https://api.rioask.ai/v1/compile \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"question": "How do I implement JWT authentication in a Node.js API?",
"options": {
"variant": "detailed",
"include_score": true
}
}'{
"domain": "software",
"subdomain": "backend_development",
"confidence": "high",
"needs_clarification": false,
"prompt": "You are an expert backend developer specializing in...",
"score": {
"overall": 87,
"grade": "B+"
},
"slots": {
"goal": "Implement JWT authentication",
"context": "Node.js API",
"audience": null,
"constraints": []
},
"safety": {
"moderation_passed": true,
"disclaimer_injected": false,
"guardrails_active": true
},
"metadata": {
"version": "1.1",
"processing_ms": 12,
"request_id": "req_7f3a2b9c"
}
}Every response includes domain, confidence, score, safety, and metadata — structured fields for audit, observability, and downstream decision-making.
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/compile | Prepare a question into a structured prompt |
POST | /v1/classify | Detect topic and specialty without full preparation |
POST | /v1/moderate | Screen text for harmful content |
GET | /v1/domains | List all fields and specialties |
GET | /v1/usage | Current API usage and rate limit status |
All API requests require a Bearer token. API keys are scoped to your organization and managed from the dashboard.
| Plan | Rate Limit | Daily Quota | Batch Size |
|---|---|---|---|
| Teams | 60 req/min | 5,000/day | 10 |
| Enterprise | 300 req/min | Unlimited | 50 |
Enterprise customers can request custom rate limits, dedicated endpoints, and SLA-backed uptime guarantees.
Official SDKs for TypeScript/JavaScript, Python, and C#/.NET are in development. In the meantime, the REST API works with any HTTP client in any language.
The API returns standard JSON responses with consistent error codes and pagination. No proprietary formats, no vendor lock-in.