Skip to content

See what waits for me

planned

Every Approval waiting on you, soonest deadline first, read without answering any of them.

Your agent lists every Approval waiting on you, soonest deadline first, and answers none of them. To answer one, name it: answer an approval.

What you get

  • 1list of every Approval waiting on you, soonest deadline firstApproval
  • 1row for each one: what the agent asks to do, the amount, and when it lapsesApproval
  • 1link from each one to the Action it holdsAction

Your agent does

Approval.listbeta
You, to your agent

What is waiting on me?

Show me my approvals.

What is waiting for my approval?

# Approval.list
curl "https://api.sb/leaseline.app/approvals?limit=20&where=verdict%20%3D%20null&sort=deadline" \
  -H "Authorization: Bearer $SB_TOKEN"
import { $ } from 'startup-builder'

await $.Approval.list({ limit: 20, where: 'verdict = null', sort: 'deadline' })
npx startup-builder do Approval.list --data '{"limit":20,"where":"verdict = null","sort":"deadline"}'
{
  "name": "do",
  "arguments": {
    "code": "return await $.Approval.list({ limit: 20, where: 'verdict = null', sort: 'deadline' })"
  }
}

Change it

  • Approve the $740 ad spend.
  • Only the ones due today.
  • Send me this list every morning at 8.

Under the hood

Systems
Work queue
Nouns
Approval, Action