Openi DeveloperDeveloper
Referência da APIData sources

Import an uploaded file into a dataset

POST
/v1/data-sources/{id}/files/{fileId}/import

Authorization

ApiKeyAuth
x-api-key<token>

Tenant API key

In: header

Path Parameters

id*string
Formatuuid
fileId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

datasetName*string
mapping?
options?

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/data-sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/import" \  -H "Content-Type: application/json" \  -d '{    "datasetName": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "status": "string"}