Skip to navigation

Stop a batch

View as Markdown

Stops a running batch. Sets batch status to “Stopping” (scheduler handles the actual stop). Customer ID is automatically determined from the API key.

Authentication

X-API-Keystring

API key for authentication. Example: raya_ABCD1234567890abcdef

Path parameters

idintegerRequired
The batch ID

Response

Batch stopped successfully
idintegerOptional
namestring or nullOptional
statusstring or nullOptional
agent_idstringOptionalformat: "uuid"

Errors

404
Not Found Error