CloudQuery Filters API
The filters API from CloudQuery — 7 operation(s) for filters.
The filters API from CloudQuery — 7 operation(s) for filters.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/cloudquery:cloudquery-filters-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: support@cloudquery.io
name: CloudQuery Support Team
url: https://cloudquery.io
description: Welcome to the CloudQuery Platform API documentation!
license:
name: MIT
url: https://spdx.org/licenses/MIT
termsOfService: https://www.cloudquery.io/terms
title: CloudQuery Platform OpenAPI Spec Filters API
version: 1.0.0
security:
- bearerAuth: []
- cookieAuth: []
tags:
- name: Filters
paths:
/filters:
get:
description: List Filters
operationId: PlatformListFilters
parameters:
- $ref: '#/components/parameters/platform_per_page'
- $ref: '#/components/parameters/platform_page'
- $ref: '#/components/parameters/platform_filter_tags'
- $ref: '#/components/parameters/platform_filter_name_filter'
- $ref: '#/components/parameters/platform_filter_expression_filter'
responses:
'200':
description: Response
content:
application/json:
schema:
required:
- items
- metadata
properties:
items:
type: array
items:
$ref: '#/components/schemas/PlatformFilter'
metadata:
$ref: '#/components/schemas/PlatformListMetadata'
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform list filters
x-summary-source: derived
/filters/tags:
get:
description: List Filter Tags
operationId: PlatformListFilterTags
parameters:
- $ref: '#/components/parameters/platform_per_page'
- $ref: '#/components/parameters/platform_page'
responses:
'200':
description: Response
content:
application/json:
schema:
required:
- items
- metadata
properties:
items:
type: array
items:
$ref: '#/components/schemas/PlatformFilterTag'
metadata:
$ref: '#/components/schemas/PlatformListMetadata'
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform list filter tags
x-summary-source: derived
/filters/{filter_id}:
get:
description: Get a table filter by ID
operationId: PlatformGetFilterByID
parameters:
- $ref: '#/components/parameters/platform_filter_id'
responses:
'200':
description: Response
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFilter'
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform get filter by ID
x-summary-source: derived
patch:
description: Update a table filter
operationId: PlatformUpdateFilter
parameters:
- $ref: '#/components/parameters/platform_filter_id'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFilterUpdate'
responses:
'200':
description: Response
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFilter'
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform update filter
x-summary-source: derived
delete:
description: Delete a table filter
operationId: PlatformDeleteFilter
parameters:
- $ref: '#/components/parameters/platform_filter_id'
responses:
'204':
description: Deleted
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform delete filter
x-summary-source: derived
/queries/{query_id}/filters:
get:
description: List Query Filters
operationId: PlatformQueryListFilters
parameters:
- $ref: '#/components/parameters/platform_query_id'
- $ref: '#/components/parameters/platform_per_page'
- $ref: '#/components/parameters/platform_page'
- $ref: '#/components/parameters/platform_filter_tags'
responses:
'200':
description: Response
content:
application/json:
schema:
required:
- items
- metadata
properties:
items:
type: array
items:
$ref: '#/components/schemas/PlatformFilter'
metadata:
$ref: '#/components/schemas/PlatformListMetadata'
'400':
$ref: '#/components/responses/PlatformBadRequest'
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform query list filters
x-summary-source: derived
post:
description: Save Query Filter
operationId: PlatformQuerySaveFilter
parameters:
- $ref: '#/components/parameters/platform_query_id'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFilterCreate'
responses:
'200':
description: Filter already exists
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFilter'
'201':
description: Filter created
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFilter'
'400':
$ref: '#/components/responses/PlatformBadRequest'
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform query save filter
x-summary-source: derived
/queries/{query_id}/filters/tags:
get:
description: List Filter Tags For A Saved Query
operationId: PlatformQueryListFilterTags
parameters:
- $ref: '#/components/parameters/platform_query_id'
- $ref: '#/components/parameters/platform_per_page'
- $ref: '#/components/parameters/platform_page'
responses:
'200':
description: Response
content:
application/json:
schema:
required:
- items
- metadata
properties:
items:
type: array
items:
$ref: '#/components/schemas/PlatformFilterTag'
metadata:
$ref: '#/components/schemas/PlatformListMetadata'
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform query list filter tags
x-summary-source: derived
/tables/{table_name}/filters:
get:
description: List Table Filters
operationId: PlatformTableListFilters
parameters:
- $ref: '#/components/parameters/platform_table_name'
- $ref: '#/components/parameters/platform_per_page'
- $ref: '#/components/parameters/platform_page'
- $ref: '#/components/parameters/platform_filter_tags'
responses:
'200':
description: Response
content:
application/json:
schema:
required:
- items
- metadata
properties:
items:
type: array
items:
$ref: '#/components/schemas/PlatformFilter'
metadata:
$ref: '#/components/schemas/PlatformListMetadata'
'400':
$ref: '#/components/responses/PlatformBadRequest'
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform table list filters
x-summary-source: derived
post:
description: Save Table Filter
operationId: PlatformTableSaveFilter
parameters:
- $ref: '#/components/parameters/platform_table_name'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFilterCreate'
responses:
'200':
description: Filter already exists
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFilter'
'201':
description: Filter created
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFilter'
'400':
$ref: '#/components/responses/PlatformBadRequest'
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform table save filter
x-summary-source: derived
/tables/{table_name}/filters/tags:
get:
description: List Filter Tags For A Table
operationId: PlatformTableListFilterTags
parameters:
- $ref: '#/components/parameters/platform_table_name'
- $ref: '#/components/parameters/platform_per_page'
- $ref: '#/components/parameters/platform_page'
responses:
'200':
description: Response
content:
application/json:
schema:
required:
- items
- metadata
properties:
items:
type: array
items:
$ref: '#/components/schemas/PlatformFilterTag'
metadata:
$ref: '#/components/schemas/PlatformListMetadata'
'401':
$ref: '#/components/responses/PlatformRequiresAuthentication'
'403':
$ref: '#/components/responses/PlatformForbidden'
'404':
$ref: '#/components/responses/PlatformNotFound'
'422':
$ref: '#/components/responses/PlatformUnprocessableEntity'
'500':
$ref: '#/components/responses/PlatformInternalError'
tags:
- Filters
summary: Platform table list filter tags
x-summary-source: derived
components:
schemas:
PlatformFilterTag:
description: A table column filter tag.
type: string
PlatformFilterCreate:
title: Filter definition for creating a filter
type: object
description: Saved filter
additionalProperties: false
required:
- name
- expression
properties:
name:
type: string
example: t2.micro EC2 instances
expression:
$ref: '#/components/schemas/PlatformFilterExpression'
public:
type: boolean
default: true
x-omitempty: false
x-go-type-skip-optional-pointer: true
description: Whether the filter is visible to all users, or only to the user who created it
tags:
type: array
items:
$ref: '#/components/schemas/PlatformFilterTag'
x-go-type-skip-optional-pointer: true
description:
type: string
example: Filter to find all EC2 instances of type t2.micro from the aws_ec2_instance raw table
PlatformTableName:
description: The name of the table.
type: string
example: cloud_assets
PlatformFilterUpdate:
title: Filter definition for updating a filter
description: Filter Update Definition
type: object
properties:
name:
type: string
example: t2.micro EC2 instances
description:
type: string
expression:
$ref: '#/components/schemas/PlatformFilterExpression'
tags:
type: array
items:
$ref: '#/components/schemas/PlatformFilterTag'
PlatformFilterExpression:
description: A table column filter.
type: string
example: resource_type=aws_s3_buckets
PlatformBasicError:
additionalProperties: false
description: Basic Error
required:
- message
- status
properties:
message:
type: string
status:
type: integer
title: Basic Error
type: object
PlatformQueryID:
description: The unique ID for the query.
type: string
format: uuid
x-go-name: QueryID
PlatformFilter:
title: Filter
type: object
description: Saved filter
additionalProperties: false
required:
- id
- name
- expression
- created_at
properties:
id:
description: ID of the Filter
type: string
format: uuid
example: 12345678-1234-1234-1234-1234567890ab
x-go-name: ID
name:
type: string
example: t2.micro EC2 instances
expression:
$ref: '#/components/schemas/PlatformFilterExpression'
description:
type: string
example: Filter to find all EC2 instances of type t2.micro from the aws_ec2_instance raw table
table:
$ref: '#/components/schemas/PlatformTableName'
query_id:
$ref: '#/components/schemas/PlatformQueryID'
user_id:
$ref: '#/components/schemas/PlatformUserID'
tags:
type: array
items:
$ref: '#/components/schemas/PlatformFilterTag'
x-go-type-skip-optional-pointer: true
created_at:
example: '2017-07-14T16:53:42Z'
format: date-time
type: string
PlatformListMetadata:
required:
- page_size
properties:
total_count:
type: integer
last_page:
type: integer
page_size:
type: integer
time_ms:
type: integer
PlatformUserID:
description: ID of the User
type: string
format: uuid
example: 12345678-1234-1234-1234-1234567890ab
x-go-name: UserID
PlatformFieldError:
allOf:
- $ref: '#/components/schemas/PlatformBasicError'
- properties:
errors:
items:
type: string
type: array
field_errors:
additionalProperties:
type: string
type: object
type: object
PlatformFilterID:
description: The unique ID for the filter.
type: string
format: uuid
x-go-name: FilterID
parameters:
platform_filter_expression_filter:
name: expression_filter
in: query
required: false
schema:
description: Filter by filter expression
type: string
platform_filter_name_filter:
name: name_filter
in: query
required: false
schema:
description: Filter by filter name
type: string
platform_filter_tags:
name: tag
in: query
description: Filter tags
allowEmptyValue: true
explode: true
schema:
type: array
items:
$ref: '#/components/schemas/PlatformFilterTag'
x-go-name: FilterTags
platform_page:
description: Page number of the results to fetch
in: query
name: page
required: false
schema:
default: 1
minimum: 1
type: integer
format: int64
platform_table_name:
in: path
name: table_name
required: true
schema:
$ref: '#/components/schemas/PlatformTableName'
platform_per_page:
description: The number of results per page (max 1000).
in: query
name: per_page
required: false
schema:
default: 100
maximum: 1000
minimum: 1
type: integer
format: int64
platform_query_id:
in: path
name: query_id
required: true
schema:
$ref: '#/components/schemas/PlatformQueryID'
x-go-name: QueryID
platform_filter_id:
in: path
name: filter_id
required: true
schema:
$ref: '#/components/schemas/PlatformFilterID'
x-go-name: FilterID
responses:
PlatformBadRequest:
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFieldError'
description: Bad request
PlatformRequiresAuthentication:
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformBasicError'
description: Requires authentication
PlatformForbidden:
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFieldError'
description: Forbidden
PlatformNotFound:
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformBasicError'
description: Resource not found
PlatformUnprocessableEntity:
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformFieldError'
description: UnprocessableEntity
PlatformInternalError:
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformBasicError'
description: Internal Error
securitySchemes:
bearerAuth:
scheme: bearer
type: http
basicAuth:
scheme: basic
type: http
cookieAuth:
scheme: cookie
type: http