1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. getGenaiAgentVersions
DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi

digitalocean.getGenaiAgentVersions

Explore with Pulumi AI

digitalocean logo
DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi

    Using getGenaiAgentVersions

    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 getGenaiAgentVersions(args: GetGenaiAgentVersionsArgs, opts?: InvokeOptions): Promise<GetGenaiAgentVersionsResult>
    function getGenaiAgentVersionsOutput(args: GetGenaiAgentVersionsOutputArgs, opts?: InvokeOptions): Output<GetGenaiAgentVersionsResult>
    def get_genai_agent_versions(agent_id: Optional[str] = None,
                                 filters: Optional[Sequence[GetGenaiAgentVersionsFilter]] = None,
                                 sorts: Optional[Sequence[GetGenaiAgentVersionsSort]] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetGenaiAgentVersionsResult
    def get_genai_agent_versions_output(agent_id: Optional[pulumi.Input[str]] = None,
                                 filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiAgentVersionsFilterArgs]]]] = None,
                                 sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiAgentVersionsSortArgs]]]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetGenaiAgentVersionsResult]
    func GetGenaiAgentVersions(ctx *Context, args *GetGenaiAgentVersionsArgs, opts ...InvokeOption) (*GetGenaiAgentVersionsResult, error)
    func GetGenaiAgentVersionsOutput(ctx *Context, args *GetGenaiAgentVersionsOutputArgs, opts ...InvokeOption) GetGenaiAgentVersionsResultOutput

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

    public static class GetGenaiAgentVersions 
    {
        public static Task<GetGenaiAgentVersionsResult> InvokeAsync(GetGenaiAgentVersionsArgs args, InvokeOptions? opts = null)
        public static Output<GetGenaiAgentVersionsResult> Invoke(GetGenaiAgentVersionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGenaiAgentVersionsResult> getGenaiAgentVersions(GetGenaiAgentVersionsArgs args, InvokeOptions options)
    public static Output<GetGenaiAgentVersionsResult> getGenaiAgentVersions(GetGenaiAgentVersionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: digitalocean:index/getGenaiAgentVersions:getGenaiAgentVersions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getGenaiAgentVersions Result

    The following output properties are available:

    agentId String
    agentVersions List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    sorts List<Property Map>

    Supporting Types

    GetGenaiAgentVersionsAgentVersion

    AgentUuid string
    ID of the Agent to retrieve versions for
    AttachedChildAgents List<Pulumi.DigitalOcean.Inputs.GetGenaiAgentVersionsAgentVersionAttachedChildAgent>
    List of child agents attached to this version
    AttachedFunctions List<Pulumi.DigitalOcean.Inputs.GetGenaiAgentVersionsAgentVersionAttachedFunction>
    List of functions attached to this version
    AttachedGuardrails List<Pulumi.DigitalOcean.Inputs.GetGenaiAgentVersionsAgentVersionAttachedGuardrail>
    List of guardrails attached to this version
    AttachedKnowledgeBases List<Pulumi.DigitalOcean.Inputs.GetGenaiAgentVersionsAgentVersionAttachedKnowledgeBase>
    List of Knowledge Bases agent versions
    CanRollback bool
    Indicates if the version can be rolled back
    CreatedAt string
    Timestamp when the Agent Version was created
    CreatedByEmail string
    Email of the user who created this version
    CurrentlyApplied bool
    Indicates if this version is currently applied configuration
    Description string
    Description of the Agent Version
    Id string
    Id of the Agent Version
    Instruction string
    Instruction for the Agent Version
    K int
    K value for the Agent Version
    MaxTokens int
    Maximum tokens allowed for the Agent
    ModelName string
    Name of model associated to the agent version
    Name string
    Name of the Agent
    ProvideCitations bool
    Indicates if the should provide in-response citations
    RetrievalMethod string
    Retrieval method used.

    • RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
    • RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
    • RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
    • RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
    • RETRIEVAL_METHOD_NONE: The retrieval method is none.
    Tags List<string>
    List of Tags
    Temperature double
    Temperature setting for the Agent Version
    TopP double
    Top P sampling parameter for the Agent Version
    TriggerAction string
    Trigger action for the Agent Version
    VersionHash string
    Hash of the Agent Version
    AgentUuid string
    ID of the Agent to retrieve versions for
    AttachedChildAgents []GetGenaiAgentVersionsAgentVersionAttachedChildAgent
    List of child agents attached to this version
    AttachedFunctions []GetGenaiAgentVersionsAgentVersionAttachedFunction
    List of functions attached to this version
    AttachedGuardrails []GetGenaiAgentVersionsAgentVersionAttachedGuardrail
    List of guardrails attached to this version
    AttachedKnowledgeBases []GetGenaiAgentVersionsAgentVersionAttachedKnowledgeBase
    List of Knowledge Bases agent versions
    CanRollback bool
    Indicates if the version can be rolled back
    CreatedAt string
    Timestamp when the Agent Version was created
    CreatedByEmail string
    Email of the user who created this version
    CurrentlyApplied bool
    Indicates if this version is currently applied configuration
    Description string
    Description of the Agent Version
    Id string
    Id of the Agent Version
    Instruction string
    Instruction for the Agent Version
    K int
    K value for the Agent Version
    MaxTokens int
    Maximum tokens allowed for the Agent
    ModelName string
    Name of model associated to the agent version
    Name string
    Name of the Agent
    ProvideCitations bool
    Indicates if the should provide in-response citations
    RetrievalMethod string
    Retrieval method used.

    • RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
    • RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
    • RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
    • RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
    • RETRIEVAL_METHOD_NONE: The retrieval method is none.
    Tags []string
    List of Tags
    Temperature float64
    Temperature setting for the Agent Version
    TopP float64
    Top P sampling parameter for the Agent Version
    TriggerAction string
    Trigger action for the Agent Version
    VersionHash string
    Hash of the Agent Version
    agentUuid String
    ID of the Agent to retrieve versions for
    attachedChildAgents List<GetGenaiAgentVersionsAgentVersionAttachedChildAgent>
    List of child agents attached to this version
    attachedFunctions List<GetGenaiAgentVersionsAgentVersionAttachedFunction>
    List of functions attached to this version
    attachedGuardrails List<GetGenaiAgentVersionsAgentVersionAttachedGuardrail>
    List of guardrails attached to this version
    attachedKnowledgeBases List<GetGenaiAgentVersionsAgentVersionAttachedKnowledgeBase>
    List of Knowledge Bases agent versions
    canRollback Boolean
    Indicates if the version can be rolled back
    createdAt String
    Timestamp when the Agent Version was created
    createdByEmail String
    Email of the user who created this version
    currentlyApplied Boolean
    Indicates if this version is currently applied configuration
    description String
    Description of the Agent Version
    id String
    Id of the Agent Version
    instruction String
    Instruction for the Agent Version
    k Integer
    K value for the Agent Version
    maxTokens Integer
    Maximum tokens allowed for the Agent
    modelName String
    Name of model associated to the agent version
    name String
    Name of the Agent
    provideCitations Boolean
    Indicates if the should provide in-response citations
    retrievalMethod String
    Retrieval method used.

    • RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
    • RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
    • RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
    • RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
    • RETRIEVAL_METHOD_NONE: The retrieval method is none.
    tags List<String>
    List of Tags
    temperature Double
    Temperature setting for the Agent Version
    topP Double
    Top P sampling parameter for the Agent Version
    triggerAction String
    Trigger action for the Agent Version
    versionHash String
    Hash of the Agent Version
    agentUuid string
    ID of the Agent to retrieve versions for
    attachedChildAgents GetGenaiAgentVersionsAgentVersionAttachedChildAgent[]
    List of child agents attached to this version
    attachedFunctions GetGenaiAgentVersionsAgentVersionAttachedFunction[]
    List of functions attached to this version
    attachedGuardrails GetGenaiAgentVersionsAgentVersionAttachedGuardrail[]
    List of guardrails attached to this version
    attachedKnowledgeBases GetGenaiAgentVersionsAgentVersionAttachedKnowledgeBase[]
    List of Knowledge Bases agent versions
    canRollback boolean
    Indicates if the version can be rolled back
    createdAt string
    Timestamp when the Agent Version was created
    createdByEmail string
    Email of the user who created this version
    currentlyApplied boolean
    Indicates if this version is currently applied configuration
    description string
    Description of the Agent Version
    id string
    Id of the Agent Version
    instruction string
    Instruction for the Agent Version
    k number
    K value for the Agent Version
    maxTokens number
    Maximum tokens allowed for the Agent
    modelName string
    Name of model associated to the agent version
    name string
    Name of the Agent
    provideCitations boolean
    Indicates if the should provide in-response citations
    retrievalMethod string
    Retrieval method used.

    • RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
    • RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
    • RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
    • RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
    • RETRIEVAL_METHOD_NONE: The retrieval method is none.
    tags string[]
    List of Tags
    temperature number
    Temperature setting for the Agent Version
    topP number
    Top P sampling parameter for the Agent Version
    triggerAction string
    Trigger action for the Agent Version
    versionHash string
    Hash of the Agent Version
    agent_uuid str
    ID of the Agent to retrieve versions for
    attached_child_agents Sequence[GetGenaiAgentVersionsAgentVersionAttachedChildAgent]
    List of child agents attached to this version
    attached_functions Sequence[GetGenaiAgentVersionsAgentVersionAttachedFunction]
    List of functions attached to this version
    attached_guardrails Sequence[GetGenaiAgentVersionsAgentVersionAttachedGuardrail]
    List of guardrails attached to this version
    attached_knowledge_bases Sequence[GetGenaiAgentVersionsAgentVersionAttachedKnowledgeBase]
    List of Knowledge Bases agent versions
    can_rollback bool
    Indicates if the version can be rolled back
    created_at str
    Timestamp when the Agent Version was created
    created_by_email str
    Email of the user who created this version
    currently_applied bool
    Indicates if this version is currently applied configuration
    description str
    Description of the Agent Version
    id str
    Id of the Agent Version
    instruction str
    Instruction for the Agent Version
    k int
    K value for the Agent Version
    max_tokens int
    Maximum tokens allowed for the Agent
    model_name str
    Name of model associated to the agent version
    name str
    Name of the Agent
    provide_citations bool
    Indicates if the should provide in-response citations
    retrieval_method str
    Retrieval method used.

    • RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
    • RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
    • RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
    • RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
    • RETRIEVAL_METHOD_NONE: The retrieval method is none.
    tags Sequence[str]
    List of Tags
    temperature float
    Temperature setting for the Agent Version
    top_p float
    Top P sampling parameter for the Agent Version
    trigger_action str
    Trigger action for the Agent Version
    version_hash str
    Hash of the Agent Version
    agentUuid String
    ID of the Agent to retrieve versions for
    attachedChildAgents List<Property Map>
    List of child agents attached to this version
    attachedFunctions List<Property Map>
    List of functions attached to this version
    attachedGuardrails List<Property Map>
    List of guardrails attached to this version
    attachedKnowledgeBases List<Property Map>
    List of Knowledge Bases agent versions
    canRollback Boolean
    Indicates if the version can be rolled back
    createdAt String
    Timestamp when the Agent Version was created
    createdByEmail String
    Email of the user who created this version
    currentlyApplied Boolean
    Indicates if this version is currently applied configuration
    description String
    Description of the Agent Version
    id String
    Id of the Agent Version
    instruction String
    Instruction for the Agent Version
    k Number
    K value for the Agent Version
    maxTokens Number
    Maximum tokens allowed for the Agent
    modelName String
    Name of model associated to the agent version
    name String
    Name of the Agent
    provideCitations Boolean
    Indicates if the should provide in-response citations
    retrievalMethod String
    Retrieval method used.

    • RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
    • RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
    • RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
    • RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
    • RETRIEVAL_METHOD_NONE: The retrieval method is none.
    tags List<String>
    List of Tags
    temperature Number
    Temperature setting for the Agent Version
    topP Number
    Top P sampling parameter for the Agent Version
    triggerAction String
    Trigger action for the Agent Version
    versionHash String
    Hash of the Agent Version

    GetGenaiAgentVersionsAgentVersionAttachedChildAgent

    AgentName string
    Name of the child agent
    ChildAgentUuid string
    Child agent unique identifier
    IfCase string
    If case
    IsDeleted bool
    Child agent is deleted
    RouteName string
    Route name
    AgentName string
    Name of the child agent
    ChildAgentUuid string
    Child agent unique identifier
    IfCase string
    If case
    IsDeleted bool
    Child agent is deleted
    RouteName string
    Route name
    agentName String
    Name of the child agent
    childAgentUuid String
    Child agent unique identifier
    ifCase String
    If case
    isDeleted Boolean
    Child agent is deleted
    routeName String
    Route name
    agentName string
    Name of the child agent
    childAgentUuid string
    Child agent unique identifier
    ifCase string
    If case
    isDeleted boolean
    Child agent is deleted
    routeName string
    Route name
    agent_name str
    Name of the child agent
    child_agent_uuid str
    Child agent unique identifier
    if_case str
    If case
    is_deleted bool
    Child agent is deleted
    route_name str
    Route name
    agentName String
    Name of the child agent
    childAgentUuid String
    Child agent unique identifier
    ifCase String
    If case
    isDeleted Boolean
    Child agent is deleted
    routeName String
    Route name

    GetGenaiAgentVersionsAgentVersionAttachedFunction

    Description string
    Description of the function
    FaasName string
    FaaS name of the function
    FaasNamespace string
    FaaS namespace of the function
    IsDeleted bool
    Function is deleted
    Name string
    Name of the function
    Description string
    Description of the function
    FaasName string
    FaaS name of the function
    FaasNamespace string
    FaaS namespace of the function
    IsDeleted bool
    Function is deleted
    Name string
    Name of the function
    description String
    Description of the function
    faasName String
    FaaS name of the function
    faasNamespace String
    FaaS namespace of the function
    isDeleted Boolean
    Function is deleted
    name String
    Name of the function
    description string
    Description of the function
    faasName string
    FaaS name of the function
    faasNamespace string
    FaaS namespace of the function
    isDeleted boolean
    Function is deleted
    name string
    Name of the function
    description str
    Description of the function
    faas_name str
    FaaS name of the function
    faas_namespace str
    FaaS namespace of the function
    is_deleted bool
    Function is deleted
    name str
    Name of the function
    description String
    Description of the function
    faasName String
    FaaS name of the function
    faasNamespace String
    FaaS namespace of the function
    isDeleted Boolean
    Function is deleted
    name String
    Name of the function

    GetGenaiAgentVersionsAgentVersionAttachedGuardrail

    IsDeleted bool
    Whether the guardrail is deleted
    Name string
    Name of the guardrail
    Priority int
    Guardrail priority
    Uuid string
    Guardrail UUID
    IsDeleted bool
    Whether the guardrail is deleted
    Name string
    Name of the guardrail
    Priority int
    Guardrail priority
    Uuid string
    Guardrail UUID
    isDeleted Boolean
    Whether the guardrail is deleted
    name String
    Name of the guardrail
    priority Integer
    Guardrail priority
    uuid String
    Guardrail UUID
    isDeleted boolean
    Whether the guardrail is deleted
    name string
    Name of the guardrail
    priority number
    Guardrail priority
    uuid string
    Guardrail UUID
    is_deleted bool
    Whether the guardrail is deleted
    name str
    Name of the guardrail
    priority int
    Guardrail priority
    uuid str
    Guardrail UUID
    isDeleted Boolean
    Whether the guardrail is deleted
    name String
    Name of the guardrail
    priority Number
    Guardrail priority
    uuid String
    Guardrail UUID

    GetGenaiAgentVersionsAgentVersionAttachedKnowledgeBase

    IsDeleted bool
    Whether the knowledge base is deleted
    Name string
    Name of the knowledge base
    Uuid string
    Knowledge base UUID
    IsDeleted bool
    Whether the knowledge base is deleted
    Name string
    Name of the knowledge base
    Uuid string
    Knowledge base UUID
    isDeleted Boolean
    Whether the knowledge base is deleted
    name String
    Name of the knowledge base
    uuid String
    Knowledge base UUID
    isDeleted boolean
    Whether the knowledge base is deleted
    name string
    Name of the knowledge base
    uuid string
    Knowledge base UUID
    is_deleted bool
    Whether the knowledge base is deleted
    name str
    Name of the knowledge base
    uuid str
    Knowledge base UUID
    isDeleted Boolean
    Whether the knowledge base is deleted
    name String
    Name of the knowledge base
    uuid String
    Knowledge base UUID

    GetGenaiAgentVersionsFilter

    Key string
    Values List<string>
    All bool
    MatchBy string
    Key string
    Values []string
    All bool
    MatchBy string
    key String
    values List<String>
    all Boolean
    matchBy String
    key string
    values string[]
    all boolean
    matchBy string
    key str
    values Sequence[str]
    all bool
    match_by str
    key String
    values List<String>
    all Boolean
    matchBy String

    GetGenaiAgentVersionsSort

    Key string
    Direction string
    Key string
    Direction string
    key String
    direction String
    key string
    direction string
    key str
    direction str
    key String
    direction String

    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.51.0 published on Thursday, Aug 14, 2025 by Pulumi