agenda

Save the full legislative agenda (opportunities + threats)

Replaces both arrays entirely — handles reorder and category moves. Kicks off an async bill re-scan; poll rescan_job_id for completion.

put/settings/profiles/{profile_id}/agenda

Request

  • Base URL: https://api.fed10.ai/api
  • URL: https://api.fed10.ai/api/settings/profiles/{profile_id}/agenda
  • Auth: none declared

Request body

jurisdictionsstring[]

Optional list of jurisdiction codes — 2-letter US states (e.g. 'CA') or local codes (e.g. 'AQU', 'NAN', 'SLI', 'JUP')

priority_rankings_enabledboolean

Toggle priority stack-ranking on/off

Example request

{
  "opportunities": [
    {
      "origin": "ai_generated",
      "tier": "critical"
    }
  ],
  "threats": [
    {
      "origin": "ai_generated",
      "tier": "critical"
    }
  ]
}

Response

Success

profileobject

Full profile dict

rescan_job_idstring
messagestring

Changes

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