Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Project-scoped API key, e.g. nohead_sk_k7fz0a9c3m2q_<secret>, or nohead_pk_… for a published-only key. Used by servers, CI, the CLI and coding agents.

Headers

Idempotency-Key
string

A unique value (1-255 printable ASCII characters) that makes retrying this request safe. The first response (below 500) is stored for 24 hours per user or API key; retries with the same key and the same request get it again with an Idempotent-Replayed: true header. The same key with a different request is refused with 400; a retry while the first request is still running gets 409.

Required string length: 1 - 255
Nohead-Client
string

First-party client identifier recorded in history (e.g. cli/0.3.1). Informational only.

Path Parameters

record_id
string
required

Body

application/json

The whole schedule. A time in the future, or null for none; a time left out is none too.

publish_at
string<date-time> | null
unpublish_at
string<date-time> | null

Response

The record's schedule.

When the record publishes or unpublishes on its own (within a minute of the time), set with PUT /v1/records/{record_id}/schedule. A time is cleared once it has run, or once the record is published or unpublished by hand or deleted. last_error explains the last scheduled change that could not be made, until a new schedule is set or a scheduled change is made.

object
any
required
record_id
string
required
publish_at
string<date-time> | null
required
unpublish_at
string<date-time> | null
required
last_error
string | null
required