Define and run
Installnomadic, pydantic, and pandas, then define your schema:
mode="thinking", not
mode="fast".
Read results
Get typed objects or a pandas table:structured() without as_model returns dictionaries. Both examples skip
events without a structured payload. DataFrame rows include event metadata
alongside your schema fields; only the DataFrame helper requires pandas.
Fetch an existing batch with client.video.get_batch_analysis("BATCH_ID") to
use the same helpers.
Other schema formats
Without Pydantic, pass a list of field definitions asoutput_schema:
enum, text, number, boolean, and time_range.
Schemas support up to 12 fields; enums require 2–64 distinct values. Use unique
snake_case names, required=False for optional fields, and repeated=True for
multiple values.
Next: Create a Studio.