POST
/
api
/
v1
/
datasource
/
{datasource_id}
/
file
{
  "message": "<string>",
  "meta": {},
  "data": {
    "ds_type": "pdf",
    "name": "<string>",
    "description": "<string>",
    "attributes": {},
    "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Path Parameters

datasource_id
string
required

Query Parameters

ds_type
enum<string> | null
required
Available options:
pdf,
doc,
http,
tool,
text_blob,
image,
text_image
name
string | null
description
string | null
org_id
string | null

Body

multipart/form-data

Response

201
application/json

Successful Response

The response is of type object.