Interact with an agent (sync)
Interact with an agent (sync)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
agent_id
Query parameters
session_id
Request
This endpoint expects an object.
messages
List of incoming user messages and drive file references.
metadata
Optional metadata (e.g., salesforce_session)
variables
Optional interaction-local variables for tool input interpolation. Keys are variable names; values may be any JSON.
callback_url
Optional callback URL. If provided, the interaction runs asynchronously and the response returns 202 with session_id + events_url.
revision_id
Response
Successful Response
Errors
422
Unprocessable Entity Error