cURL
curl --request PUT \ --url https://api.example.com/api/saved_searches/ \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "filters": [ { "object": "<string>", "property": "<string>", "type": "<string>", "operation": "<string>", "value": "<unknown>" } ] } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created": "2023-11-07T05:31:56Z", "updated": "2023-11-07T05:31:56Z", "name": "<string>", "filters": [ { "object": "<string>", "property": "<string>", "type": "<string>", "operation": "<string>", "value": "<unknown>" } ] }
Creates a new saved search from the provided schema.
If a saved search with the same name already exists, the saved search’s fields are replaced.
Data used by the Prefect REST API to create a saved search.
The name of the saved search.
The filter set for the saved search.
Show child attributes
Successful Response
An ORM representation of saved search data. Represents a set of filter criteria.
Was this page helpful?