Overview
Oneday is a small JSON API for scheduling and running recurring background jobs.
You define jobs with a schedule and an HTTP endpoint. Oneday calls the endpoint on time, retries failed runs, and keeps a history you can query. The API is HTTPS-only and returns JSON.
Base URL
https://api.oneday.nya.je/v1
First request
List the jobs in your workspace:
curl https://api.oneday.nya.je/v1/jobs \
-H "Authorization: Bearer $ONEDAY_API_KEY"
{
"data": [
{ "id": "job_8fk2", "name": "nightly-report", "schedule": "0 3 * * *", "state": "active" }
]
}
New to Oneday? Start with the Quickstart to create your first job.
Next steps
- Quickstart - create and run your first job
- Authentication - issue and scope API keys
- Endpoints - the full reference