Test-run a scheduled job now, as a dry run

POST /Platform/jobs/simulate

Test-run a scheduled job now, as a dry run.

Runs the job's stored invocation against its stored target immediately. The job itself is untouched: next_run_at, status and active are all left as they were, so a simulation never consumes an occurrence or disturbs the real schedule.

The run is always a DRY RUN: tools declaring a mock_response return it, and every irreversible tool is short-circuited to "Success (mocked)". Read-only tools still execute for real, so the agent sees true data and picks a true trajectory — it just cannot send, charge, or write. To run a job for real, use run_job_now.

The test run reads as you, and is held to both your access and that of the job's creator, so it is refused wherever the real run would be.

Mock is applied to the target's whole entity graph immediately before invocation (it is a runtime-only flag that no reload can preserve), and for an Agent.invoke job it is re-applied to the conversation graph inside the turn as well.

Body parameters

Returns

JobSimulation

Example request

curl -X POST "https://api.hilus.ai/Platform/jobs/simulate" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'