docs
/
AI skills

Review what an AI employee did and answer its approvals

Where every AI employee stands, what is waiting for a person's OK (with the draft it wants to send), what each job really did and cost, its calls and its notes — and the person's own decisions, pauses and budget changes, made only when they say so.

An AI employee's work is a queue of jobs (ai_employee_work). Each job keeps a timeline of what it did, its result, its cost, and any approval it asked for. This skill reads that back to the person and carries out their decisions. It never decides an approval on its own.

Ask first

  • Which employee? One by name, or all of them.
  • Since when? Today, the last day, a week. Default: the last 24 hours.
  • What are they after? The approvals waiting, one job ("what happened with the Brennan lead?"), its calls, or why it is not working.

Steps

1. AI Employees: where each one stands

call_appengine GET /ai-employees. totals counts employees, queued and in-progress jobs, approvals waiting and spend today. For each employee:

FieldWhat it says
statusdraft, active or paused
activity.textwhat it is doing now, in one line ("Working on: …", "Last job 14:05: …")
idleReasonwhy it is not taking work: not switched on, paused, outside its hours, today's budget used up. null when it can work.
queuecounts by status: queued, in_progress, waiting_approval, done, failed, cancelled
spentTodayUsd, dailyBudgetUsdtoday's spend against its budget, in its timezone
connection.labelOnline, Idle, Offline, or Never connected (its runtime has never signed in)
runtimestub does no real work

Say it plainly: "Ava is on, idle, 3 jobs done today, 1 waiting for you, $0.42 of $5 spent."

Check: AI Employees (/ai-employees) shows the same cards. The violet AI employees button in the header lists who is online and who is on a call.

2. AI Employees: what is waiting for a person

GET /ai-employees/work/approvals lists every job with status: "waiting_approval", oldest first. For each, read data.pendingApproval:

FieldWhat it is
actiondelete, bulkSend, calls, money, usersAndPermissions or other
summarywhat it wants to do, in its words
detailwhat it attached: often the draft itself (the email text, the people, the record)
amountUsdfor money
requestedAtwhen it asked

Also read data.employee, data.title and data.ref (the record the job is about) and open that record, so the person decides knowing what it is about.

Stop. Each decision is the person's. Show each request: who asks, what it wants to do, to whom, the draft in full, the amount. Then wait for "approve" or "reject" on that request. "Approve them all" covers only the requests you just showed.

After their answer: POST /ai-employees/work/<work sk>/decide with { "decision": "approved" | "rejected", "note": "<their words, if any>" }. The job goes back to the employee with the answer and the note.

  • An answer covers more than the one request. The same request waiting on its other jobs gets the same answer. After an approval, later requests of the same kind on that job go through without asking, and the same request on its other jobs is allowed for 24 hours. Say so before an approval of other or money.
  • To change a draft, reject it with a note that says what to change. There is no editing it in place.
  • 409 This work is not waiting for an approval means it was already decided somewhere else. Read the job again.
  • An AI employee cannot decide approvals, its own or another's.

Check: the same request is a card with Approve and Reject in the AI team workspace, and a row in AI Employees › Approvals (/ai-employees?tab=approvals). Decided in one place, it shows decided in all.

3. AI Employees: what each job did

GET /ai-employees/work?employee=<name> lists its jobs, newest first. Filters: status (comma-separated), source (assigned, direct, message, call, config, ping), q (words in the title). Check-ins where it did nothing are left out unless pings=true.

GET /ai-employees/work/<work sk> is one job:

FieldWhat it is
stepsthe timeline: status, note, thinking, action, check, screen, error, approval, decision, each with at and text, and detail when there is more
result / errorwhat it reported at the end
costUsdwhat its runtime reported this job cost
attemptstries so far (a failed try goes back in the queue until limits.maxAttempts)
ref, attachmentsthe record it was about, and what it was given
decisionseach approval answer, who gave it and when

Done is not proof. Compare the result with what was asked, and open the record in ref to see the change. On a stub runtime every job ends "Stub runtime: nothing was done".

For a period in figures, GET /ai-employees/worker/<name>/summary?since=<ISO date-time> counts jobs by outcome, approvals asked and answered, total cost, and lists each finished job with its result.

Check: its Work tab (/ai-employees?open=<name>). Clicking a job opens Result and What it did.

4. AI Employees: its calls

A call it took or made becomes a job with source: "call". Its instructions hold the transcript and the tools it used on the call; ref is the call_log. Read the transcript before saying what was agreed.

Check: its Phone & Voice tab lists calls happening now. There the person can listen in, whisper to it, or take the call.

5. AI Employees: its notes

GET /ai-employees/<name>/memory returns the notes it wrote for itself (newest first) and how many conversations it would resume. They show what it learned and decided. Read them; don't change them unless asked.

Check: its Memory tab, under Its notes.

6. AI Employees: put things right (only when asked)

Each of these acts at once. Do one only when the person asks for it, and say what it does first.

The person wantsCallWhat happens
a job not donePOST /ai-employees/work/<sk>/cancelit stops being offered to the employee
a failed or cancelled job tried againPOST /ai-employees/work/<sk>/retryback in the queue, attempts reset
it to stop workingPOST /ai-employees/<name>/pause with { "reason": "…" }takes no work, its login is locked
it stopped now, mid-jobPOST /ai-employees/<name>/shut-downsession-manager only: its session ends, its jobs go back in the queue, it is paused
it back at workPOST /ai-employees/<name>/switch-onstarts taking work again
its notes clearedPOST /ai-employees/<name>/memory/notes/remove ({ "at" } for one note)removed for good

Stop. Budget changes are spending. When it has run out (idleReason Today's budget … is used up), the person may want POST /ai-employees/<name>/budget with { "action": "credit", "amountUsd": <amount> } (more for today) or { "action": "reset" } (count today's spend from zero). Both let it spend more today, charged to the business's balance, and both lapse at midnight in its timezone. Say the amount and wait for yes. Raising its daily budget for good is PUT /ai-employees/<name> with { "limits": { "dailyBudgetUsd": <amount> } }, also after a yes.

When it's done

Tell the person, per employee:

  • its state, and why it is idle if it is;
  • what it finished, failed or is working on, in a line each;
  • what is still waiting for them, and what they decided;
  • what it spent against its budget;
  • anything you changed for them.

Open AI Employees › Approvals if anything is still waiting, otherwise the employee's Work tab.

What it can't do yet

  • No editing a waiting draft. Approve, or reject with a note.
  • An approved action can't be undone from here. Approve only what the person has read.
  • Cost is what its runtime reports. A runtime that reports nothing shows $0, and the daily budget never stops it.
  • A job's page has no link of its own. Open it from the Work tab.

Don'ts

  • Don't approve or reject anything the person hasn't seen and answered.
  • Don't add credit, reset the budget or raise it without a yes and an amount.
  • Don't call a Done job a success before reading its result and the record.
  • Don't clear its notes or forget its conversations unless asked.