1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. getGradientaiKnowledgeBaseDataSources
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
digitalocean logo
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi

    Using getGradientaiKnowledgeBaseDataSources

    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 getGradientaiKnowledgeBaseDataSources(args: GetGradientaiKnowledgeBaseDataSourcesArgs, opts?: InvokeOptions): Promise<GetGradientaiKnowledgeBaseDataSourcesResult>
    function getGradientaiKnowledgeBaseDataSourcesOutput(args: GetGradientaiKnowledgeBaseDataSourcesOutputArgs, opts?: InvokeOptions): Output<GetGradientaiKnowledgeBaseDataSourcesResult>
    def get_gradientai_knowledge_base_data_sources(knowledge_base_uuid: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetGradientaiKnowledgeBaseDataSourcesResult
    def get_gradientai_knowledge_base_data_sources_output(knowledge_base_uuid: Optional[pulumi.Input[str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetGradientaiKnowledgeBaseDataSourcesResult]
    func GetGradientaiKnowledgeBaseDataSources(ctx *Context, args *GetGradientaiKnowledgeBaseDataSourcesArgs, opts ...InvokeOption) (*GetGradientaiKnowledgeBaseDataSourcesResult, error)
    func GetGradientaiKnowledgeBaseDataSourcesOutput(ctx *Context, args *GetGradientaiKnowledgeBaseDataSourcesOutputArgs, opts ...InvokeOption) GetGradientaiKnowledgeBaseDataSourcesResultOutput

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

    public static class GetGradientaiKnowledgeBaseDataSources 
    {
        public static Task<GetGradientaiKnowledgeBaseDataSourcesResult> InvokeAsync(GetGradientaiKnowledgeBaseDataSourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetGradientaiKnowledgeBaseDataSourcesResult> Invoke(GetGradientaiKnowledgeBaseDataSourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGradientaiKnowledgeBaseDataSourcesResult> getGradientaiKnowledgeBaseDataSources(GetGradientaiKnowledgeBaseDataSourcesArgs args, InvokeOptions options)
    public static Output<GetGradientaiKnowledgeBaseDataSourcesResult> getGradientaiKnowledgeBaseDataSources(GetGradientaiKnowledgeBaseDataSourcesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: digitalocean:index/getGradientaiKnowledgeBaseDataSources:getGradientaiKnowledgeBaseDataSources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getGradientaiKnowledgeBaseDataSources Result

    The following output properties are available:

    Datasources []GetGradientaiKnowledgeBaseDataSourcesDatasource
    Id string
    The provider-assigned unique ID for this managed resource.
    KnowledgeBaseUuid string
    datasources List<GetGradientaiKnowledgeBaseDataSourcesDatasource>
    id String
    The provider-assigned unique ID for this managed resource.
    knowledgeBaseUuid String
    datasources GetGradientaiKnowledgeBaseDataSourcesDatasource[]
    id string
    The provider-assigned unique ID for this managed resource.
    knowledgeBaseUuid string
    datasources Sequence[GetGradientaiKnowledgeBaseDataSourcesDatasource]
    id str
    The provider-assigned unique ID for this managed resource.
    knowledge_base_uuid str
    datasources List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    knowledgeBaseUuid String

    Supporting Types

    GetGradientaiKnowledgeBaseDataSourcesDatasource

    CreatedAt string
    Created At timestamp for the Knowledge Base
    UpdatedAt string
    Timestamp when the Knowledge Base was updated
    FileUploadDataSources []GetGradientaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource
    File upload data source configuration
    LastIndexingJobs []GetGradientaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob
    Last indexing job for the data source
    SpacesDataSources []GetGradientaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource
    Spaces data source configuration
    Uuid string
    UUID of the Knowledge Base
    WebCrawlerDataSources []GetGradientaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource
    Web crawler data source configuration
    createdAt String
    Created At timestamp for the Knowledge Base
    updatedAt String
    Timestamp when the Knowledge Base was updated
    fileUploadDataSources List<GetGradientaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource>
    File upload data source configuration
    lastIndexingJobs List<GetGradientaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob>
    Last indexing job for the data source
    spacesDataSources List<GetGradientaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource>
    Spaces data source configuration
    uuid String
    UUID of the Knowledge Base
    webCrawlerDataSources List<GetGradientaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource>
    Web crawler data source configuration
    createdAt string
    Created At timestamp for the Knowledge Base
    updatedAt string
    Timestamp when the Knowledge Base was updated
    fileUploadDataSources GetGradientaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource[]
    File upload data source configuration
    lastIndexingJobs GetGradientaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob[]
    Last indexing job for the data source
    spacesDataSources GetGradientaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource[]
    Spaces data source configuration
    uuid string
    UUID of the Knowledge Base
    webCrawlerDataSources GetGradientaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource[]
    Web crawler data source configuration
    created_at str
    Created At timestamp for the Knowledge Base
    updated_at str
    Timestamp when the Knowledge Base was updated
    file_upload_data_sources Sequence[GetGradientaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource]
    File upload data source configuration
    last_indexing_jobs Sequence[GetGradientaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob]
    Last indexing job for the data source
    spaces_data_sources Sequence[GetGradientaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource]
    Spaces data source configuration
    uuid str
    UUID of the Knowledge Base
    web_crawler_data_sources Sequence[GetGradientaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource]
    Web crawler data source configuration
    createdAt String
    Created At timestamp for the Knowledge Base
    updatedAt String
    Timestamp when the Knowledge Base was updated
    fileUploadDataSources List<Property Map>
    File upload data source configuration
    lastIndexingJobs List<Property Map>
    Last indexing job for the data source
    spacesDataSources List<Property Map>
    Spaces data source configuration
    uuid String
    UUID of the Knowledge Base
    webCrawlerDataSources List<Property Map>
    Web crawler data source configuration

    GetGradientaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource

    OriginalFileName string
    The original name of the uploaded file
    SizeInBytes string
    The size of the file in bytes
    StoredObjectKey string
    The stored object key for the file
    OriginalFileName string
    The original name of the uploaded file
    SizeInBytes string
    The size of the file in bytes
    StoredObjectKey string
    The stored object key for the file
    originalFileName String
    The original name of the uploaded file
    sizeInBytes String
    The size of the file in bytes
    storedObjectKey String
    The stored object key for the file
    originalFileName string
    The original name of the uploaded file
    sizeInBytes string
    The size of the file in bytes
    storedObjectKey string
    The stored object key for the file
    original_file_name str
    The original name of the uploaded file
    size_in_bytes str
    The size of the file in bytes
    stored_object_key str
    The stored object key for the file
    originalFileName String
    The original name of the uploaded file
    sizeInBytes String
    The size of the file in bytes
    storedObjectKey String
    The stored object key for the file

    GetGradientaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob

    CreatedAt string
    Created At timestamp for the last indexing job
    FinishedAt string
    Timestamp when the last indexing job finished
    KnowledgeBaseUuid string
    UUID of the Knowledge Base for the last indexing job
    StartedAt string
    Timestamp when the last indexing job started
    UpdatedAt string
    Timestamp when the last indexing job updated
    CompletedDatasources int
    Number of completed datasources in the last indexing job
    DataSourceUuids List<string>
    Datasource UUIDs for the last indexing job
    Phase string
    Phase of the last indexing job
    Tokens int
    Number of tokens processed in the last indexing job
    TotalDatasources int
    Total number of datasources in the last indexing job
    Uuid string
    UUID of the last indexing job
    CreatedAt string
    Created At timestamp for the last indexing job
    FinishedAt string
    Timestamp when the last indexing job finished
    KnowledgeBaseUuid string
    UUID of the Knowledge Base for the last indexing job
    StartedAt string
    Timestamp when the last indexing job started
    UpdatedAt string
    Timestamp when the last indexing job updated
    CompletedDatasources int
    Number of completed datasources in the last indexing job
    DataSourceUuids []string
    Datasource UUIDs for the last indexing job
    Phase string
    Phase of the last indexing job
    Tokens int
    Number of tokens processed in the last indexing job
    TotalDatasources int
    Total number of datasources in the last indexing job
    Uuid string
    UUID of the last indexing job
    createdAt String
    Created At timestamp for the last indexing job
    finishedAt String
    Timestamp when the last indexing job finished
    knowledgeBaseUuid String
    UUID of the Knowledge Base for the last indexing job
    startedAt String
    Timestamp when the last indexing job started
    updatedAt String
    Timestamp when the last indexing job updated
    completedDatasources Integer
    Number of completed datasources in the last indexing job
    dataSourceUuids List<String>
    Datasource UUIDs for the last indexing job
    phase String
    Phase of the last indexing job
    tokens Integer
    Number of tokens processed in the last indexing job
    totalDatasources Integer
    Total number of datasources in the last indexing job
    uuid String
    UUID of the last indexing job
    createdAt string
    Created At timestamp for the last indexing job
    finishedAt string
    Timestamp when the last indexing job finished
    knowledgeBaseUuid string
    UUID of the Knowledge Base for the last indexing job
    startedAt string
    Timestamp when the last indexing job started
    updatedAt string
    Timestamp when the last indexing job updated
    completedDatasources number
    Number of completed datasources in the last indexing job
    dataSourceUuids string[]
    Datasource UUIDs for the last indexing job
    phase string
    Phase of the last indexing job
    tokens number
    Number of tokens processed in the last indexing job
    totalDatasources number
    Total number of datasources in the last indexing job
    uuid string
    UUID of the last indexing job
    created_at str
    Created At timestamp for the last indexing job
    finished_at str
    Timestamp when the last indexing job finished
    knowledge_base_uuid str
    UUID of the Knowledge Base for the last indexing job
    started_at str
    Timestamp when the last indexing job started
    updated_at str
    Timestamp when the last indexing job updated
    completed_datasources int
    Number of completed datasources in the last indexing job
    data_source_uuids Sequence[str]
    Datasource UUIDs for the last indexing job
    phase str
    Phase of the last indexing job
    tokens int
    Number of tokens processed in the last indexing job
    total_datasources int
    Total number of datasources in the last indexing job
    uuid str
    UUID of the last indexing job
    createdAt String
    Created At timestamp for the last indexing job
    finishedAt String
    Timestamp when the last indexing job finished
    knowledgeBaseUuid String
    UUID of the Knowledge Base for the last indexing job
    startedAt String
    Timestamp when the last indexing job started
    updatedAt String
    Timestamp when the last indexing job updated
    completedDatasources Number
    Number of completed datasources in the last indexing job
    dataSourceUuids List<String>
    Datasource UUIDs for the last indexing job
    phase String
    Phase of the last indexing job
    tokens Number
    Number of tokens processed in the last indexing job
    totalDatasources Number
    Total number of datasources in the last indexing job
    uuid String
    UUID of the last indexing job

    GetGradientaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource

    BucketName string
    The name of the Spaces bucket
    ItemPath string
    The path to the item in the bucket
    Region string
    The region of the Spaces bucket
    BucketName string
    The name of the Spaces bucket
    ItemPath string
    The path to the item in the bucket
    Region string
    The region of the Spaces bucket
    bucketName String
    The name of the Spaces bucket
    itemPath String
    The path to the item in the bucket
    region String
    The region of the Spaces bucket
    bucketName string
    The name of the Spaces bucket
    itemPath string
    The path to the item in the bucket
    region string
    The region of the Spaces bucket
    bucket_name str
    The name of the Spaces bucket
    item_path str
    The path to the item in the bucket
    region str
    The region of the Spaces bucket
    bucketName String
    The name of the Spaces bucket
    itemPath String
    The path to the item in the bucket
    region String
    The region of the Spaces bucket

    GetGradientaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource

    BaseUrl string
    The base URL to crawl
    CrawlingOption string
    Options for specifying how URLs found on pages should be handled.

    • UNKNOWN: Default unknown value
    • SCOPED: Only include the base URL.
    • PATH: Crawl the base URL and linked pages within the URL path.
    • DOMAIN: Crawl the base URL and linked pages within the same domain.
    • SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
    EmbedMedia bool
    Whether to embed media content
    BaseUrl string
    The base URL to crawl
    CrawlingOption string
    Options for specifying how URLs found on pages should be handled.

    • UNKNOWN: Default unknown value
    • SCOPED: Only include the base URL.
    • PATH: Crawl the base URL and linked pages within the URL path.
    • DOMAIN: Crawl the base URL and linked pages within the same domain.
    • SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
    EmbedMedia bool
    Whether to embed media content
    baseUrl String
    The base URL to crawl
    crawlingOption String
    Options for specifying how URLs found on pages should be handled.

    • UNKNOWN: Default unknown value
    • SCOPED: Only include the base URL.
    • PATH: Crawl the base URL and linked pages within the URL path.
    • DOMAIN: Crawl the base URL and linked pages within the same domain.
    • SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
    embedMedia Boolean
    Whether to embed media content
    baseUrl string
    The base URL to crawl
    crawlingOption string
    Options for specifying how URLs found on pages should be handled.

    • UNKNOWN: Default unknown value
    • SCOPED: Only include the base URL.
    • PATH: Crawl the base URL and linked pages within the URL path.
    • DOMAIN: Crawl the base URL and linked pages within the same domain.
    • SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
    embedMedia boolean
    Whether to embed media content
    base_url str
    The base URL to crawl
    crawling_option str
    Options for specifying how URLs found on pages should be handled.

    • UNKNOWN: Default unknown value
    • SCOPED: Only include the base URL.
    • PATH: Crawl the base URL and linked pages within the URL path.
    • DOMAIN: Crawl the base URL and linked pages within the same domain.
    • SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
    embed_media bool
    Whether to embed media content
    baseUrl String
    The base URL to crawl
    crawlingOption String
    Options for specifying how URLs found on pages should be handled.

    • UNKNOWN: Default unknown value
    • SCOPED: Only include the base URL.
    • PATH: Crawl the base URL and linked pages within the URL path.
    • DOMAIN: Crawl the base URL and linked pages within the same domain.
    • SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
    embedMedia Boolean
    Whether to embed media content

    Package Details

    Repository
    DigitalOcean pulumi/pulumi-digitalocean
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the digitalocean Terraform Provider.
    digitalocean logo
    DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate