API reference
Stop a tool run
POST
/v1/runs/{id}/stopCurrent tools are not cancellable. Owned runs return 409 and pending runs expose stoppable=false. Unknown or unowned runs return 404. A stop request never releases funds or resubmits execution.
Authentication and permissions
Use your current GloopAPI key. Available models, capabilities and permissions depend on its catalog and the endpoint documentation.
Authorization: Bearer $GLOOP_API_KEYAuthentication schemes: BearerAuth
Request
Path parameters
idstringRequired
Responses and errors
HTTP 401
Numeric code and a safe message. Authentication, access, validation and rate-limit errors use this envelope.
application/json
- Type
- object
- Additional properties
- false
- Required fields
codemessage
HTTP 409
This run cannot be stopped. No cancellation or refund is performed.
application/json
- Type
- object
- Additional properties
- false
- Required fields
codemessage
HTTP default
Numeric code and a safe message. Authentication, access, validation and rate-limit errors use this envelope.
application/json
- Type
- object
- Additional properties
- false
- Required fields
codemessage