Endpoints
Create new Task
Create a new Task using the following information:
Creation will fail if an existing task with the same name and type already exists.
Not all tasks types support all the fields, see each task documentation for more details.
POST
/
api
/
tasks
/
create
Body
application/json
The task you want to perform
Available options:
transform_with_ref_data
, extract
, transform
, recommend
, ingest_reference_data
, ingest_document
, text_to_text
, index_document
The unique name of the task
A json schema describing the input type for requests to the task
The output type for requests to the task
Examples of expected input and output for the task
The data sources that should be used as reference data for the task
The prompt for the task
The default directives to be applied when running the task
The name of the collection to use if this task end up creating one