younifyd
Menu

Create Source Schedule

Create a new schedule for the source

POST/rest/organizations/{organizationId}/sources/{sourceId}/schedules

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Create Source Schedule action (under Source).
  3. Fill in the fields below, then reference the result from later steps as {{createSourceSchedule.response.data}}.

Request

Path parameters

organizationIdstringrequired
sourceIdstringrequired

Request body

Enter the body as JSON in the step's Body field.

enabledboolean
frequencyobject
hourMinuteobject2 fields
monthDayinteger (int32)
seedinteger (int32)
typestring

One ofMINUTELYHOURLYDAILYWEEKLYMONTHLY

valueinteger (int32)
weekDaysarray<string>
idstring
lastExecutionstring (date-time)
organizationIdstring
refreshTypestring

One ofREBUILDFULL_REFRESHINCREMENTAL_REFRESHSECURITY_PROVIDER_REFRESHSECURITY_PROVIDER_REFRESH_ENTITIES_IN_ERRORSECURITY_PROVIDER_REFRESH_ENTITIES_NOT_UPDATEDSECURITY_CACHE_REFRESHSECURITY_CACHE_REFRESH_ENTITIES_IN_ERROR

resourceIdstring
scheduleTypestring

One ofSECURITY_CACHESECURITY_PROVIDERSOURCE

json
{
  "enabled": false,
  "frequency": {
    "hourMinute": {
      "hour": 0,
      "minute": 0
    },
    "monthDay": 0,
    "seed": 0,
    "type": "MINUTELY",
    "value": 0,
    "weekDays": [
      "MONDAY"
    ]
  },
  "id": "string",
  "lastExecution": "2025-01-01T00:00:00Z",
  "organizationId": "string",
  "refreshType": "REBUILD",
  "resourceId": "string",
  "scheduleType": "SECURITY_CACHE"
}

Response

Returns 201 with an object. Read it in later steps with {{createSourceSchedule.response.data.<field>}}.

enabledboolean
frequencyobject
hourMinuteobject2 fields
monthDayinteger (int32)
seedinteger (int32)
typestring

One ofMINUTELYHOURLYDAILYWEEKLYMONTHLY

valueinteger (int32)
weekDaysarray<string>
idstring
lastExecutionstring (date-time)
organizationIdstring
refreshTypestring

One ofREBUILDFULL_REFRESHINCREMENTAL_REFRESHSECURITY_PROVIDER_REFRESHSECURITY_PROVIDER_REFRESH_ENTITIES_IN_ERRORSECURITY_PROVIDER_REFRESH_ENTITIES_NOT_UPDATEDSECURITY_CACHE_REFRESHSECURITY_CACHE_REFRESH_ENTITIES_IN_ERROR

resourceIdstring
scheduleTypestring

One ofSECURITY_CACHESECURITY_PROVIDERSOURCE

json
{
  "enabled": false,
  "frequency": {
    "hourMinute": {
      "hour": 0,
      "minute": 0
    },
    "monthDay": 0,
    "seed": 0,
    "type": "MINUTELY",
    "value": 0,
    "weekDays": [
      "MONDAY"
    ]
  },
  "id": "string",
  "lastExecution": "2025-01-01T00:00:00Z",
  "organizationId": "string",
  "refreshType": "REBUILD",
  "resourceId": "string",
  "scheduleType": "SECURITY_CACHE"
}

Need more? See the Coveo guide for connection setup and behaviour shared by every action.