Responses
Responses are the structured decisions and feedback that human reviewers provide when completing HITL.sh requests. The response system supports six different types, each designed for specific use cases and providing different levels of structure and validation.What is a Response?
A response in HITL.sh represents the human reviewer’s decision and contains:- Response Data: The actual decision or feedback in a structured format
- Response Type: Which of the six supported response types was used
- Reviewer Information: Who provided the response and when
- Validation Status: Whether the response meets the configured requirements
- Processing Metadata: Response time, platform used, and other tracking data
Responses are collected via the HITL mobile app and made available to your applications via API polling or webhooks. Each response type has its own data structure and validation rules.
Response Types Overview
HITL.sh supports six distinct response types, each optimized for different decision-making scenarios:Text Response
Free-form feedback with character limits
- Detailed explanations and qualitative feedback
- Configurable length requirements
- Perfect for open-ended reviews
Single Select
One choice from predefined options
- Clear decision workflows
- Visual options with colors and descriptions
- Ideal for approve/reject scenarios
Multi Select
Multiple choices from option lists
- Issue identification and categorization
- Configurable selection limits
- Great for checklists and audits
Rating Response
Numeric ratings on custom scales
- Quality assessments and scoring
- Custom labels and step increments
- Perfect for performance evaluation
Number Response
Numeric input with validation
- Pricing, quantities, measurements
- Formatting with prefixes and suffixes
- Range validation and decimal control
Response Configuration
When creating requests, you specify how reviewers should respond by setting theresponse_type
and response_config
:
Text Responses
For detailed feedback and explanations:Single Select Responses
For structured decisions with predefined options:Multi Select Responses
For identifying multiple issues or aspects:Rating Responses
For quality assessments and scoring:Number Responses
For quantitative input with validation:Response Processing
Accessing Response Data
Once a reviewer completes a request, you can access the response data via API:Response Processing Patterns
Handle different response types appropriately in your application:Response Validation
HITL.sh automatically validates responses against the configured rules:Validation Rules by Type
Text Validation
Text Validation
- Response must be a non-empty string (if required)
- Character count must be within min_length and max_length bounds
- Cannot contain only whitespace if required
Select Validation
Select Validation
- Selected values must exist in the configured options array
- Single select allows exactly one selection
- Multi select respects min_selections and max_selections limits
- No duplicate selections allowed in multi select
Rating Validation
Rating Validation
- Value must be within scale_min and scale_max bounds
- Must align with scale_step increments (e.g., only .0 and .5 for step=0.5)
- Cannot be null if required
Number Validation
Number Validation
- Value must be within min_value and max_value bounds
- Decimal places cannot exceed configured limit
- Negative numbers only allowed if allow_negative is true
Handling Validation Errors
The mobile app prevents invalid responses, but you should handle edge cases:Response Analytics
Tracking Response Patterns
Monitor response patterns to improve your workflows:Response Quality Metrics
Track response quality and consistency:Best Practices
Choosing Response Types
1
Match Complexity to Need
Use simple response types (single select) for straightforward decisions. Reserve complex types (multi select, text) for situations requiring nuanced evaluation.
2
Consider Reviewer Experience
Remember that reviewers interact with responses on mobile devices. Keep options concise and touch-friendly.
3
Balance Structure and Flexibility
Structured responses (select, rating, number) are easier to process, but text responses provide richer feedback when needed.
4
Plan for Scale
Consider how you’ll process and analyze responses when choosing types. Structured responses are easier to aggregate and analyze.
Response Design Tips
Clear Options
For select responses, use descriptive labels and include helpful descriptions. Consider adding colors for visual clarity.
Reasonable Limits
Set appropriate character limits for text, selection limits for multi select, and ranges for numeric inputs.
Meaningful Defaults
Always provide sensible default responses that represent safe outcomes when requests timeout.
Consistent Language
Use consistent terminology across response options to avoid confusion and improve decision quality.
Next Steps
Response Types Guide
Detailed documentation of all six response types with examples
Request Creation
Learn how to configure responses when creating requests
Mobile App Guide
See how reviewers interact with different response types
Best Practices
Advanced strategies for optimizing response quality and processing