---
title: "The routine's precheck [read]"
method: GET
path: "/routines/{id}/precheck"
---

# The routine's precheck \[read\]

`GET /routines/{id}/precheck`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/routines/{id}/precheck`
- Auth: HTTP bearer

`precheck` is null when there is none. It carries what the last check before a scheduled fire found.

## Path parameters

- `id` string, required

## Response `200`

OK

- object
  - `precheck` object, nullable, required
    - `routine_id` string, required
    - `url` string, required
    - `created_at` string, required
    - `last_checked_at` string, nullable, required: When the URL was last checked before a scheduled fire
    - `last_result` 'changed' | 'unchanged' | 'failed' | 'null', nullable, required: changed: the fire ran. unchanged: the fire was skipped. failed: the check could not be completed and the fire ran anyway.
    - `last_error` object, nullable, required: {type, message} when last_result is failed. Types: address_not_allowed · dns_failed · redirect · http_status · too_large · timeout · network.

## Other responses

- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/routines/:id/precheck/get.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/8280a065ef6a?raw)
