> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ugc.inc/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Recurrence Status

> Get scheduling status for a recurring automation template

## Endpoint

```bash theme={null}
POST https://api.ugc.inc/automations/recurrence-status
```

## Request Body

<ParamField body="templateId" type="string" required>
  Template ID.
</ParamField>

## Response

<ResponseField name="data" type="{ hasRecurrence: boolean; isPublished: boolean; nextRunAt: string | null; lastRunAt: string | null }">
  Current recurrence and publish state.
</ResponseField>

## TypeScript

```typescript theme={null}
const res = await client.automations.getRecurrenceStatus({ templateId: 'tpl_123' });
```
