Skip to main content
POST
/
v1
/
datasets
/
{dataset_id}
/
files
Add file to dataset
curl --request POST \
  --url https://api.gbase.ai/v1/datasets/{dataset_id}/files \
  --header 'Content-Type: multipart/form-data' \
  --form 'sources_url=<string>'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
string<uuid>
required

Query Parameters

learn_type
integer
default:100

Body

multipart/form-data
files
file[]
required
sources_url
string

Response

Successful Response

The response is of type any.

I