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

# Get cron

> Retrieve a single cron by ID

## Path parameters

<ResponseField name="id" type="string" required>
  The UUID of the cron to retrieve.
</ResponseField>

## Response

Returns the cron object if it exists and belongs to the authenticated user.

<CodeGroup>
  ```bash cURL theme={null}
  curl https://app.cronapi.dev/api/v1/crons/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
    -H "Authorization: Bearer your_api_key_here"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch(
    `https://app.cronapi.dev/api/v1/crons/${cronId}`,
    { headers: { "Authorization": `Bearer your_api_key_here` } }
  );
  const cron = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      f"https://app.cronapi.dev/api/v1/crons/{cron_id}",
      headers={"Authorization": "Bearer your_api_key_here"},
  )
  cron = response.json()
  ```
</CodeGroup>

```json 200 theme={null}
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "user_id": "d4e5f6a7-b890-1234-cdef-567890abcdef",
  "name": "Health check",
  "cron": "*/5 * * * *",
  "url": "https://example.com/health",
  "method": "GET",
  "headers": {},
  "body": {},
  "paused": false,
  "next_run_at": "2026-04-15T14:35:00.000Z",
  "last_run_at": "2026-04-15T14:30:00.000Z",
  "created_at": "2026-04-12T10:30:00.000Z"
}
```

```json 404 theme={null}
{
  "error": "Cron not found"
}
```
