Prefect
Integration with Prefect.
Last updated
Integration with Prefect.
Last updated
{
"description": "Create Prefect Cloud flow run",
"is_active": true,
"method": "POST",
"url": "https://api.prefect.cloud/api/accounts/${{variables.account_id}}/workspaces/${{variables.workspace_id}}/flow_runs/",
"header": {
"Content-Type": "application/json",
"Authorization": "Bearer ${{secrets.prefect_api_key}}"
"x-prefect-api-version": "${{variables.prefect_api_version}}"
},
"body": {
"name": "erathos_run_${{erathos.table_name}}"
"flow_id": "${{variables.prefect_flow_id}}",
"idempotency_key": "${{erathos.execution_id}}"
},
"rules": [
],
"jobs": [
"<ERATHOS_JOB_ID>",
]
}{
"description": "Create Self-hosted Prefect flow run",
"is_active": true,
"method": "POST",
"url": "https://${{variables.prefect_api_url}}/api/flow_runs/",
"header": {
"Content-Type": "application/json",
"Authorization": "Bearer ${{secrets.prefect_api_key}}"
"x-prefect-api-version": "${{variables.prefect_api_version}}"
},
"body": {
"name": "erathos_run_${{erathos.table_name}}"
"flow_id": "${{variables.prefect_flow_id}}",
"idempotency_key": "${{erathos.execution_id}}"
},
"rules": [
],
"jobs": [
"<ERATHOS_JOB_ID>",
]
}