Skip to main content
POST
/
api
/
work_pools
/
count
Count Work Pools
curl --request POST \
  --url https://api.example.com/api/work_pools/count \
  --header 'Content-Type: application/json' \
  --data '
{
  "work_pools": {
    "operator": "and_",
    "id": {
      "any_": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ]
    },
    "name": {
      "any_": [
        "<string>"
      ]
    },
    "type": {
      "any_": [
        "<string>"
      ]
    }
  }
}
'
123

Headers

x-prefect-api-version
string

Body

application/json
work_pools
WorkPoolFilter · object

Filter work pools. Only work pools matching all criteria will be returned

Response

Successful Response

The response is of type integer.