EmailResponse
Email processing response model
Properties
| Property | Type | Required | Description |
|---|---|---|---|
status | string | β Yes | - |
triage_classification | object | β No | - |
reply | object | β No | - |
confidence_score | object | β No | - |
next_steps | object | β No | - |
Example
{
"status": "example",
"triage_classification": {},
"reply": {},
"confidence_score": {},
"next_steps": {}
}Used In
Code Examples
TypeScript
interface EmailResponse {
status: string;
triage_classification?: any;
reply?: any;
confidence_score?: any;
next_steps?: any;
}
// Usage example
const data: EmailResponse = {
"status": "example",
"triage_classification": {},
"reply": {},
"confidence_score": {},
"next_steps": {}
};Python
from data_layer.schemas import EmailResponse
# Create instance
data = EmailResponse(
# Add your field values here
)cURL
curl -X POST "https://altsportsleagues-backend-2qcdjegnaa-uc.a.run.app/api/endpoint" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{ "status": "example", "triage_classification": {}, "reply": {}, "confidence_score": {}, "next_steps": {} }'Validation Rules
Required Fields: status
Additional Information
- Type: object
- Source: Generated from Pydantic models in
data_layer/schemas/ - Auto-validated: All fields are validated by FastAPI
This documentation is auto-generated from the OpenAPI specification.