palbaseDocs

Palbase ai · API

GET/ai/chats/{chat_id}/execution

Read a chat session's live execution target and machine state

Returns the chat's active execution target, target_generation, workspace_seq, target machine online/offline state, probed ACP harnesses, and auto_failover status.

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>/execution" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200Current execution state

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 GetChatExecution of ai's contract.