Belake.ai icon

Belake.ai

Belake.ai API operations

Chat → Send Message

AI-generated

Summary

Send a message to one or more Belake.ai agents to initiate or continue a chat session.

Inputs

  • message (required) — The content of the message to send.
  • language (required) — The language code for the conversation (e.g., pt-br, en-us). Defaults to pt-br.
  • agentsIds (required) — The agent ID or string of agent IDs tasked with processing the message.
  • chatId — Optional chat session ID used to continue an existing conversation.
  • hideChat — Whether to hide the chat details in the response. Defaults to false.
  • workspaceId — The workspace identifier associated with the chat.

Output shape

a single record

Returns the chat response object from the Belake.ai API, including generated messages and chat session metadata.

Examples

Example 1: Send a new message to an AI agent

Set Message to 'Help me summarize this document', Language to 'en-us', and Agent IDs to 'agent-123'.

Example 2: Continue an existing chat thread

Set Message to 'Can you expand on point 2?', Language to 'pt-br', Agent IDs to 'agent-123', and Chat ID to 'chat-789'.

Links

Discussion