DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi
digitalocean.getGenaiKnowledgeBases
Explore with Pulumi AI
Using getGenaiKnowledgeBases
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 getGenaiKnowledgeBases(args: GetGenaiKnowledgeBasesArgs, opts?: InvokeOptions): Promise<GetGenaiKnowledgeBasesResult>
function getGenaiKnowledgeBasesOutput(args: GetGenaiKnowledgeBasesOutputArgs, opts?: InvokeOptions): Output<GetGenaiKnowledgeBasesResult>
def get_genai_knowledge_bases(filters: Optional[Sequence[GetGenaiKnowledgeBasesFilter]] = None,
sorts: Optional[Sequence[GetGenaiKnowledgeBasesSort]] = None,
opts: Optional[InvokeOptions] = None) -> GetGenaiKnowledgeBasesResult
def get_genai_knowledge_bases_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiKnowledgeBasesFilterArgs]]]] = None,
sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiKnowledgeBasesSortArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGenaiKnowledgeBasesResult]
func GetGenaiKnowledgeBases(ctx *Context, args *GetGenaiKnowledgeBasesArgs, opts ...InvokeOption) (*GetGenaiKnowledgeBasesResult, error)
func GetGenaiKnowledgeBasesOutput(ctx *Context, args *GetGenaiKnowledgeBasesOutputArgs, opts ...InvokeOption) GetGenaiKnowledgeBasesResultOutput
> Note: This function is named GetGenaiKnowledgeBases
in the Go SDK.
public static class GetGenaiKnowledgeBases
{
public static Task<GetGenaiKnowledgeBasesResult> InvokeAsync(GetGenaiKnowledgeBasesArgs args, InvokeOptions? opts = null)
public static Output<GetGenaiKnowledgeBasesResult> Invoke(GetGenaiKnowledgeBasesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGenaiKnowledgeBasesResult> getGenaiKnowledgeBases(GetGenaiKnowledgeBasesArgs args, InvokeOptions options)
public static Output<GetGenaiKnowledgeBasesResult> getGenaiKnowledgeBases(GetGenaiKnowledgeBasesArgs args, InvokeOptions options)
fn::invoke:
function: digitalocean:index/getGenaiKnowledgeBases:getGenaiKnowledgeBases
arguments:
# arguments dictionary
The following arguments are supported:
getGenaiKnowledgeBases Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Knowledge
Bases List<Pulumi.Digital Ocean. Outputs. Get Genai Knowledge Bases Knowledge Base> - Filters
List<Pulumi.
Digital Ocean. Outputs. Get Genai Knowledge Bases Filter> - Sorts
List<Pulumi.
Digital Ocean. Outputs. Get Genai Knowledge Bases Sort>
- Id string
- The provider-assigned unique ID for this managed resource.
- Knowledge
Bases []GetGenai Knowledge Bases Knowledge Base - Filters
[]Get
Genai Knowledge Bases Filter - Sorts
[]Get
Genai Knowledge Bases Sort
- id String
- The provider-assigned unique ID for this managed resource.
- knowledge
Bases List<GetGenai Knowledge Bases Knowledge Base> - filters
List<Get
Genai Knowledge Bases Filter> - sorts
List<Get
Genai Knowledge Bases Sort>
- id string
- The provider-assigned unique ID for this managed resource.
- knowledge
Bases GetGenai Knowledge Bases Knowledge Base[] - filters
Get
Genai Knowledge Bases Filter[] - sorts
Get
Genai Knowledge Bases Sort[]
- id str
- The provider-assigned unique ID for this managed resource.
- knowledge_
bases Sequence[GetGenai Knowledge Bases Knowledge Base] - filters
Sequence[Get
Genai Knowledge Bases Filter] - sorts
Sequence[Get
Genai Knowledge Bases Sort]
- id String
- The provider-assigned unique ID for this managed resource.
- knowledge
Bases List<Property Map> - filters List<Property Map>
- sorts List<Property Map>
Supporting Types
GetGenaiKnowledgeBasesFilter
GetGenaiKnowledgeBasesKnowledgeBase
- Added
To stringAgent At - Timestamp when the Knowledge Base was added to the Agent
- Created
At string - Created At timestamp for the Knowledge Base
- Database
Id string - Database ID of the Knowledge Base
- Embedding
Model stringUuid - Embedding model UUID for the Knowledge Base
- Is
Public bool - Indicates if the Knowledge Base is public
- Last
Indexing List<Pulumi.Jobs Digital Ocean. Inputs. Get Genai Knowledge Bases Knowledge Base Last Indexing Job> - Last indexing job for the Knowledge Base
- Name string
- Name of the Knowledge Base
- Project
Id string - Project ID of the Knowledge Base
- Region string
- Region of the Knowledge Base
- List<string>
- List of tags
- Updated
At string - Timestamp when the Knowledge Base was updated
- User
Id string - User ID of the Knowledge Base
- Uuid string
- UUID of the Knowledge Base
- Added
To stringAgent At - Timestamp when the Knowledge Base was added to the Agent
- Created
At string - Created At timestamp for the Knowledge Base
- Database
Id string - Database ID of the Knowledge Base
- Embedding
Model stringUuid - Embedding model UUID for the Knowledge Base
- Is
Public bool - Indicates if the Knowledge Base is public
- Last
Indexing []GetJobs Genai Knowledge Bases Knowledge Base Last Indexing Job - Last indexing job for the Knowledge Base
- Name string
- Name of the Knowledge Base
- Project
Id string - Project ID of the Knowledge Base
- Region string
- Region of the Knowledge Base
- []string
- List of tags
- Updated
At string - Timestamp when the Knowledge Base was updated
- User
Id string - User ID of the Knowledge Base
- Uuid string
- UUID of the Knowledge Base
- added
To StringAgent At - Timestamp when the Knowledge Base was added to the Agent
- created
At String - Created At timestamp for the Knowledge Base
- database
Id String - Database ID of the Knowledge Base
- embedding
Model StringUuid - Embedding model UUID for the Knowledge Base
- is
Public Boolean - Indicates if the Knowledge Base is public
- last
Indexing List<GetJobs Genai Knowledge Bases Knowledge Base Last Indexing Job> - Last indexing job for the Knowledge Base
- name String
- Name of the Knowledge Base
- project
Id String - Project ID of the Knowledge Base
- region String
- Region of the Knowledge Base
- List<String>
- List of tags
- updated
At String - Timestamp when the Knowledge Base was updated
- user
Id String - User ID of the Knowledge Base
- uuid String
- UUID of the Knowledge Base
- added
To stringAgent At - Timestamp when the Knowledge Base was added to the Agent
- created
At string - Created At timestamp for the Knowledge Base
- database
Id string - Database ID of the Knowledge Base
- embedding
Model stringUuid - Embedding model UUID for the Knowledge Base
- is
Public boolean - Indicates if the Knowledge Base is public
- last
Indexing GetJobs Genai Knowledge Bases Knowledge Base Last Indexing Job[] - Last indexing job for the Knowledge Base
- name string
- Name of the Knowledge Base
- project
Id string - Project ID of the Knowledge Base
- region string
- Region of the Knowledge Base
- string[]
- List of tags
- updated
At string - Timestamp when the Knowledge Base was updated
- user
Id string - User ID of the Knowledge Base
- uuid string
- UUID of the Knowledge Base
- added_
to_ stragent_ at - Timestamp when the Knowledge Base was added to the Agent
- created_
at str - Created At timestamp for the Knowledge Base
- database_
id str - Database ID of the Knowledge Base
- embedding_
model_ struuid - Embedding model UUID for the Knowledge Base
- is_
public bool - Indicates if the Knowledge Base is public
- last_
indexing_ Sequence[Getjobs Genai Knowledge Bases Knowledge Base Last Indexing Job] - Last indexing job for the Knowledge Base
- name str
- Name of the Knowledge Base
- project_
id str - Project ID of the Knowledge Base
- region str
- Region of the Knowledge Base
- Sequence[str]
- List of tags
- updated_
at str - Timestamp when the Knowledge Base was updated
- user_
id str - User ID of the Knowledge Base
- uuid str
- UUID of the Knowledge Base
- added
To StringAgent At - Timestamp when the Knowledge Base was added to the Agent
- created
At String - Created At timestamp for the Knowledge Base
- database
Id String - Database ID of the Knowledge Base
- embedding
Model StringUuid - Embedding model UUID for the Knowledge Base
- is
Public Boolean - Indicates if the Knowledge Base is public
- last
Indexing List<Property Map>Jobs - Last indexing job for the Knowledge Base
- name String
- Name of the Knowledge Base
- project
Id String - Project ID of the Knowledge Base
- region String
- Region of the Knowledge Base
- List<String>
- List of tags
- updated
At String - Timestamp when the Knowledge Base was updated
- user
Id String - User ID of the Knowledge Base
- uuid String
- UUID of the Knowledge Base
GetGenaiKnowledgeBasesKnowledgeBaseLastIndexingJob
- Created
At string - Created At timestamp for the last indexing job
- Finished
At string - Timestamp when the last indexing job finished
- Knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- Started
At string - Timestamp when the last indexing job started
- Updated
At string - Timestamp when the last indexing job updated
- Completed
Datasources int - Number of completed datasources in the last indexing job
- Data
Source List<string>Uuids - 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
- Total
Datasources int - Total number of datasources in the last indexing job
- Uuid string
- UUID of the last indexing job
- Created
At string - Created At timestamp for the last indexing job
- Finished
At string - Timestamp when the last indexing job finished
- Knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- Started
At string - Timestamp when the last indexing job started
- Updated
At string - Timestamp when the last indexing job updated
- Completed
Datasources int - Number of completed datasources in the last indexing job
- Data
Source []stringUuids - 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
- Total
Datasources int - Total number of datasources in the last indexing job
- Uuid string
- UUID of the last indexing job
- created
At String - Created At timestamp for the last indexing job
- finished
At String - Timestamp when the last indexing job finished
- knowledge
Base StringUuid - UUID of the Knowledge Base for the last indexing job
- started
At String - Timestamp when the last indexing job started
- updated
At String - Timestamp when the last indexing job updated
- completed
Datasources Integer - Number of completed datasources in the last indexing job
- data
Source List<String>Uuids - 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
- total
Datasources Integer - Total number of datasources in the last indexing job
- uuid String
- UUID of the last indexing job
- created
At string - Created At timestamp for the last indexing job
- finished
At string - Timestamp when the last indexing job finished
- knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- started
At string - Timestamp when the last indexing job started
- updated
At string - Timestamp when the last indexing job updated
- completed
Datasources number - Number of completed datasources in the last indexing job
- data
Source string[]Uuids - 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
- total
Datasources 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_ struuid - 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_ Sequence[str]uuids - 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
- created
At String - Created At timestamp for the last indexing job
- finished
At String - Timestamp when the last indexing job finished
- knowledge
Base StringUuid - UUID of the Knowledge Base for the last indexing job
- started
At String - Timestamp when the last indexing job started
- updated
At String - Timestamp when the last indexing job updated
- completed
Datasources Number - Number of completed datasources in the last indexing job
- data
Source List<String>Uuids - 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
- total
Datasources Number - Total number of datasources in the last indexing job
- uuid String
- UUID of the last indexing job
GetGenaiKnowledgeBasesSort
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitalocean
Terraform Provider.