API Reference
Workflows Documentation

workflows API

Endpoints for workflows operations.

Endpoints

POST /workflows/schedule

Schedule Workflow

Schedule or update a workflow

Request Body

{}

Responses

200: Successful Response

422: Validation Error

Examples

curl -X POST "https://api.altsportsdata.com/workflows/schedule" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /workflows/schedule/{workflow_id}"}

Get Workflow Schedule

Get workflow schedule configuration

Parameters

NameInTypeRequiredDescription
workflow_idpathstringYes-

Responses

200: Successful Response

422: Validation Error

Examples

curl -X GET "https://api.altsportsdata.com/workflows/schedule/{workflow_id}"}" \
  -H "Content-Type: application/json"

DELETE /workflows/schedule/{workflow_id}"}

Delete Workflow Schedule

Delete a workflow schedule

Parameters

NameInTypeRequiredDescription
workflow_idpathstringYes-

Responses

200: Successful Response

422: Validation Error

Examples

curl -X DELETE "https://api.altsportsdata.com/workflows/schedule/{workflow_id}"}" \
  -H "Content-Type: application/json"

GET /workflows/schedules

List Workflow Schedules

List all workflow schedules

Responses

200: Successful Response

Examples

curl -X GET "https://api.altsportsdata.com/workflows/schedules" \
  -H "Content-Type: application/json"

POST /workflows/run

Run Workflow

Execute a workflow immediately

Request Body

{}

Responses

200: Successful Response

422: Validation Error

Examples

curl -X POST "https://api.altsportsdata.com/workflows/run" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /workflows/history

Get Workflow History

Get workflow execution history

Parameters

NameInTypeRequiredDescription
workflow_idquerystringNo-
limitqueryintegerNo-
statusquerystringNo-

Responses

200: Successful Response

422: Validation Error

Examples

curl -X GET "https://api.altsportsdata.com/workflows/history" \
  -H "Content-Type: application/json"

GET /workflows/stats

Get Workflow Stats

Get workflow execution statistics

Responses

200: Successful Response

Examples

curl -X GET "https://api.altsportsdata.com/workflows/stats" \
  -H "Content-Type: application/json"

Platform

Documentation

Community

Support

partnership@altsportsdata.comdev@altsportsleagues.ai

2025 Β© AltSportsLeagues.ai. Powered by AI-driven sports business intelligence.

πŸ€– AI-Enhancedβ€’πŸ“Š Data-Drivenβ€’βš‘ Real-Time