AladiaDocs
Api referenceAiFiles

Create the assistant of a file

Create a file

POST
/v2/ai/assistant/files

Create a file

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v2/ai/assistant/files" \  -H "Content-Type: application/json" \  -d '{    "fileId": "string",    "metadata": {      "mimetype": "string",      "size": 0,      "name": "string"    }  }'
{}