Datasources

Create datasource

Auth: Enterprise+Admin — Enterprise plan account with admin role on the workspace.

post/datasources

Request

  • Base URL
    https://api.distill.io/v2
  • Auth
    • API key in cookie connect.sid
    • or HTTP bearer
    • or API key in query parameter api_key

Request body

namestring required
descriptionstring nullable
datasource_typestring
page_type_idstring uuid nullable
provider_idstring uuid nullable
category_idstring uuid required
costinteger
example_uristring[] nullable
priorityinteger
paramsobject
state0 | 40 | 100
schemaobject nullable
min_plan_priceinteger
asyncboolean
example_dataobject nullable
slugstring required
specobject

Response

Success

idstring uuid required
namestring required
descriptionstring nullable
datasource_typestring nullable
priorityinteger nullable
stateinteger required
category_idstring uuid nullable
categorystring nullable
costinteger nullable
slugstring nullable
asyncboolean nullable
min_plan_priceinteger nullable
schemaobject nullable
datasource_paramsobject nullable
specobject
tsstring date-time required
ts_modstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.