New to Corsair? See API access, authentication, and error handling.
Chatbots
create
chatbots.create
Create a chatbot over a pipeline, naming the input and output nodes its messages use
Risk: write
pipeline full type
pipeline full type
run
chatbots.run
Send a text or audio message to a chatbot and read its reply, continuing a conversation by id
Risk: write
Output
Knowledge Bases
create
knowledgeBases.create
Create a knowledge base, choosing the file parser, chunk size and overlap
Risk: write
Output
get
knowledgeBases.get
Read one knowledge base by id, or by name with an optional owner
Risk: read
Output
query
knowledgeBases.query
Ask one or more questions of a knowledge base, with retrieval, reranking and answering switches
Risk: read
search_metadata full type
search_metadata full type
config full type
config full type
Pipelines
bulkRun
pipelines.bulkRun
Run one pipeline once per entry in parallel, with separate inputs and a run id each
Risk: write
runs full type
runs full type
run_outputs full type
run_outputs full type
create
pipelines.create
Create a pipeline from a builder graph, passed through unchanged
Risk: write
Output
list
pipelines.list
List pipeline ids, optionally including shared pipelines and the full objects
Risk: read
Output
run
pipelines.run
Run a pipeline with the given inputs and read back every output node value
Risk: write
Output
Transformations
create
transformations.create
Create a transformation from a Python function and its input and output schemas
Risk: write
Output
run
transformations.run
Run a transformation in VectorShift’s sandbox with the given arguments
Risk: write
Output