Invoke
Call the general Athena agent synchronously.
Call the agent with the messages list, wait for the agent to complete, and return the result.
A human message’s additional_kwargs.metadata keeps the names the
caller sets for itself. Names Athena reserves there for what it writes
itself are not taken from the request; source is one of them only
where it holds voice, text or voice_delegation. A message the
thread already holds keeps the thread’s value for each, and on any
other human message none is taken from the request.
Authentication
Headers
Request
The messages to send to the agent. Each message should be a string (for text inputs) or a list of multimodal content parts.
Optional thread ID for conversation persistence. If not provided, a new thread will be created. A new thread’s ID is lower-case letters, digits, _ and -, begins with a letter or a digit, is at most 128 characters long and does not begin with asset_.
Response
The agent’s final answer as an object matching config.structured_output. Null when no schema was requested.
