Read records from a table.
Returns records from the specified table matching the given filters. Use 'single' mode to retrieve exactly one record, or 'multiple' mode to retrieve all matching records.
Parameters
filters: Dict[str, object]
Key-value filters to apply to the query.
target_name: str
The name of the table to read from.
Returns
ToolReadResponse = List[Dict[str, object]]
Labric Read Api
from labric import Labric
client = Labric(
api_key="My API Key",
)
response = client.tools.read(
filters={
"foo": "bar"
},
target_name="target_name",
target_type="table",
)
print(response)
[
{
"foo": "bar"
}
]
Returns Examples
[
{
"foo": "bar"
}
]