Connect
Call the API over HTTP
POST /api/v1/research/<operation> with a JSON body and your token in the header. Operation names use dashes in paths.
Request
curl https://keepcouncil.com/api/v1/research/legislation-timeline \
-H "Authorization: Bearer $KEEPCOUNCIL_TOKEN" \
-H "Content-Type: application/json" \
-d '{"items":[{"place":"mo/creve-coeur","slug":"bill-6225"}]}'Paging and batches
- Lists return
itemsand acursor. Pass the cursor to get the next page.nullmarks the last page. legislation_timelineandget_pagestake up to 10 items. Found items are initems, the rest inmissing.- Text is cut at 600 characters. Pass
full: truefor all of it.truncatedmarks a cut.
Results
- Records are what each city published. Coverage varies by place and period. Call
coveragebefore reading a gap as no activity. - Every fact cites its document and pages.
sourceUrlis the publisher’s file.hrefis the page on KeepCouncil. Document IDs change when a city replaces a file. layermarks provenance:sourceis the document’s text,extractedis parsed by code,inferredis AI titles and similarity ranks.voteslists recorded votes, by member.unnamedVotes.inferredcounts votes filled in from a unanimous result.unnamedVotes.unverifiedcounts votes whose basis is unverified.- Status
conflicting: the records disagree.doubts: checks the fact failed. - Pages and passages are the published text, unedited.
- No operation calls an AI model.