Find why a run failed or is waiting from its page, which shows its input, model calls, events and errors.
Before you start
You need a run. See Start a run.
Read a run
- Sign in to the CLI.
- Set
PROJECTto your project's ID (Find your IDs):export PROJECT=<id>. - List the project's runs, newest first:
Shell
npx veryfront project runs project-list --project-reference $PROJECT - Set
RUN_IDto theidof the run you want, from the list above:export RUN_ID=<id>. - Get the run. It shows its
status,input,outputandusage. Afailedrun has anerrorwith itscodeandmessage:Shellnpx veryfront project runs get --run-id $RUN_ID - List its request and model-call events, oldest first. You should now see
AGENT_RUN_REQUEST_ENQUEUEDfirst for an agent's run, and aMODEL_CALL_COMPLETEDfor each model call:Shellnpx veryfront project runs events --run-id $RUN_ID --query '{"event_type":["AGENT_RUN_REQUEST_ENQUEUED","MODEL_CALL_COMPLETED"],"limit":100}'
Try it in a sandbox
Set PROJECT
Add the support agent
Ask it a question
Let the agent answer
Wait for the answer
List the runs
Set RUN_ID
Get the run
Check it