Grid
Run Grid
You can run your template to produce of a grid and receive the results via webhook you provide.
The schema of the request your webhook will receive is <tt>GridResponseV2</tt>, please find its definition at the bottom of the page.
Details about the request:
- All sheets from your template will be copied to your new grid, but only those which you specify in the request will be run
- Every sheet request must have <tt>sheet_index</tt>, the rest of the fields are optional. If you supply just <tt>sheet_index</tt>, the sheet will be run exactly as it is in the template.
- Optional arguments:
- <tt>meeting_ical_uid</tt>: if you supply ical_uid from your calendar, Model ML will look for transcript of this meeting in your account. If it can't be found, the request will fail
- <tt>global_instructions</tt>: if you supply global instaructions, they will be appended before the global instructions already defined in the sheet (if any)
- <tt>inputs</tt>: you can create rows dynamically by providing inputs. Inputs is a list of objects of the form <tt>{"<colum index>": "<cell value>"}</tt>. It supports multiple columns too, so you can supply:
- inputs to two columns in one row like <tt>"inputs": [{"0": "input 0", "1": "input 1"}]</tt>
- two inputs to the same column to create two rows like <tt>"inputs": [{"0": "input 0"}, {"0": "input 1"}]</tt>
- for asset columns, you can provide a list of ical_uids like <tt>"inputs": [{"0": {"ical_uids": ["your-ical-uid"]}}]</tt>
- and all combinations of the above
post/v2/grids/run
Request body
Example request
{
"sheets": [
{
"inputs": [
{
"0": "input column 0",
"1": "input column 1"
}
]
}
]
}Response
Successful Response