Run a search query within a collection
Changed onRun 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.<br><br>In a SOC environment, use this endpoint to search only within the defined scope of a collection, so triage and hunting results stay relevant instead of covering the whole internet.
Request
- Base URLhttps://api.platform.censys.io
- URLhttps://api.platform.censys.io/v3/collections/{collection_uid}/search/query
- AuthHTTP bearer
Path parameters
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.
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.
Request body
Example request
{
"query": "host.services: (protocol=SSH and not port: 22)"
}Response
OK
Changes
- breaking
the
/////////response's property format changed fromhexto no format for status - breaking
the
///////response's property format changed fromhexto no format for status - breaking
the
/////////response's property format changed fromhexto no format for status - breaking
the
///////response's property format changed fromhexto no format for status - breaking
the
/////////response's property format changed fromhexto no format for status - breaking
the
///////response's property format changed fromhexto no format for status - breaking
the
/////////response's property format changed fromhexto no format for status - breaking
the
///////response's property format changed fromhexto no format for status - breaking
the
////////////response's property format changed fromhexto no format for status - breaking
the
//////////response's property format changed fromhexto no format for status - breaking
the
////////////response's property format changed fromhexto no format for status - breaking
the
//////////response's property format changed fromhexto no format for status - breaking
the
////////////response's property format changed fromhexto no format for status - breaking
the
//////////response's property format changed fromhexto no format for status - breaking
the
////////////response's property format changed fromhexto no format for status - breaking
the
//////////response's property format changed fromhexto no format for status - breaking
the
////////////response's property format changed fromutf8to no format for status - breaking
the
//////////response's property format changed fromutf8to no format for status - breaking
the
/////////response's property format changed fromutf8to no format for status - breaking
the
/////////response's property format changed fromutf8to no format for status - breaking
the
////////response's property format changed fromutf8to no format for status - breaking
the
//////////response's property format changed fromutf8to no format for status - breaking
the
/////////response's property format changed fromhexto no format for status - breaking
the
////////response's property format changed fromutf8to no format for status - breaking
the
/////////response's property format changed fromhexto no format for status - breaking
the
//////////response's property format changed fromutf8to no format for status - breaking
the
//////////response's property format changed fromutf8to no format for status - breaking
the
//////////response's property format changed fromhexto no format for status - breaking
the
////////response's property format changed fromhexto no format for status - breaking
the
//////////response's property format changed fromhexto no format for status - breaking
the
////////response's property format changed fromhexto no format for status - breaking
the
//////////response's property format changed fromhexto no format for status - breaking
the
////////response's property format changed fromhexto no format for status - breaking
the
//////////response's property format changed fromhexto no format for status - breaking
the
////////response's property format changed fromhexto no format for status - breaking
the
//////////response's property format changed fromutf8to no format for status - breaking
the
////////response's property format changed fromutf8to no format for status - info
added the optional property
//////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
/////////to the response with the status - info
added the optional property
/////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status
- breaking