{"name":"browser-flow-digest","description":"Browser flow digest API that compresses a recorded trajectory or trace into reusable workflow memory: an ordered step list, the preconditions each step assumes, and failure hints for anything that broke or looked fragile. Built for trajectory-to-steps compression so an agent doesn't replay a full session log every time it repeats a task. Send a trajectory (JSON array of recorded browser actions, or a plain-text trace) and an optional goal, and get back a named workflow with steps, preconditions, failure hints, and reusability notes grounded only in what the trajectory actually shows. Use it as a workflow memory API, a browser automation trace summarizer, or a reusable-recipe generator for repeat browser agent tasks.","price":"$0.02","method":"POST","input_schema":{"properties":{"trajectory":{"type":["array","string"],"description":"The recorded browser trajectory: a JSON array of step/action objects (navigate, click, fill, wait, assert, etc.), or a plain-text trace. Required. Serialized form capped at 60,000 chars."},"goal":{"type":"string","description":"Optional plain-language description of what the trajectory was trying to accomplish. Max 300 chars."}},"required":["trajectory"]},"input_example":{"trajectory":[{"step":1,"action":"navigate","url":"https://app.example.com/login"},{"step":2,"action":"fill","selector":"#email","value":"a@b.com"}],"goal":"log in and reach settings"},"output_example":{"digest":{"workflow_name":"Login and open settings","steps":[{"order":1,"action":"navigate to login page","target":"https://app.example.com/login","precondition":"logged out","outcome":"login form visible"},{"order":2,"action":"fill email and submit","target":"#email, button[type=submit]","precondition":"login form visible","outcome":"redirected to dashboard"}],"preconditions":["a valid account exists"],"failure_hints":["step 2 retried once before succeeding"],"reusability_notes":"Reusable as-is for any account; selectors look stable (id-based).","unknowns":["no timestamps to establish step duration"]},"model":"hermes-3-llama-3.1-405b","source":"morpheus"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}