ProcessingResponse
Response model for email processing
Properties
| Property | Type | Required | Description |
|---|---|---|---|
status | string | β Yes | - |
workflow_type | object | β No | - |
message | object | β No | - |
trace_id | object | β No | - |
completeness_score | object | β No | - |
next_steps | object | β No | - |
Example
{
"status": "example",
"workflow_type": {},
"message": {},
"trace_id": {},
"completeness_score": {},
"next_steps": {}
}Used In
Code Examples
TypeScript
interface ProcessingResponse {
status: string;
workflow_type?: any;
message?: any;
trace_id?: any;
completeness_score?: any;
next_steps?: any;
}
// Usage example
const data: ProcessingResponse = {
"status": "example",
"workflow_type": {},
"message": {},
"trace_id": {},
"completeness_score": {},
"next_steps": {}
};Python
from data_layer.schemas import ProcessingResponse
# Create instance
data = ProcessingResponse(
# 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", "workflow_type": {}, "message": {}, "trace_id": {}, "completeness_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.