MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / get_pipeline_status

Function get_pipeline_status

backend/app/api/pipelines.py:104–115  ·  view source on GitHub ↗

Get the current status of a pipeline.

(pipeline_id: str)

Source from the content-addressed store, hash-verified

102
103@router.get("/{pipeline_id}/status")
104async def get_pipeline_status(pipeline_id: str):
105 """Get the current status of a pipeline."""
106 if pipeline_id not in pipelines_store:
107 raise HTTPException(status_code=404, detail="Pipeline not found")
108
109 pipeline = pipelines_store[pipeline_id]
110
111 return {
112 "pipeline_id": pipeline_id,
113 "status": pipeline.status,
114 "updated_at": pipeline.updated_at
115 }
116
117@router.get("/{pipeline_id}/results")
118async def get_pipeline_results(pipeline_id: str):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected