Clear API Queue
curl --request POST \
--url https://modelslab.com/api/v1/enterprise/flux/clear_queue \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>"
}
'{
"status": "success",
"message": "Queue cleared, server is restarting"
}Z Image Turbo API
Clear Queue
This endpoint is used to clear the API’s queue.
POST
/
flux
/
clear_queue
Clear API Queue
curl --request POST \
--url https://modelslab.com/api/v1/enterprise/flux/clear_queue \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>"
}
'{
"status": "success",
"message": "Queue cleared, server is restarting"
}Request
Send aPOST request to below endpoint to clear the API’s cache.
curl
--request POST 'https://modelslab.com/api/v1/enterprise/z_image_turbo/clear_queue' \
Body
json
{
"key": "enterprise_api_key"
}
Body
application/json
Your API key
Response
200 - application/json
Queue cleared successfully
Was this page helpful?
⌘I

