v1
latestOpenAPI 3.1.02026-07-2481742657.4 KBRun a search query within a collection
Run a search query across a collection's assets. Reference the documentation on Censys Query Language for information about query syntax. Host services that match your search criteria will be returned in a matched_services object.
Path parameters
The UID for the collection
The UID for the collection
Query parameters
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.
Headers
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field via the query parameter.
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field via the query parameter.
Request body
Example request
{
"query": "host.services: (protocol=SSH and not port: 22)"
}Response
OK