Skip to main content
POST
/
external
/
datastores
/
file-upload
/
{id}
Sube un archivo a un datastore (multipart/form-data)
curl --request POST \
  --url https://app.braviloai.com/api/external/datastores/file-upload/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "id": "<string>",
  "type": "<string>",
  "name": "<string>",
  "groupId": "<string>",
  "updatedAt": "2023-12-25",
  "createdAt": "2023-12-25",
  "lastSynch": "2023-12-25",
  "config": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.braviloai.com/llms.txt

Use this file to discover all available pages before exploring further.

Sube un archivo directamente (vía multipart/form-data). El archivo se guarda en S3 y se encola para procesamiento automático.

Ejemplo

curl -X POST https://app.braviloai.com/api/external/datastores/file-upload/${datastoreId} \
-H "Authorization: Bearer ${API_KEY}" \
-F "file=@documento.xlsx"
El procesamiento es asíncrono. El estado pasará a running y luego success/error.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID del datastore

Body

multipart/form-data
file
file

Response

Archivo subido y encolado para procesamiento

id
string
type
string
name
string
status
enum<string>
Available options:
unsynched,
pending,
running,
synched,
error,
usage_limit_reached
groupId
string
updatedAt
string<date>
createdAt
string<date>
lastSynch
string<date>
config
object