api reference

REST API.

Base URL: https://api.myrelay.cloud

Authenticate with a bearer token from your account settings: Authorization: Bearer <token>

POST/v1/sessions

Start a new session on a paired workstation.

{
  "workstation_id": "ws_01abc",
  "prompt": "Refactor the auth module to use JWT",
  "branch": "main"
}
GET/v1/sessions/:id

Fetch the current status and transcript of a session.

DELETE/v1/sessions/:id

Stop a running session.

GET/v1/workstations

List all paired workstations on your account.

POST/v1/schedules

Create a new scheduled session.

{
  "workstation_id": "ws_01abc",
  "cron": "0 9 * * 1-5",
  "prompt": "Run the test suite and open a PR for any failures"
}