Palbase ai · API
GET
/ai/chats/{chat_id}A chat
A chat, with its members. A user reads only a chat they are in; any other is not found.
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 GET "https://<your-ref>.palbase.studio/ai/chats/<chat_id>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The chat
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
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation GetChat of ai's contract.