1. Packages
  2. Databricks Provider
  3. API Docs
  4. getKnowledgeAssistantKnowledgeSources
Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi
databricks logo
Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi

    Public Beta

    Using getKnowledgeAssistantKnowledgeSources

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getKnowledgeAssistantKnowledgeSources(args: GetKnowledgeAssistantKnowledgeSourcesArgs, opts?: InvokeOptions): Promise<GetKnowledgeAssistantKnowledgeSourcesResult>
    function getKnowledgeAssistantKnowledgeSourcesOutput(args: GetKnowledgeAssistantKnowledgeSourcesOutputArgs, opts?: InvokeOptions): Output<GetKnowledgeAssistantKnowledgeSourcesResult>
    def get_knowledge_assistant_knowledge_sources(page_size: Optional[int] = None,
                                                  parent: Optional[str] = None,
                                                  provider_config: Optional[GetKnowledgeAssistantKnowledgeSourcesProviderConfig] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetKnowledgeAssistantKnowledgeSourcesResult
    def get_knowledge_assistant_knowledge_sources_output(page_size: Optional[pulumi.Input[int]] = None,
                                                  parent: Optional[pulumi.Input[str]] = None,
                                                  provider_config: Optional[pulumi.Input[GetKnowledgeAssistantKnowledgeSourcesProviderConfigArgs]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetKnowledgeAssistantKnowledgeSourcesResult]
    func GetKnowledgeAssistantKnowledgeSources(ctx *Context, args *GetKnowledgeAssistantKnowledgeSourcesArgs, opts ...InvokeOption) (*GetKnowledgeAssistantKnowledgeSourcesResult, error)
    func GetKnowledgeAssistantKnowledgeSourcesOutput(ctx *Context, args *GetKnowledgeAssistantKnowledgeSourcesOutputArgs, opts ...InvokeOption) GetKnowledgeAssistantKnowledgeSourcesResultOutput

    > Note: This function is named GetKnowledgeAssistantKnowledgeSources in the Go SDK.

    public static class GetKnowledgeAssistantKnowledgeSources 
    {
        public static Task<GetKnowledgeAssistantKnowledgeSourcesResult> InvokeAsync(GetKnowledgeAssistantKnowledgeSourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetKnowledgeAssistantKnowledgeSourcesResult> Invoke(GetKnowledgeAssistantKnowledgeSourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKnowledgeAssistantKnowledgeSourcesResult> getKnowledgeAssistantKnowledgeSources(GetKnowledgeAssistantKnowledgeSourcesArgs args, InvokeOptions options)
    public static Output<GetKnowledgeAssistantKnowledgeSourcesResult> getKnowledgeAssistantKnowledgeSources(GetKnowledgeAssistantKnowledgeSourcesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: databricks:index/getKnowledgeAssistantKnowledgeSources:getKnowledgeAssistantKnowledgeSources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Parent string
    Parent resource to list from. Format: knowledge-assistants/{knowledge_assistant_id}
    PageSize int
    ProviderConfig GetKnowledgeAssistantKnowledgeSourcesProviderConfig
    Configure the provider for management through account provider.
    Parent string
    Parent resource to list from. Format: knowledge-assistants/{knowledge_assistant_id}
    PageSize int
    ProviderConfig GetKnowledgeAssistantKnowledgeSourcesProviderConfig
    Configure the provider for management through account provider.
    parent String
    Parent resource to list from. Format: knowledge-assistants/{knowledge_assistant_id}
    pageSize Integer
    providerConfig GetKnowledgeAssistantKnowledgeSourcesProviderConfig
    Configure the provider for management through account provider.
    parent string
    Parent resource to list from. Format: knowledge-assistants/{knowledge_assistant_id}
    pageSize number
    providerConfig GetKnowledgeAssistantKnowledgeSourcesProviderConfig
    Configure the provider for management through account provider.
    parent str
    Parent resource to list from. Format: knowledge-assistants/{knowledge_assistant_id}
    page_size int
    provider_config GetKnowledgeAssistantKnowledgeSourcesProviderConfig
    Configure the provider for management through account provider.
    parent String
    Parent resource to list from. Format: knowledge-assistants/{knowledge_assistant_id}
    pageSize Number
    providerConfig Property Map
    Configure the provider for management through account provider.

    getKnowledgeAssistantKnowledgeSources Result

    The following output properties are available:

    id String
    The provider-assigned unique ID for this managed resource.
    knowledgeSources List<Property Map>
    parent String
    pageSize Number
    providerConfig Property Map

    Supporting Types

    GetKnowledgeAssistantKnowledgeSourcesKnowledgeSource

    CreateTime string
    (string) - Timestamp when this knowledge source was created
    Description string
    (string) - Description of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    DisplayName string
    (string) - Human-readable display name of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    FileTable GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFileTable
    (FileTableSpec)
    Files GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFiles
    (FilesSpec)
    Id string
    (string)
    Index GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceIndex
    (IndexSpec)
    KnowledgeCutoffTime string
    (string) - Timestamp representing the cutoff before which content in this knowledge source is being ingested
    Name string
    (string) - Full resource name: knowledge-assistants/{knowledge_assistant_id}/knowledge-sources/{knowledge_source_id}
    SourceType string
    (string) - The type of the source: "index", "files", or <span pulumi-lang-nodejs=""fileTable"" pulumi-lang-dotnet=""FileTable"" pulumi-lang-go=""fileTable"" pulumi-lang-python=""file_table"" pulumi-lang-yaml=""fileTable"" pulumi-lang-java=""fileTable"">"file_table". Required when creating a Knowledge Source. When updating a Knowledge Source, this field is ignored
    State string
    (string) - Possible values are: FAILED_UPDATE, UPDATED, UPDATING
    ProviderConfig GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceProviderConfig
    Configure the provider for management through account provider.
    CreateTime string
    (string) - Timestamp when this knowledge source was created
    Description string
    (string) - Description of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    DisplayName string
    (string) - Human-readable display name of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    FileTable GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFileTable
    (FileTableSpec)
    Files GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFiles
    (FilesSpec)
    Id string
    (string)
    Index GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceIndex
    (IndexSpec)
    KnowledgeCutoffTime string
    (string) - Timestamp representing the cutoff before which content in this knowledge source is being ingested
    Name string
    (string) - Full resource name: knowledge-assistants/{knowledge_assistant_id}/knowledge-sources/{knowledge_source_id}
    SourceType string
    (string) - The type of the source: "index", "files", or <span pulumi-lang-nodejs=""fileTable"" pulumi-lang-dotnet=""FileTable"" pulumi-lang-go=""fileTable"" pulumi-lang-python=""file_table"" pulumi-lang-yaml=""fileTable"" pulumi-lang-java=""fileTable"">"file_table". Required when creating a Knowledge Source. When updating a Knowledge Source, this field is ignored
    State string
    (string) - Possible values are: FAILED_UPDATE, UPDATED, UPDATING
    ProviderConfig GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceProviderConfig
    Configure the provider for management through account provider.
    createTime String
    (string) - Timestamp when this knowledge source was created
    description String
    (string) - Description of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    displayName String
    (string) - Human-readable display name of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    fileTable GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFileTable
    (FileTableSpec)
    files GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFiles
    (FilesSpec)
    id String
    (string)
    index GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceIndex
    (IndexSpec)
    knowledgeCutoffTime String
    (string) - Timestamp representing the cutoff before which content in this knowledge source is being ingested
    name String
    (string) - Full resource name: knowledge-assistants/{knowledge_assistant_id}/knowledge-sources/{knowledge_source_id}
    sourceType String
    (string) - The type of the source: "index", "files", or <span pulumi-lang-nodejs=""fileTable"" pulumi-lang-dotnet=""FileTable"" pulumi-lang-go=""fileTable"" pulumi-lang-python=""file_table"" pulumi-lang-yaml=""fileTable"" pulumi-lang-java=""fileTable"">"file_table". Required when creating a Knowledge Source. When updating a Knowledge Source, this field is ignored
    state String
    (string) - Possible values are: FAILED_UPDATE, UPDATED, UPDATING
    providerConfig GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceProviderConfig
    Configure the provider for management through account provider.
    createTime string
    (string) - Timestamp when this knowledge source was created
    description string
    (string) - Description of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    displayName string
    (string) - Human-readable display name of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    fileTable GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFileTable
    (FileTableSpec)
    files GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFiles
    (FilesSpec)
    id string
    (string)
    index GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceIndex
    (IndexSpec)
    knowledgeCutoffTime string
    (string) - Timestamp representing the cutoff before which content in this knowledge source is being ingested
    name string
    (string) - Full resource name: knowledge-assistants/{knowledge_assistant_id}/knowledge-sources/{knowledge_source_id}
    sourceType string
    (string) - The type of the source: "index", "files", or <span pulumi-lang-nodejs=""fileTable"" pulumi-lang-dotnet=""FileTable"" pulumi-lang-go=""fileTable"" pulumi-lang-python=""file_table"" pulumi-lang-yaml=""fileTable"" pulumi-lang-java=""fileTable"">"file_table". Required when creating a Knowledge Source. When updating a Knowledge Source, this field is ignored
    state string
    (string) - Possible values are: FAILED_UPDATE, UPDATED, UPDATING
    providerConfig GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceProviderConfig
    Configure the provider for management through account provider.
    create_time str
    (string) - Timestamp when this knowledge source was created
    description str
    (string) - Description of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    display_name str
    (string) - Human-readable display name of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    file_table GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFileTable
    (FileTableSpec)
    files GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFiles
    (FilesSpec)
    id str
    (string)
    index GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceIndex
    (IndexSpec)
    knowledge_cutoff_time str
    (string) - Timestamp representing the cutoff before which content in this knowledge source is being ingested
    name str
    (string) - Full resource name: knowledge-assistants/{knowledge_assistant_id}/knowledge-sources/{knowledge_source_id}
    source_type str
    (string) - The type of the source: "index", "files", or <span pulumi-lang-nodejs=""fileTable"" pulumi-lang-dotnet=""FileTable"" pulumi-lang-go=""fileTable"" pulumi-lang-python=""file_table"" pulumi-lang-yaml=""fileTable"" pulumi-lang-java=""fileTable"">"file_table". Required when creating a Knowledge Source. When updating a Knowledge Source, this field is ignored
    state str
    (string) - Possible values are: FAILED_UPDATE, UPDATED, UPDATING
    provider_config GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceProviderConfig
    Configure the provider for management through account provider.
    createTime String
    (string) - Timestamp when this knowledge source was created
    description String
    (string) - Description of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    displayName String
    (string) - Human-readable display name of the knowledge source. Required when creating a Knowledge Source. When updating a Knowledge Source, optional unless included in update_mask
    fileTable Property Map
    (FileTableSpec)
    files Property Map
    (FilesSpec)
    id String
    (string)
    index Property Map
    (IndexSpec)
    knowledgeCutoffTime String
    (string) - Timestamp representing the cutoff before which content in this knowledge source is being ingested
    name String
    (string) - Full resource name: knowledge-assistants/{knowledge_assistant_id}/knowledge-sources/{knowledge_source_id}
    sourceType String
    (string) - The type of the source: "index", "files", or <span pulumi-lang-nodejs=""fileTable"" pulumi-lang-dotnet=""FileTable"" pulumi-lang-go=""fileTable"" pulumi-lang-python=""file_table"" pulumi-lang-yaml=""fileTable"" pulumi-lang-java=""fileTable"">"file_table". Required when creating a Knowledge Source. When updating a Knowledge Source, this field is ignored
    state String
    (string) - Possible values are: FAILED_UPDATE, UPDATED, UPDATING
    providerConfig Property Map
    Configure the provider for management through account provider.

    GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFileTable

    FileCol string
    (string) - The name of the column containing BINARY file content to be indexed
    TableName string
    (string) - Full UC name of the table, in the format of {CATALOG}.{SCHEMA}.{TABLE_NAME}
    FileCol string
    (string) - The name of the column containing BINARY file content to be indexed
    TableName string
    (string) - Full UC name of the table, in the format of {CATALOG}.{SCHEMA}.{TABLE_NAME}
    fileCol String
    (string) - The name of the column containing BINARY file content to be indexed
    tableName String
    (string) - Full UC name of the table, in the format of {CATALOG}.{SCHEMA}.{TABLE_NAME}
    fileCol string
    (string) - The name of the column containing BINARY file content to be indexed
    tableName string
    (string) - Full UC name of the table, in the format of {CATALOG}.{SCHEMA}.{TABLE_NAME}
    file_col str
    (string) - The name of the column containing BINARY file content to be indexed
    table_name str
    (string) - Full UC name of the table, in the format of {CATALOG}.{SCHEMA}.{TABLE_NAME}
    fileCol String
    (string) - The name of the column containing BINARY file content to be indexed
    tableName String
    (string) - Full UC name of the table, in the format of {CATALOG}.{SCHEMA}.{TABLE_NAME}

    GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceFiles

    Path string
    (string) - A UC volume path that includes a list of files
    Path string
    (string) - A UC volume path that includes a list of files
    path String
    (string) - A UC volume path that includes a list of files
    path string
    (string) - A UC volume path that includes a list of files
    path str
    (string) - A UC volume path that includes a list of files
    path String
    (string) - A UC volume path that includes a list of files

    GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceIndex

    DocUriCol string
    (string) - The column that specifies a link or reference to where the information came from
    IndexName string
    (string) - Full UC name of the vector search index, in the format of {CATALOG}.{SCHEMA}.{INDEX_NAME}
    TextCol string
    (string) - The column that includes the document text for retrieval
    DocUriCol string
    (string) - The column that specifies a link or reference to where the information came from
    IndexName string
    (string) - Full UC name of the vector search index, in the format of {CATALOG}.{SCHEMA}.{INDEX_NAME}
    TextCol string
    (string) - The column that includes the document text for retrieval
    docUriCol String
    (string) - The column that specifies a link or reference to where the information came from
    indexName String
    (string) - Full UC name of the vector search index, in the format of {CATALOG}.{SCHEMA}.{INDEX_NAME}
    textCol String
    (string) - The column that includes the document text for retrieval
    docUriCol string
    (string) - The column that specifies a link or reference to where the information came from
    indexName string
    (string) - Full UC name of the vector search index, in the format of {CATALOG}.{SCHEMA}.{INDEX_NAME}
    textCol string
    (string) - The column that includes the document text for retrieval
    doc_uri_col str
    (string) - The column that specifies a link or reference to where the information came from
    index_name str
    (string) - Full UC name of the vector search index, in the format of {CATALOG}.{SCHEMA}.{INDEX_NAME}
    text_col str
    (string) - The column that includes the document text for retrieval
    docUriCol String
    (string) - The column that specifies a link or reference to where the information came from
    indexName String
    (string) - Full UC name of the vector search index, in the format of {CATALOG}.{SCHEMA}.{INDEX_NAME}
    textCol String
    (string) - The column that includes the document text for retrieval

    GetKnowledgeAssistantKnowledgeSourcesKnowledgeSourceProviderConfig

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    GetKnowledgeAssistantKnowledgeSourcesProviderConfig

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo
    Viewing docs for Databricks v1.90.0
    published on Thursday, Mar 19, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.