Skip to main content

cmind/ragmanager/v1/rag_data_source_service.proto

Package: cmind.ragmanager.v1

Enums

RagDataSourceType

ValueNumberDescription
RAG_DATA_SOURCE_TYPE_UNSPECIFIED0
RAG_DATA_SOURCE_TYPE_S31
RAG_DATA_SOURCE_TYPE_AZURE2
RAG_DATA_SOURCE_TYPE_SMB3

Messages

S3DataSourceConfig

FieldTypeNumberDescription
endpointstring1RAG handlers additionally enforce HTTP(S), redirect, and SSRF policy
bucketstring2
prefixstring3
regionstring4

AzureDataSourceConfig

FieldTypeNumberDescription
accountEndpointstring1Derived from the connection string and returned without credential material Public requests must omit this field
containerstring2
prefixstring3

SMBDataSourceConfig

FieldTypeNumberDescription
serverstring1DNS hostname or IP address without a scheme, port, or path
sharestring2Share name without path separators
portuint323Direct SMB port, normally 445
prefixstring4Optional share-relative directory scope
requireEncryptionbool5Require SMB3 transport encryption instead of relying on server policy

RagDataSourceConfig

FieldTypeNumberDescription
s3S3DataSourceConfig1
azureAzureDataSourceConfig2
smbSMBDataSourceConfig3

Oneof config: one of s3, azure, smb

S3DataSourceCredentials

FieldTypeNumberDescription
accessKeyIdstring1
secretAccessKeystring2

AzureDataSourceCredentials

FieldTypeNumberDescription
connectionStringstring1RAG handlers validate every endpoint in the connection string before connecting

SMBDataSourceCredentials

FieldTypeNumberDescription
usernamestring1Bare username or UPN; use domain for domain-qualified authentication
passwordstring2
domainstring3Optional NTLM domain or workgroup

RagDataSourceCredentials

FieldTypeNumberDescription
s3S3DataSourceCredentials1
azureAzureDataSourceCredentials2
smbSMBDataSourceCredentials3

Oneof credentials: one of s3, azure, smb

RagDataSourceSchedule

FieldTypeNumberDescription
syncIntervalgoogle.protobuf.Duration1

RagDataSource

FieldTypeNumberDescription
idstring1
ragIdstring2
namestring3
typeRagDataSourceType4
configRagDataSourceConfig5
credentialsConfiguredbool6Output only; true when write-only provider credentials are stored
scheduleRagDataSourceSchedule7
createdAtgoogle.protobuf.Timestamp8
updatedAtgoogle.protobuf.Timestamp9
deletedAtgoogle.protobuf.Timestamp10

CreateRagDataSourceRequest

FieldTypeNumberDescription
tenantIdstring1
ragIdstring2
namestring3
typeRagDataSourceType4
configRagDataSourceConfig5
credentialsRagDataSourceCredentials6
scheduleRagDataSourceSchedule7

CreateRagDataSourceResponse

FieldTypeNumberDescription
dataSourceRagDataSource1

ListRagDataSourcesRequest

FieldTypeNumberDescription
tenantIdstring1
ragIdstring2

ListRagDataSourcesResponse

FieldTypeNumberDescription
dataSourcesrepeated RagDataSource1

GetRagDataSourceRequest

FieldTypeNumberDescription
tenantIdstring1
ragIdstring2
sourceIdstring3

GetRagDataSourceResponse

FieldTypeNumberDescription
dataSourceRagDataSource1

UpdateRagDataSourceRequest

The handler applies the mask to the stored source and revalidates the result

FieldTypeNumberDescription
tenantIdstring1
ragIdstring2
sourceIdstring3
updateMaskgoogle.protobuf.FieldMask4
nameoptional string5
scheduleRagDataSourceSchedule6Selecting schedule with no value disables periodic sync
credentialsRagDataSourceCredentials7

UpdateRagDataSourceResponse

FieldTypeNumberDescription
dataSourceRagDataSource1

DeleteRagDataSourceRequest

FieldTypeNumberDescription
tenantIdstring1
ragIdstring2
sourceIdstring3

DeleteRagDataSourceResponse

ListAllRagDataSourcesRequest

FieldTypeNumberDescription
tenantIdstring1

ListAllRagDataSourcesResponse

FieldTypeNumberDescription
dataSourcesrepeated RagDataSource1

Services

RagDataSourceService

CreateRagDataSource

POST /cmind.ragmanager.v1.RagDataSourceService/CreateRagDataSource

Request: CreateRagDataSourceRequest

Response: CreateRagDataSourceResponse

ListRagDataSources

GET /cmind.ragmanager.v1.RagDataSourceService/ListRagDataSources

Request: ListRagDataSourcesRequest

Response: ListRagDataSourcesResponse

GetRagDataSource

GET /cmind.ragmanager.v1.RagDataSourceService/GetRagDataSource

Request: GetRagDataSourceRequest

Response: GetRagDataSourceResponse

UpdateRagDataSource

POST /cmind.ragmanager.v1.RagDataSourceService/UpdateRagDataSource

Request: UpdateRagDataSourceRequest

Response: UpdateRagDataSourceResponse

DeleteRagDataSource

POST /cmind.ragmanager.v1.RagDataSourceService/DeleteRagDataSource

Request: DeleteRagDataSourceRequest

Response: DeleteRagDataSourceResponse

ListAllRagDataSources

GET /cmind.ragmanager.v1.RagDataSourceService/ListAllRagDataSources

Request: ListAllRagDataSourcesRequest

Response: ListAllRagDataSourcesResponse