PipelineStatusResponse
Response with pipeline status
Properties
| Property | Type | Required | Description |
|---|---|---|---|
status | string | β Yes | Status: 'success' or 'error' |
pipeline_status | object | β No | Current pipeline status |
current_stage | object | β No | Current stage (1-6) |
progress_percentage | object | β No | Overall progress |
stage_details | object | β No | Details for each stage |
error | object | β No | Error message if status is 'error' |
Example
{
"status": "example",
"pipeline_status": {},
"current_stage": {},
"progress_percentage": {},
"stage_details": {},
"error": {}
}Used In
Code Examples
TypeScript
interface api__contracts__PipelineStatusResponse {
status: string;
pipeline_status?: any;
current_stage?: any;
progress_percentage?: any;
stage_details?: any;
error?: any;
}
// Usage example
const data: api__contracts__PipelineStatusResponse = {
"status": "example",
"pipeline_status": {},
"current_stage": {},
"progress_percentage": {},
"stage_details": {},
"error": {}
};Python
from data_layer.schemas import api__contracts__PipelineStatusResponse
# Create instance
data = api__contracts__PipelineStatusResponse(
# 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", "pipeline_status": {}, "current_stage": {}, "progress_percentage": {}, "stage_details": {}, "error": {} }'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.