API Reference
REST API reference for preciseactions. Create, update, pause, and trigger scheduled GitHub Actions workflows.
API Reference
Manage schedules and executions with the preciseactions REST API.
Authentication
API requests are authenticated with a JWT session cookie obtained through GitHub OAuth. Pro-plan users can also use API tokens (coming soon).
Base URL
http://localhost:8080In production, all API routes are served behind the web dashboard at /api/*.
Schedules
List schedules
GET /api/schedules/List all schedules for the authenticated user.
Create a schedule
POST /api/schedules/Create a new schedule.
Get schedule details
GET /api/schedules/{id}Get schedule details.
Update a schedule
PUT /api/schedules/{id}Update a schedule.
Delete a schedule
DELETE /api/schedules/{id}Delete a schedule.
Pause a schedule
POST /api/schedules/{id}/pausePause a schedule.
Resume a schedule
POST /api/schedules/{id}/resumeResume a paused schedule.
Trigger a manual dispatch
POST /api/schedules/{id}/runTrigger an immediate manual workflow_dispatch event.
Executions
List executions
GET /api/executions/List executions.
Get execution details
GET /api/executions/{id}Get execution details.
Response format
All endpoints return JSON. Error responses follow the standard format:
{
"error": "Error message"
}