Filters

List Filters

get

Retrieves a paginated list of filters.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Query parameters
filter[type]stringOptional

Filter results by type.

filter[field]stringOptional

Filter results by field.

filter[comparison]stringOptional

Filter results by comparison.

filter[model_type]stringOptional

Filter results by model_type.

filter[model_id]stringOptional

Filter results by model_id.

filter[location]stringOptional

Filter results by location.

filter[is_default]stringOptional

Filter results by is_default.

filter[keep_matching]stringOptional

Filter results by keep_matching.

sortstringOptional

Sort field. Prefix with - for descending. Available: type, field, comparison

pageinteger · min: 1Optional

Page number for pagination.

Default: 1
per_pageinteger · min: 1 · max: 100Optional

Number of results per page.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/filters

Create Filter

post

Creates a new filter.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Body
typestringRequired
comparisonstringRequired
valuestring · max: 1024 · nullableOptional
value_typestring · nullableOptional
keep_matchingstringRequired
operator_logicstring · nullableOptional
match_orderstringOptional
is_defaultstringOptional
locationstring · nullableOptional
model_typestringRequired
model_idintegerRequired
date_formatstring · nullableOptional
fieldstring · min: 1Required
Responses
chevron-right
200

Successful response

application/json
post
/api/v1/filters

Get Filter

get

Retrieves the details of a specific filter.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
filterstringRequired

The filter identifier.

Query parameters
filter[type]stringOptional

Filter results by type.

filter[field]stringOptional

Filter results by field.

filter[comparison]stringOptional

Filter results by comparison.

filter[model_type]stringOptional

Filter results by model_type.

filter[model_id]stringOptional

Filter results by model_id.

filter[location]stringOptional

Filter results by location.

filter[is_default]stringOptional

Filter results by is_default.

filter[keep_matching]stringOptional

Filter results by keep_matching.

sortstringOptional

Sort field. Prefix with - for descending. Available: type, field, comparison

pageinteger · min: 1Optional

Page number for pagination.

Default: 1
per_pageinteger · min: 1 · max: 100Optional

Number of results per page.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/filters/{filter}

Update Filter

put

Updates an existing filter.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
filterstringRequired

The filter identifier.

Body
typestringOptional
comparisonstringOptional
valuestring · max: 1024Optional
value_typestring · nullableOptional
keep_matchingstringOptional
operator_logicstring · nullableOptional
match_orderstringOptional
is_defaultstringOptional
locationstring · nullableOptional
date_formatstring · nullableOptional
fieldstring · min: 1Optional
Responses
chevron-right
200

Successful response

application/json
put
/api/v1/filters/{filter}

Delete Filter

delete

Permanently deletes a specific filter.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
filterstringRequired

The filter identifier.

Responses
chevron-right
200

Successful response

application/json
messagestringOptional
delete
/api/v1/filters/{filter}

Last updated

Was this helpful?