PipelineStatusResponse
Response with pipeline status
Properties
| Property | Type | Required | Description |
|---|---|---|---|
pipeline_id | string | β Yes | - |
status | string | β Yes | - |
progress | number | β Yes | - |
steps | array | β Yes | - |
completed_steps | integer | β Yes | - |
total_steps | integer | β Yes | - |
Example
{
"pipeline_id": "example",
"status": "example",
"progress": 0,
"steps": [],
"completed_steps": 0,
"total_steps": 0
}Used In
Code Examples
TypeScript
interface routers__horizontal_pipeline__PipelineStatusResponse {
pipeline_id: string;
status: string;
progress: number;
steps: Record<string, any>[];
completed_steps: number;
total_steps: number;
}
// Usage example
const data: routers__horizontal_pipeline__PipelineStatusResponse = {
"pipeline_id": "example",
"status": "example",
"progress": 0,
"steps": [],
"completed_steps": 0,
"total_steps": 0
};Python
from data_layer.schemas import routers__horizontal_pipeline__PipelineStatusResponse
# Create instance
data = routers__horizontal_pipeline__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 '{ "pipeline_id": "example", "status": "example", "progress": 0, "steps": [], "completed_steps": 0, "total_steps": 0 }'Validation Rules
Required Fields: pipeline_id, status, progress, steps, completed_steps, total_steps
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.