AnalyticsRunsRunidStop

Stops the batch: queued jobs are dropped and the conversations are marked cancelled, which is what a running worker checks before writing anything.

POST
/Analytics/runs/{runId}/stop
AuthorizationBearer <token>

JWT Authorization header using Bearer scheme

In: header

Path Parameters

runId*string

Batch to stop.

Formatuuid

Response Body

application/json

curl -X POST "https://test.api.speaknode.com/api/Analytics/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/stop"
{
  "success": true,
  "error": "string",
  "affected": 0
}