POST
/
integrations
/
gmail
/
sync

Authorizations

authorization
string
header
required

token <token>, corresponds to temporary access tokens.

Body

application/json
filters
object
required
chunk_overlap
integer | null
default:
20
chunk_size
integer | null
default:
1500
data_source_id
integer | null
embedding_model
enum<string>
Available options:
OPENAI,
AZURE_OPENAI,
AZURE_ADA_LARGE_256,
AZURE_ADA_LARGE_1024,
AZURE_ADA_LARGE_3072,
AZURE_ADA_SMALL_512,
AZURE_ADA_SMALL_1536,
COHERE_MULTILINGUAL_V3,
VERTEX_MULTIMODAL,
OPENAI_ADA_LARGE_256,
OPENAI_ADA_LARGE_1024,
OPENAI_ADA_LARGE_3072,
OPENAI_ADA_SMALL_512,
OPENAI_ADA_SMALL_1536,
SOLAR_1_MINI
file_sync_config
object | null
generate_sparse_vectors
boolean | null
default:
false
incremental_sync
boolean
default:
false
prepend_filename_to_chunks
boolean | null
default:
false
request_id
string | null
skip_embedding_generation
boolean | null
default:
false
sync_attachments
boolean | null
default:
false
tags
object | null

Response

200 - application/json
success
boolean
required