API Reference
Build a dataset based on a description, without a workflow, ad-hoc
This sends an agent to build a dataset with a specific data schema
POST
Build a dataset based on a description, without a workflow, ad-hoc
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The query to make
Method to use, 'simple' or 'advanced'. Advanced may return better results, but uses more credits
Example:
"simple"
Body
application/json · string
A JSON schema to extract against
Example:
{
"name": "<the users name>",
"company": "<the users company>"
}
Response
200 - application/json
An in-progress result, which you can retrieve later with /result/{result_id}
The response is of type object
.
Build a dataset based on a description, without a workflow, ad-hoc