Processes a message using the specified API integration and returns a completion from the agent. Requires a valid platform token. Ensure the apiIntegrationId is valid. Supports continuing existing chats via chatId or aliasChatId and attaching files with tools.
Platform token required for authentication. Find or create one inside Profile Icon > API Keys. Example: Bearer sk-agencii-...
Request body for the /get_completion endpoint.
Successful response. The format varies depending on the textOnly
mode configured for the API Integration. If textOnly
is enabled, the response is plain text. Otherwise, it's application/json.
Response body for the /get_completion endpoint when textOnly mode is disabled.