Skip to main content

Documentation Index

Fetch the complete documentation index at: https://agents.candu.ai/llms.txt

Use this file to discover all available pages before exploring further.

The Activity view

Execution & Logs, The Activity View

Reading a run

The run detail shows a structured breakdown across four layers. For successful runs, each layer simply confirms what happened — user request, wizard stage, action called, policy satisfied. The same view shows where a failure originated when a run breaks.
LayerExample failure
TRIGGERUser asked to create an invoice
WIZARDStage 2 doesn’t collect client info — the wizard reaches the invoice step without a client_id in context
ACTIONclient_id is marked required — no fallback defined if it can’t be resolved from context
POLICYConfirm required: never reached
Proposed fix:
Ask if missing: client_id
// "Who should I send this invoice to?"

What gets logged

Execution & Logs, What Gets Logged
FieldDescription
userIdThe end user who triggered the action
actionIdThe action identifier from your config
actionNameHuman-readable action name
routeTypeagentik for chat mode, wizard for wizard mode
inputThe resolved inputs the AI passed to the action
outputThe API response on success, or error message on failure
statussuccess or failed
receivedAtServer-side timestamp

Retention

Execution logs are retained for 12 months. Identifiers like organizationId or workspaceId are never persisted — they’re injected into the AI’s system prompt for the request, then discarded. Only userId is stored. See Policies → Data and privacy for the full breakdown.

Common error types

Validation error (422)

A required field was missing. Fix: add the field to Require: in the action’s Booster.

Network error (status 0)

The fetch threw before a response was received. This usually means the snippet ran before the user was authenticated, or your API doesn’t accept requests from the user’s browser origin. Check CORS headers and that your endpoint is reachable from the browser.

Action not found

The AI called an action ID that doesn’t exist in the loaded registry. Usually means an action was removed from actions.json without redeploying.

Auth failure (401/403)

Your fetchFn may be reading a stale token. Read it fresh on every request rather than closing over an initial value.