POST
/
create_user_file_tags
curl --request POST \
  --url https://api.carbon.ai/create_user_file_tags \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "organization_user_file_id": 123,
  "tags": {}
}'
{
  "id": 123,
  "source": "GOOGLE_DRIVE",
  "organization_id": 123,
  "organization_supplied_user_id": "<string>",
  "organization_user_data_source_id": 123,
  "external_file_id": "<string>",
  "external_url": "<string>",
  "sync_status": "DELAYED",
  "sync_error_message": "<string>",
  "last_sync": "2023-11-07T05:31:56Z",
  "tags": {},
  "file_statistics": {
    "file_format": "TXT",
    "file_size": 123,
    "num_characters": 123,
    "num_tokens": 123,
    "num_embeddings": 123
  },
  "file_metadata": {},
  "embedding_properties": {},
  "chunk_size": 123,
  "chunk_overlap": 123,
  "chunk_properties": {
    "set_page_as_boundary": true,
    "prepend_filename_to_chunks": true,
    "max_items_per_chunk": 123
  },
  "ocr_properties": {},
  "ocr_job_started_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "parent_id": 123,
  "enable_auto_sync": true,
  "presigned_url": "<string>",
  "parsed_text_url": "<string>",
  "additional_presigned_urls": {},
  "skip_embedding_generation": true,
  "source_created_at": "2023-11-07T05:31:56Z",
  "generate_sparse_vectors": true,
  "request_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

authorization
string
headerrequired

token <token>, corresponds to temporary access tokens.

Body

application/json
organization_user_file_id
integer
required
tags
object
required

Response

200 - application/json
id
integer
required
source
enum<string>
required
Available options:
GOOGLE_DRIVE,
NOTION,
NOTION_DATABASE,
INTERCOM,
DROPBOX,
ONEDRIVE,
SHAREPOINT,
CONFLUENCE,
BOX,
ZENDESK,
ZOTERO,
S3,
GMAIL,
OUTLOOK,
TEXT,
CSV,
TSV,
PDF,
DOCX,
PPTX,
XLSX,
MD,
RTF,
JSON,
RAW_TEXT,
WEB_SCRAPE,
RSS_FEED,
FRESHDESK,
GITBOOK,
SALESFORCE,
GITHUB,
JPG,
PNG,
JPEG,
MP3,
MP4,
MP2,
AAC,
WAV,
FLAC,
PCM,
M4A,
OGG,
OPUS,
WEBM
organization_id
integer
required
organization_supplied_user_id
string
required
organization_user_data_source_id
integer | null
required
external_file_id
string
required
external_url
string | null
required
sync_status
enum<string>
required
Available options:
DELAYED,
QUEUED_FOR_SYNC,
SYNCING,
READY,
SYNC_ERROR,
EVALUATING_RESYNC,
RATE_LIMITED,
SYNC_ABORTED,
QUEUED_FOR_OCR
sync_error_message
string | null
required
last_sync
string | null
required
tags
object | null
required
file_statistics
object | null
required
file_metadata
object | null
required
embedding_properties
object | null
required
chunk_size
integer | null
required
chunk_overlap
integer | null
required
chunk_properties
object | null
required
ocr_properties
object
required
ocr_job_started_at
string | null
required
name
string | null
required
parent_id
integer | null
required
enable_auto_sync
boolean | null
required
presigned_url
string | null
required
parsed_text_url
string | null
required
additional_presigned_urls
object | null
required
skip_embedding_generation
boolean
required
source_created_at
string | null
required
generate_sparse_vectors
boolean | null
required
request_id
string | null
required
created_at
string
required
updated_at
string
required