Palbase ai · API
/ai/chats/{chat_id}/tool-callsA turn's tool calls
A turn's tool calls as the engine committed them — their arguments and results as they were (what a diff of the files the turn wrote is made of), in their order, a page at a time. The project's server's alone; a subagent's work is read by its response (an agent part's response_id).
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.Query
turnstring · requiredThe turn: a message's response_id, or a turn or agent part's.limitinteger · optionalHow many calls a page holds (1 to 500; 100).cursorstring · optionalA next_cursor: the page after it.curl -X GET "https://<your-ref>.palbase.studio/ai/chats/<chat_id>/tool-calls" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The turn's calls
400The request is malformed, or names what this module does not offer (the error names which)
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
429The project's request rate, or the provider's for its connection, is used up — or the project holds as much as it may at once: 32 open streams at one of the module's servers (too_many_streams), 2 pictures being made (too_many_images), 512 MiB of pictures kept here for their day (image_storage_full), or the service — or the project's share of it — holds as much of its requests at once as it takes: their bodies, an embedding request's vectors, the pictures being made (busy). Retry-After says when to try again
503The model service or the database did not answer; retry shortly
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation ListTurnToolCalls of ai's contract.