Skip to main content
In this guide, you’ll trigger a Friday workflow from your application, stream its progress in real time, and optionally cancel it.

Prerequisites

  • Friday Studio installed and running
  • At least one space loaded with a signal configured
  • The daemon API is available at http://localhost:18080
Run curl http://localhost:18080/api/workspaces to see your loaded spaces and their IDs. Each space’s signals object shows what signals are available and what payload fields they expect.

Trigger a signal

Every workflow starts with a signal. Send a POST request with a payload and Friday runs the job.

Fire and wait

Send a POST and block until the job completes:
Response:

Stream progress in real time

Add Accept: text/event-stream to receive a live SSE stream as the job executes:
Event stream:

Check run status

Use the sessionId from the trigger response to check on the run:

Cancel a running job

If you need to stop a job mid-execution:

Next steps

API reference

Full endpoint reference for every API operation.

Signals

Signal types, payload schemas, and webhook configuration.