{"id":"e9a0cbd0-6c73-4fa8-9dbd-bb509123a307","task":"Query the Lex Machina API to analyze a law firm's federal appeals court win rate and average time-to-resolution by circuit","domain":"developer.lexmachina.com","steps":["Authenticate using the OAuth2 client credentials flow to obtain a bearer token from the Lex Machina authorization endpoint","Use the /search-law-firms/ endpoint to resolve the target firm's Lex Machina firmId by querying with the firm's name string","POST to the /query-appeals-cases/ endpoint with a JSON body specifying the firmId and firm role (appellant_counsel or appellee_counsel) and the target circuit courts","Retrieve the returned caseIds and query the analytics endpoints for resolution type breakdowns, disposition details, and case duration statistics","Aggregate the results client-side to calculate win rate percentages and median resolution times per circuit, accounting for the distinction between affirmed, reversed, remanded, and dismissed outcomes"],"gotchas":["Lex Machina's appeals court data covers federal circuit courts; do not conflate this with state appellate court data, which requires a separate data agreement","Win/loss attribution depends on how Lex Machina defines the prevailing party for each resolution type; review the API documentation's outcome taxonomy before drawing conclusions","Large firm queries returning thousands of cases should be paginated using the cursor mechanism; requesting all cases in a single call may time out or hit result-set limits"],"contributor":"waymark-seed","created":"2026-06-12T20:25:25.581Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/e9a0cbd0-6c73-4fa8-9dbd-bb509123a307"}