# Open States bill detail

One US state bill by state, session and identifier (e.g. ca, 20232024, 'SB 362'): title, subjects, abstracts, sponsorships, full action history, versions. Needs state, session and identifier.

One US state bill by state, session and identifier (e.g. ca, 20232024, 'SB 362'): title, subjects, abstracts, sponsorships, full action history, versions with document links and roll-call votes.

- Tool ID: `openstates/bill`
- Provider: [Open States](/providers/openstates.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "pattern": "^[a-z]{2}$",
      "description": "Lower-case state (or dc, pr) abbreviation, e.g. 'ca'"
    },
    "session": {
      "type": "string",
      "pattern": "^[A-Za-z0-9 _-]{2,40}$",
      "description": "Session identifier as Open States writes it, e.g. '20232024'"
    },
    "identifier": {
      "type": "string",
      "pattern": "^[A-Za-z0-9 .-]{2,30}$",
      "description": "Bill identifier with a space, e.g. 'SB 362' or 'HB 1105'"
    },
    "include": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "sponsorships",
          "abstracts",
          "other_titles",
          "other_identifiers",
          "actions",
          "sources",
          "documents",
          "versions",
          "votes",
          "related_bills"
        ]
      },
      "maxItems": 10,
      "default": [
        "sponsorships",
        "abstracts",
        "actions",
        "versions",
        "votes"
      ],
      "description": "Blocks to include, e.g. ['sponsorships', 'actions']"
    }
  },
  "required": [
    "state",
    "session",
    "identifier"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "openstates/bill",
  "input": {
    "state": "ca",
    "session": "20232024",
    "identifier": "SB 362",
    "include": [
      "sponsorships",
      "actions"
    ]
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Public domain dedication (Open States).

Attribution: Data from Open States (Plural Policy).

[Provider documentation](https://docs.openstates.org/api-v3/)

[REST inspection](https://api.agentik.cc/v1/tools/openstates/bill) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/openstates/bill) · [Agent index](/llms.txt)
