Palbase ai · API
DELETE
/ai/chats/{chat_id}/pipeTake the chat's pipe away
The chat's stream is written nowhere from now on. The project's server's alone.
Called by a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.
Path
chat_idstring · requiredThe chat's id.curl
curl -X DELETE "https://<your-ref>.palbase.studio/ai/chats/<chat_id>/pipe" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
204The pipe is gone
401No valid credential
403A publishable key or a user's session: everything here is the project's server's, called with the secret key
404No such response, job or provider in this project
503The model service or the database did not answer; retry shortly
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation DeleteChatPipe of ai's contract.