---
title: "Run the risk scoring engine"
method: POST
path: "/api/risk_score/engine/schedule_now"
tags: ["Security Entity Analytics API"]
---

# Run the risk scoring engine

`POST /api/risk_score/engine/schedule_now`

**Spaces method and path for this operation:**

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/risk_score/engine/schedule_now</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Schedule the risk scoring engine to run as soon as possible. You can use this to recalculate entity risk scores after updating their asset criticality.

## Request body

- object

## Response `200`

Successful response

- SecurityEntityAnalyticsAPIRiskEngineScheduleNowResponse
  - `success` boolean

## Other responses

- `400` — Task manager is unavailable
- `default` — Unexpected error

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
