AI Usage Logs

Parent page: Orchestrator › Admin Audience: System Administrators, RPA Operations Teams Prerequisites: Admin role


Overview

The Admin › AI Usage Logs screen lists a record of every call made through the Orchestrator to an AI provider: which AI connection and model were used, which activity, process and resource the call came from, how many tokens were used, how long it took and whether it succeeded. It is used to monitor token consumption and to find the cause of failed calls.

The records are written by the system; on this screen records are not created, changed or deleted. The request and response text (prompt and result) is not stored; no cost is calculated on the screen.

On this page you will learn:

  • When a record is written and which connection is used

  • The list, filters and record details

  • The messages seen on failed calls

  • How long records are kept


When a Record Is Written

Every call to the AI provider, successful or failed, writes a record.

Source of the call

Activity column

PAW Robot activity Generate Text

Generate Text

PAW Robot activity Extract Data

Extract Data

PAW Robot activity Classify Text

Classify Text

PAW Robot activity Run Agent

Run Agent

Test Agent on the details of an AI agent in the Orchestrator

Run Agent (Process, Resource, Resource Name and Username stay empty)

Test Connection on an AI connection does not write a record. If a required field is empty in the activity (for example the prompt, the text or the categories), the call does not go to the provider and no record is written.

Which connection is used: If the connection name (Name) is empty in the activity, the company's Default AI Connection is used; this setting is on the Companies screen. If the model name (Model Name) is empty, the connection's default model is used. For agents, the connection and model come from the agent's own settings.


List

Admin › AI Usage Logs

Admin › AI Usage Logs

The list shows the most recently written record at the top; 50 records are shown per page.

Item

Description

Export

Downloads the Selected Records, Current Page or Current Filter records as Excel (XLSX, XLS), Open Document (ODS) or Text (CSV); at most 10,000 records.

Details

Opens the details window of the row.

Info (⋮)

Shows the user who created the record and the date. For agent tests, the user who ran the test is seen here.

Columns: Created Date, AI Connection, Model, AI Agent, AI Provider (Anthropic, OpenAI, Google Gemini, Custom), API Model Name, Activity, Process, Resource, Input Tokens, Output Tokens, Total Tokens, Duration (ms), Is Success. Only the Created Date column is sorted by clicking it. The error message is shown in the Message field of the details window.

Filters

Filters opens the AI Usage Log Filters window.

AI Usage Log Filters — Run Agent Calls

AI Usage Log Filters — Run Agent Calls

Field

Description

AI Connection

One of the AI connections the user can see.

AI Provider

Anthropic, OpenAI, Google Gemini or Custom.

AI Agent

Calls made with the selected agent.

API Model Name

Model names that start with the entered text.

Activity

Generate Text, Extract Data, Classify Text or Run Agent.

Process

Calls from the selected process.

Is Success

True or False. Select False to see failed calls.

Message

Messages that start with the entered text.

Created Date Begin / End

Date range.


Record Details

Clicking Details in the list opens the AI Usage Log Details window. At the top there are only the Previous, Next and Close buttons.

AI Usage Log Details — A Classify Text Call

AI Usage Log Details — A Classify Text Call

Field

Description

Created Date

When the call was made.

AI Connection

The AI connection used.

Model (first)

The name of the model record defined on the connection.

AI Agent

The agent's name for Run Agent and agent tests.

AI Provider

The connection's provider.

Model (second)

The provider's model (for example Claude Haiku 5.5).

API Model Name

The model name sent to the provider; for the Custom provider, the free-text name on the connection.

Activity

The activity that made the call.

Process, Resource

The process and resource record the calling robot was running.

Resource Name

The computer name of the machine the robot runs on.

Username

The user logged in to PAW Resource.

Input Tokens, Output Tokens, Cached Input Tokens, Cache Write Tokens, Reasoning Tokens, Total Tokens

The token counts reported by the provider. The calculation can differ by provider; for example, with Anthropic, Input Tokens does not include tokens read from the cache.

Duration (ms)

The duration of the provider call only. 0 if the call failed before reaching the provider.

Is Success

True if the provider answered and the answer was not refused, cut off or empty.

Stop Reason

Why the provider ended the answer (for example end_turn).

Provider Request Id

The request ID on the provider side; used when talking to the provider's support.

Message

The error message on a failed call; empty on success.

Messages often seen on failed calls

Message

What to do

Company default AI connection is not defined. …

Enter the Name field in the activity or select a Default AI Connection on the Companies screen.

AI connection does not exist or not allowed. / AI connection is disabled.

Check the connection name, that the connection is enabled, and its process permissions.

Default model of the AI connection is not defined. … / Model does not exist on the AI connection or it is disabled.

Enter Model Name in the activity or set a default model on the connection.

AI provider did not respond in time.

The provider did not answer within 4 minutes; try again or reduce the input.

AI response was cut off because the max tokens limit was reached. …

Increase the model's Max Tokens value.

AI provider returned an error: … / Could not connect to the AI provider: …

The error returned by the provider or a network error; check the API key and access.

AI provider refused to answer the request.

The provider did not answer because of the content.


How Long Records Are Kept

Records are kept indefinitely unless a deletion rule is defined for the company. If the Admin defines a period for AI usage logs (AiUsageLog) in the Soft Delete section of the Companies details, records older than that period are deleted every night.

Roles

  • The screen is open only to the Admin role. The Developer and Process Manager roles, which work with AI connections and agents, do not see this screen.

  • Records are not filtered by branch; all calls in the company are visible.