Robin
03/29/2023, 5:58 PMPENDING
.
I successfully submitted it with deployment_id
, but it still remains in PENDING
š
I tried to submit it with work_pool
but that does not seem to be a valid request?
I read the docs but it is not clear to me, which role
work_pool
, deployment
and work queue
have š¤
PS: The successful run was triggered in UI, without setting anything different than the flow defaults.redsquare
03/29/2023, 6:01 PMRobin
03/29/2023, 9:21 PMPENDING
?PENDING
(see cancelled and pending flows)idempotency_key
?SCHEDULED
when calling via API solved the problem šredsquare
03/29/2023, 10:41 PMRobin
03/30/2023, 7:36 AMSCHEDULED
by default?Carlos Cueto
04/01/2023, 6:26 AMJeff Hale
04/03/2023, 2:18 PMRobin
04/03/2023, 2:30 PMjustabill
04/03/2023, 2:50 PMRobin
04/03/2023, 3:04 PMChandan Maruthi
04/25/2023, 9:51 PMcurl --location --request POST '<https://api.prefect.cloud/api/accounts/><account_id>/workspaces/<workspace_id>/deployments/<deployment_id>/create_flow_run' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_token>' \
--header 'X-PREFECT-API-VERSION: 0.8.4' \
--data-raw '{
"name": "my-flow-run",
"idempotency_key": "string",
"infrastructure_document_id":"<see deployment screen for this id>",
"state": {
"type": "SCHEDULED"
}
}'