POST
/
datasources
curl --request POST \
  --url https://dash.superagentes.ai/api/datasources \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'fileName=<string>' \
  --form type=file \
  --form 'datastoreId=<string>' \
  --form 'custom_id=<string>'
{
  "id": "<string>",
  "type": "<string>",
  "name": "<string>",
  "status": "unsynched",
  "groupId": "<string>",
  "updatedAt": "2023-12-25",
  "createdAt": "2023-12-25",
  "lastSynch": "2023-12-25",
  "config": {}
}

Authorizations

Authorization
string
header
required

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

Body

Response

200
application/json
Sucesso

The response is of type object.