proposals

Approve a pending proposal: its actions run now, in order, as the agent, stopping at the first that fails. draft rewords its message first

post/proposals/{id}/approve

Request

  • Base URL: https://daybag.io/api/v1
  • URL: https://daybag.io/api/v1/proposals/{id}/approve
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

Response

Success

idstring required
automation'weather' | 'fill' | 'brief' | 'reminders' required

fill: open or fill sessions · brief: the morning brief · reminders: before and after each booking · weather: not available yet

status'pending' | 'done' | 'failed' | 'dismissed' | 'expired' | 'undone' required

pending waits for proposals_approve or proposals_dismiss; approving runs it, so it lands on done or failed

dial'ask' | 'do_tell' | 'do_quiet' required

ask: it waited for a person · do_tell, do_quiet: the agent acted on its own

titlestring required
daystring required

The local date it's for

session_idstring nullable required
booking_idstring nullable required
dataobject required

The brief: trips (today's sessions), unanswered threads and weather; held: "cap" or "money" when the agent waited instead of acting

moneyboolean required

An action refunds

reversibleboolean required

Done, and proposals_undo can reverse it

expires_atstring nullable required

ISO 8601 timestamp (UTC)

created_atstring required

ISO 8601 timestamp (UTC)

decided_atstring nullable required

ISO 8601 timestamp (UTC)

decided_bystring nullable required

dashboard, api, mcp or agent

done_atstring nullable required

ISO 8601 timestamp (UTC)

errorstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.