Run Object
ID of the task that a user can use for polling its status
any of
completed
, failed
, in_progress
The final result object, may vary based on task type.
Specifies the data sources used to retrieve contextual information for a run. Contains optional
web_search
and file_search
results.Show properties
Show properties
When provided, this object defines filters that AI21 Maestro will apply whenever it performs a file search.
When provided, this object defines filters that AI21 Maestro will apply whenever it performs a web search.
Show properties
Show properties
Restrict web search to the specified URL prefixes. The following formats are valid:
https://example.com
– limits to URLs that start withwww.example.com
example.com
– limits to URLs that start withwww.example.com
example.com/page
– limits to URLs that start withwww.example.com/page
sub.example.com
– limits to URLs that start with the specified subdomain (e.g.,docs.example.com
,blog.example.com
)
Detailed results for each requirement.
An object that provides details about why the run failed. Returns
null
if the run completed successfully.Show properties
Show properties
A descriptive message explaining the reason for the failure.
requirements_result
, data_sources
, and error
fields.
These fields are not included by default and will only appear in the response if you explicitly request them using the include parameter.
For details on how to use this parameter, see the include
parameter documentation.