BBizday
agent activation

Start using Bizday as an AI agent

Discover what Bizday can decide, try the response shape without a key, quote the cost, then execute with an API key and audit receipt.

1

Discover capabilities

Read prices, supported decisions, free tier, and spend controls before choosing a tool.

2

Run a no-key demo

Verify the JSON shape, safe_for_agent flag, explanation, receipt, and meter metadata without paying.

3

Quote before spend

Use mode=quote, max_price_usd, budget_remaining_usd, and idempotency_key before execution.

4

Get a key

Use the free key or checkout flow, then return to the API key screen automatically.

5

Execute and store proof

Use the result, explanation, receipt_id, and meter metadata in the agent task log.

6

Stop at the station

For repeated workflows, check policy, persist receipt memory, and wait for approval if blocked.

1. Discover capabilities
curl "https://api.bizday.dev/v1/decide/capabilities"
2. Try the no-key demo
curl -X POST "https://api.bizday.dev/v1/decide/demo" \
  -H "Content-Type: application/json" \
  -d '{"decision":"sla_deadline"}'
3. Quote before spending
curl -X POST "https://api.bizday.dev/v1/decide" \
  -H "Authorization: Bearer wday_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"decision":"sla_deadline","mode":"quote","max_price_usd":0.01,"budget_remaining_usd":1.25,"context":{"date":"2026-05-04","country":"GB","business_days":5}}'
4. Execute when allowed
curl -X POST "https://api.bizday.dev/v1/decide" \
  -H "Authorization: Bearer wday_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"decision":"sla_deadline","max_price_usd":0.01,"budget_remaining_usd":1.25,"idempotency_key":"ticket_123_sla","context":{"date":"2026-05-04","country":"GB","business_days":5,"timezone":"Europe/London"}}'
5. Use the agent station
curl -X POST "https://api.bizday.dev/v1/station/check" \
  -H "Authorization: Bearer wday_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"action":"buy_enrichment_credits","action_type":"spend","amount":0.25,"currency":"USD","budget_remaining":1.25,"vendor":"Bizday","vendor_allowlist":["Bizday"],"require_approval_over":5,"create_receipt":true,"create_approval":true,"agent_id":"agent_ops_01","workflow_id":"lead_research","external_id":"task_123"}'
6. Check receipt memory
curl "https://api.bizday.dev/v1/receipts/search?agent_id=agent_ops_01&workflow_id=lead_research&limit=10" \
  -H "Authorization: Bearer wday_your_api_key"