Skip to main content

List scheduled searches

GET 

/scheduled-searches

Returns a list of scheduled searches.

Request

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.

    Example: 0
    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

    Filter results using the standard syntax described in V3 API Standard Collection Parameters

    Filtering is supported for the following fields and operators:

    owner.id: eq

    savedSearchId: eq

    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 stringrequired

    Possible values: [IDENTITY]

    The type of object being referenced

    id stringrequired

    The ID of the referenced object

    ownerId stringdeprecated

    The ID of the scheduled search owner.

    Please use the id in the owner object instead.

    name stringnullable

    The name of the scheduled search.

    description stringnullable

    The description of the scheduled search.

    savedSearchId stringrequired

    The ID of the saved search that will be executed.

    created date-timenullable

    The date the scheduled search was initially created.

    modified date-timenullable

    The last date the scheduled search was modified.

    schedule objectrequired

    The schedule information.

    type ScheduleTyperequired

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

    Enum representing the currently supported schedule types.

    Additional values may be added in the future without notice.

    months objectnullable

    The months to execute the search. This only applies to schedules with a type of ANNUALLY.

    type SelectorTyperequired

    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[]required

    The selected values.

    interval int32nullable

    The selected interval for RANGE selectors.

    days objectnullable

    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 or ANNUALLY, 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 SelectorTyperequired

    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[]required

    The selected values.

    interval int32nullable

    The selected interval for RANGE selectors.

    hours objectrequired

    The hours selected.

    type SelectorTyperequired

    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[]required

    The selected values.

    interval int32nullable

    The selected interval for RANGE selectors.

    expiration date-timenullable

    A date-time in ISO-8601 format

    timeZoneId stringnullable

    The canonical TZ identifier the schedule will run in (ex. America/New_York). If no timezone is specified, the org's default timezone is used.

    recipients object[]required

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

  • Array [
  • type stringrequired

    Possible values: [IDENTITY]

    The type of object being referenced

    id stringrequired

    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 occur when 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...