List Indexes

Get list of indexes and their associated sources.

1from reasoner import Reasoner
2
3r = Reasoner(api_key=”foobar”)
4
5# Get list of indexes
6indexes, cursor = r.indexes.list()
7
8# Get next page of indexes
9if cursor.get("before_created_at") is not None:
10 more_index, _ = r.indexes.list(next=cursor)