# Keenable's Python SDK on SpecStream

Date: 2026-11-10

Client: keenable 0.1.3 (PyPI), httpx 0.28.1, Python 3.14.4

The one line a user changes:

```python
client = Keenable(api_key=SPECSTREAM_KEY, base_url="https://api.specstream.ai/keenable")
```

## Request parameters

| Parameter | Sent | Status | Result |
| --- | --- | --- | --- |
| `query` | `query=Larkspur Colorado mayor` | 200 | honoured |
| `max_results` | `max_results=5` | 200 | honoured |
| `site` | `site=wikipedia.org` | 200 | honoured |
| `published_after` | `published_after=2026-01-01` | 200 | honoured |
| `published_after (span)` | `published_after=30d` | 200 | honoured |
| `published_before` | `published_before=2026-06-01` | 200 | honoured |
| `snippet_max_length` | `snippet_max_length=180` | 200 | honoured (checked in code: tests/finder/test_dialect_keenable.py::test_snippet_max_length_cuts_each_snippet) |
| `mode=pro` | `mode=pro` | 200 | accepted, not applied |
| `mode=realtime` | `mode=realtime` | 200 | accepted, not applied |
| `acquired_after` | `acquired_after=2026-01-01` | 200 | accepted, not applied |
| `acquired_before` | `acquired_before=2026-11-01` | 200 | accepted, not applied |
| `query_time` | `query_time=7d` | 200 | accepted, not applied |
| `disable_cards` | `disable_cards=True` | 200 | accepted, not applied (no generated cards: every slot is a web page) |
| `session_id` | `session_id=team-1` | 200 | accepted, not applied |
| `X-Keenable-Session-Id` | `X-Keenable-Session-Id=team-1` | 200 | accepted, not applied |
| `GET /v1/search` | `query=tallest building in Europe` | 200 | honoured |
| `max_results=51` | `max_results=51` | 400 | refused (as Keenable refuses it) |
| `mode=deep` | `mode=deep` | 400 | refused (as Keenable refuses it) |
| `count (unknown parameter)` | `count=3` | 400 | refused (as Keenable refuses it, with allowed) |
| `query empty` | `query=` | 400 | refused (as Keenable refuses it) |
| `fetch url` | `url=https://en.wikipedia.org/wiki/Larkspur,_Colorado` | 200 | honoured (checked in code: tests/finder/test_dialect_keenable.py::test_a_fetch_is_one_page_read_in_keenables_form) |
| `fetch max_chars` | `max_chars=300` | 200 | honoured (checked in code: tests/finder/test_dialect_keenable.py::test_a_fetch_gives_the_final_address_and_cuts_at_max_chars) |
| `fetch live` | `live=true` | 200 | accepted, not applied (every read is of the page now) |
| `fetch prompt` | `prompt=Who is the mayor?` | 200 | accepted, not applied (the whole page is returned) |
| `fetch session_id` | `session_id=team-1` | 200 | accepted, not applied |
| `fetch url without a scheme` | `url=en.wikipedia.org` | 400 | refused (as Keenable refuses it) |
| `fetch live=1` | `live=1` | 400 | refused (as Keenable refuses it) |
| `fetch by POST` |  | 405 | refused (405, as Keenable answers) |
| `no key (the SDK's keyless /public path)` | `api_key=` | 401 | refused |

## Response fields

| Field | State |
| --- | --- |
| `query` | present |
| `mode` | present |
| `results[].title` | present |
| `results[].url` | present |
| `results[].snippet` | present |
| `results[].published_at` | present |
| `results[].acquired_at` | absent |
| `results[].description` | empty |
| `warning` | absent |
| `usage` | absent |
| `url` | present |
| `content` | present |
| `title` | present |
| `author` | absent |
| `published_at` | present |
| `description` | empty |
