List recurring task occurrences
List recurring task occurrences. See the OpenAPI-defined parameters, request body, and responses below.
GET
/FlowRecurringTask/{id}/occurrencesList recurring task occurrences. See the OpenAPI-defined parameters, request body, and responses below.
OpenAPI description: Retorna a previsão das próximas ocorrências, considerando exceções ainda não processadas, reagendamentos e cancelamentos. Os horários original e agendado são retornados em UTC, ordenados pelo horário agendado. O parâmetro count tem padrão 50 e é ajustado ao intervalo de 1 a 200. A consulta não gera tarefas nem executa agentes.
Authentication
Authentication required. Send your user API key in the X-API-Key header.
Parameters
| Name | Location | Type | Required | Description | Constraints |
|---|---|---|---|---|---|
id | path | integer · int32 | Yes | Identificador da regra de recorrência. | — |
count | query | integer · int32 | No | Quantidade máxima de ocorrências. Padrão 50; valores são ajustados entre 1 e 200. | default: 50 |
Request body
This operation does not accept a request body.
Example request
curl --request GET \
--url 'https://api.zild.ai/FlowRecurringTask/{id}/occurrences?count={count}' \
--header 'X-API-Key: YOUR_USER_API_KEY'
Responses
| Status | Description | Response body |
|---|---|---|
200 | Previsão das próximas ocorrências. | application/json · array<FlowRecurringTaskOccurrenceDto> |
Example response (200):
[
{
"exceptionId": 0,
"originalOccurrenceAtUtc": "2026-09-22T18:00:00Z",
"scheduledOccurrenceAtUtc": "2026-09-22T18:00:00Z",
"isCanceled": true
}
]
Data models
FlowRecurringTaskOccurrenceDto
| Property | Type | Required | Description | Constraints |
|---|---|---|---|---|
exceptionId | integer · int32 | No | ID da exceção aplicada à ocorrência, quando houver. | nullable |
originalOccurrenceAtUtc | string · date-time | No | Horário original da ocorrência em UTC, antes de um eventual reagendamento. | — |
scheduledOccurrenceAtUtc | string · date-time | No | Horário agendado em UTC, considerando eventual reagendamento. A lista é ordenada por este horário. | — |
isCanceled | boolean | No | Indica que esta ocorrência foi cancelada por uma exceção da recorrência. | — |