Skip to main content

Count Jobs

Count Jobs

Provides the count of jobs of the specified type(s).

HTTP Request

GET /jobs/count

Optional Parameters

NameTypeDescription
filters/fieldstringThe type of field to filter on.
one of:"name" or "user_tag" or "status" or "substatus"
filters/valuesarrayFilter match values.

Count Jobs Example

$ curl -u OAPI_KEY:OAPI_SECRET https://api-demo.hybrik.com/v1/curl -u OAPI_KEY:OAPI_SECRET https://api-demo.hybrik.com/v1/jobs/count \
-G \
-d filters[0][field]=status \
-d filters[0][values][]=active \
-H "X-Hybrik-Sapiauth: xxx" \
-H "X-Hybrik-Compliance: 20220412"