Skip to main content

List scheduled searches​

Returns a list of scheduled searches.

Query Parameters
  • offset int32

    Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.

  • limit int32

    Possible values: <= 250

    Default value: 250

    Max number of results to return. See V3 API Standard Collection Parameters for more information.

    Example: 250
  • count boolean

    If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored.

    Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used.

    See V3 API Standard Collection Parameters for more information.

    Example: true
  • filters string

    An expression used to constrain the result set using the filtering syntax described in V3 API Standard Collection Parameters.

    Allowed filter properties: owner.id, savedSearchId

    Allowed filter operator: eq

    Example filters:

    owner.id eq "0de46054-fe90-434a-b84e-c6b3359d0c64" -- returns scheduled searches for the specified owner ID

    savedSearchId eq "6cc0945d-9eeb-4948-9033-72d066e1153e" -- returns scheduled searches that reference the specified saved search

    owner.id eq me or savedSearchId eq "6cc0945d-9eeb-4948-9033-72d066e1153e" -- returns all of the current user's scheduled searches as well as all scheduled searches that reference the specified saved search

    Example: savedSearchId eq "6cc0945d-9eeb-4948-9033-72d066e1153e"
Responses

The list of requested scheduled searches.

Response Headers
  • X-Total-Count integer
    Example: 5

    The total result count (returned only if the count parameter is specified as true).


Schema array
  • id string

    The scheduled search ID.

  • owner object

    The owner of the scheduled search

  • type string

    Possible values: [IDENTITY]

    The type of object being referenced

  • id string

    The ID of the referenced object

  • ownerId string deprecated

    The ID of the scheduled search owner.

    Please use the id in the owner object instead.

  • name string

    The name of the scheduled search.

  • description string

    The description of the scheduled search.

  • savedSearchId string

    The ID of the saved search that will be executed.

  • created date-time

    The date the scheduled search was initially created.

  • modified date-time

    The last date the scheduled search was modified.

  • schedule object

    The schedule information.

  • type string

    Possible values: [DAILY, WEEKLY, MONTHLY, CALENDAR]

    Enum representing the currently supported schedule types.

    Additional values may be added in the future without notice.

  • days object

    The days to execute the search.

    If type is WEEKLY, the values will be MON, TUE, WED, THU, FRI, SAT, and SUN.

    If type is MONTHLY, the values will be a number in double quotes, like "1", "10", or "28". Optionally, the value "L" can be used to refer to the last day of the month.

  • type string

    Possible values: [LIST, RANGE]

    Enum representing the currently supported selector types.

    LIST - the values array contains one or more distinct values.

    RANGE - the values array contains two values: the start and end of the range, inclusive.

    Additional values may be added in the future without notice.

  • values string[]

    The selected values.

  • interval int32

    The selected interval for RANGE selectors.

  • hours object

    The hours selected.

  • type string

    Possible values: [LIST, RANGE]

    Enum representing the currently supported selector types.

    LIST - the values array contains one or more distinct values.

    RANGE - the values array contains two values: the start and end of the range, inclusive.

    Additional values may be added in the future without notice.

  • values string[]

    The selected values.

  • interval int32

    The selected interval for RANGE selectors.

  • expiration date-time

    A date-time in ISO-8601 format

  • timeZoneId string

    The GMT formatted timezone the schedule will run in (ex. GMT-06:00). If no timezone is specified, the org's default timezone is used.

  • recipients object[]

    A list of identities that should receive the scheduled search report via email.

  • type string

    Possible values: [IDENTITY]

    The type of object being referenced

  • id string

    The ID of the referenced object

  • enabled boolean

    Default value: false

    Indicates if the scheduled search is enabled.

  • emailEmptyResults boolean

    Default value: false

    Indicates if email generation should not be suppressed if search returns no results.

  • displayQueryDetails boolean

    Default value: false

    Indicates if the generated email should include the query and search results preview (which could include PII).

Loading...