UI Agents supports logs from the agent.

Logging

Configure the Output file path property of the Run action for the UI Agents to store output logs.

Log files contain the following data:
  1. Metadata: shows tokens, elapsed time, and agent run status in the given execution.
  2. Trace: lists the actions taken by the agent in the given execution.
  3. Output: contains the response or output of the agent in the given execution.
See the following sample log:
{
    "metadata": {
        "inputTokens": 0,
        "outputTokens": 0,
        "totalTokens": 0,
        "timeInMs": 93151.54027938843,
        "numSteps": 0,
        "statusCode": 200,
        "statusMessage": "SUCCESS",
        "message": "Success."
    },
    "trace": [],
    "output": "Contact Us form has been filled (not submitted):\n- First Name: John\n- Last Name: Smith\n- Business Email: john.smith@mycompany.com\n- Phone: 888888888\n- Company: MyCompany Inc\n- Number of Employees: 3001 to 5000\n- Job Level: Other\n- Job Function: Sales\n- Country/Region: United States\n- State: California"
}