Deployments
Read Deployments
Query for deployments.
post/api/deployments/filter
Headers
x-prefect-api-versionstring
Request body
Example request
{
"flows": {
"name": {
"any_": [
"my-flow-1",
"my-flow-2"
],
"like_": "marvin"
},
"tags": {
"all_": [
"tag-1",
"tag-2"
]
}
},
"flow_runs": {
"name": {
"any_": [
"my-flow-run-1",
"my-flow-run-2"
],
"like_": "marvin"
},
"tags": {
"all_": [
"tag-1",
"tag-2"
]
},
"work_queue_name": {
"any_": [
"work_queue_1",
"work_queue_2"
]
}
},
"task_runs": {
"name": {
"any_": [
"my-task-run-1",
"my-task-run-2"
],
"like_": "marvin"
},
"tags": {
"all_": [
"tag-1",
"tag-2"
]
}
},
"deployments": {
"name": {
"any_": [
"my-deployment-1",
"my-deployment-2"
],
"like_": "marvin"
},
"tags": {
"all_": [
"tag-1",
"tag-2"
]
},
"work_queue_name": {
"any_": [
"work_queue_1",
"work_queue_2"
]
}
},
"work_pool_queues": {
"name": {
"any_": [
"wq-1",
"wq-2"
],
"startswith_": [
"marvin",
"Marvin-robot"
]
}
}
}Response
Successful Response
Example response
[
{
"schedule": {
"timezone": "America/New_York"
},
"schedules": [
{
"schedule": {
"timezone": "America/New_York"
}
}
],
"tags": [
"tag-1",
"tag-2"
]
}
]