DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi
digitalocean.getGenaiAgentVersions
Explore with Pulumi AI
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:
- Agent
Id string - Agent
Versions List<Pulumi.Digital Ocean. Outputs. Get Genai Agent Versions Agent Version> - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Pulumi.
Digital Ocean. Outputs. Get Genai Agent Versions Filter> - Sorts
List<Pulumi.
Digital Ocean. Outputs. Get Genai Agent Versions Sort>
- Agent
Id string - Agent
Versions []GetGenai Agent Versions Agent Version - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Genai Agent Versions Filter - Sorts
[]Get
Genai Agent Versions Sort
- agent
Id String - agent
Versions List<GetGenai Agent Versions Agent Version> - id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Genai Agent Versions Filter> - sorts
List<Get
Genai Agent Versions Sort>
- agent
Id string - agent
Versions GetGenai Agent Versions Agent Version[] - id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Genai Agent Versions Filter[] - sorts
Get
Genai Agent Versions Sort[]
- agent_
id str - agent_
versions Sequence[GetGenai Agent Versions Agent Version] - id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Genai Agent Versions Filter] - sorts
Sequence[Get
Genai Agent Versions Sort]
- agent
Id String - agent
Versions 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
- Agent
Uuid string - ID of the Agent to retrieve versions for
- Attached
Child List<Pulumi.Agents Digital Ocean. Inputs. Get Genai Agent Versions Agent Version Attached Child Agent> - List of child agents attached to this version
- Attached
Functions List<Pulumi.Digital Ocean. Inputs. Get Genai Agent Versions Agent Version Attached Function> - List of functions attached to this version
- Attached
Guardrails List<Pulumi.Digital Ocean. Inputs. Get Genai Agent Versions Agent Version Attached Guardrail> - List of guardrails attached to this version
- Attached
Knowledge List<Pulumi.Bases Digital Ocean. Inputs. Get Genai Agent Versions Agent Version Attached Knowledge Base> - List of Knowledge Bases agent versions
- Can
Rollback bool - Indicates if the version can be rolled back
- Created
At string - Timestamp when the Agent Version was created
- Created
By stringEmail - Email of the user who created this version
- Currently
Applied 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
- Max
Tokens int - Maximum tokens allowed for the Agent
- Model
Name string - Name of model associated to the agent version
- Name string
- Name of the Agent
- Provide
Citations bool - Indicates if the should provide in-response citations
- Retrieval
Method 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.
- List<string>
- List of Tags
- Temperature double
- Temperature setting for the Agent Version
- Top
P double - Top P sampling parameter for the Agent Version
- Trigger
Action string - Trigger action for the Agent Version
- Version
Hash string - Hash of the Agent Version
- Agent
Uuid string - ID of the Agent to retrieve versions for
- Attached
Child []GetAgents Genai Agent Versions Agent Version Attached Child Agent - List of child agents attached to this version
- Attached
Functions []GetGenai Agent Versions Agent Version Attached Function - List of functions attached to this version
- Attached
Guardrails []GetGenai Agent Versions Agent Version Attached Guardrail - List of guardrails attached to this version
- Attached
Knowledge []GetBases Genai Agent Versions Agent Version Attached Knowledge Base - List of Knowledge Bases agent versions
- Can
Rollback bool - Indicates if the version can be rolled back
- Created
At string - Timestamp when the Agent Version was created
- Created
By stringEmail - Email of the user who created this version
- Currently
Applied 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
- Max
Tokens int - Maximum tokens allowed for the Agent
- Model
Name string - Name of model associated to the agent version
- Name string
- Name of the Agent
- Provide
Citations bool - Indicates if the should provide in-response citations
- Retrieval
Method 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.
- []string
- List of Tags
- Temperature float64
- Temperature setting for the Agent Version
- Top
P float64 - Top P sampling parameter for the Agent Version
- Trigger
Action string - Trigger action for the Agent Version
- Version
Hash string - Hash of the Agent Version
- agent
Uuid String - ID of the Agent to retrieve versions for
- attached
Child List<GetAgents Genai Agent Versions Agent Version Attached Child Agent> - List of child agents attached to this version
- attached
Functions List<GetGenai Agent Versions Agent Version Attached Function> - List of functions attached to this version
- attached
Guardrails List<GetGenai Agent Versions Agent Version Attached Guardrail> - List of guardrails attached to this version
- attached
Knowledge List<GetBases Genai Agent Versions Agent Version Attached Knowledge Base> - List of Knowledge Bases agent versions
- can
Rollback Boolean - Indicates if the version can be rolled back
- created
At String - Timestamp when the Agent Version was created
- created
By StringEmail - Email of the user who created this version
- currently
Applied 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
- max
Tokens Integer - Maximum tokens allowed for the Agent
- model
Name String - Name of model associated to the agent version
- name String
- Name of the Agent
- provide
Citations Boolean - Indicates if the should provide in-response citations
- retrieval
Method 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.
- List<String>
- List of Tags
- temperature Double
- Temperature setting for the Agent Version
- top
P Double - Top P sampling parameter for the Agent Version
- trigger
Action String - Trigger action for the Agent Version
- version
Hash String - Hash of the Agent Version
- agent
Uuid string - ID of the Agent to retrieve versions for
- attached
Child GetAgents Genai Agent Versions Agent Version Attached Child Agent[] - List of child agents attached to this version
- attached
Functions GetGenai Agent Versions Agent Version Attached Function[] - List of functions attached to this version
- attached
Guardrails GetGenai Agent Versions Agent Version Attached Guardrail[] - List of guardrails attached to this version
- attached
Knowledge GetBases Genai Agent Versions Agent Version Attached Knowledge Base[] - List of Knowledge Bases agent versions
- can
Rollback boolean - Indicates if the version can be rolled back
- created
At string - Timestamp when the Agent Version was created
- created
By stringEmail - Email of the user who created this version
- currently
Applied 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
- max
Tokens number - Maximum tokens allowed for the Agent
- model
Name string - Name of model associated to the agent version
- name string
- Name of the Agent
- provide
Citations boolean - Indicates if the should provide in-response citations
- retrieval
Method 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.
- string[]
- List of Tags
- temperature number
- Temperature setting for the Agent Version
- top
P number - Top P sampling parameter for the Agent Version
- trigger
Action string - Trigger action for the Agent Version
- version
Hash string - Hash of the Agent Version
- agent_
uuid str - ID of the Agent to retrieve versions for
- attached_
child_ Sequence[Getagents Genai Agent Versions Agent Version Attached Child Agent] - List of child agents attached to this version
- attached_
functions Sequence[GetGenai Agent Versions Agent Version Attached Function] - List of functions attached to this version
- attached_
guardrails Sequence[GetGenai Agent Versions Agent Version Attached Guardrail] - List of guardrails attached to this version
- attached_
knowledge_ Sequence[Getbases Genai Agent Versions Agent Version Attached Knowledge Base] - 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_ stremail - 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.
- 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
- agent
Uuid String - ID of the Agent to retrieve versions for
- attached
Child List<Property Map>Agents - List of child agents attached to this version
- attached
Functions List<Property Map> - List of functions attached to this version
- attached
Guardrails List<Property Map> - List of guardrails attached to this version
- attached
Knowledge List<Property Map>Bases - List of Knowledge Bases agent versions
- can
Rollback Boolean - Indicates if the version can be rolled back
- created
At String - Timestamp when the Agent Version was created
- created
By StringEmail - Email of the user who created this version
- currently
Applied 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
- max
Tokens Number - Maximum tokens allowed for the Agent
- model
Name String - Name of model associated to the agent version
- name String
- Name of the Agent
- provide
Citations Boolean - Indicates if the should provide in-response citations
- retrieval
Method 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.
- List<String>
- List of Tags
- temperature Number
- Temperature setting for the Agent Version
- top
P Number - Top P sampling parameter for the Agent Version
- trigger
Action String - Trigger action for the Agent Version
- version
Hash String - Hash of the Agent Version
GetGenaiAgentVersionsAgentVersionAttachedChildAgent
- Agent
Name string - Name of the child agent
- Child
Agent stringUuid - Child agent unique identifier
- If
Case string - If case
- Is
Deleted bool - Child agent is deleted
- Route
Name string - Route name
- Agent
Name string - Name of the child agent
- Child
Agent stringUuid - Child agent unique identifier
- If
Case string - If case
- Is
Deleted bool - Child agent is deleted
- Route
Name string - Route name
- agent
Name String - Name of the child agent
- child
Agent StringUuid - Child agent unique identifier
- if
Case String - If case
- is
Deleted Boolean - Child agent is deleted
- route
Name String - Route name
- agent
Name string - Name of the child agent
- child
Agent stringUuid - Child agent unique identifier
- if
Case string - If case
- is
Deleted boolean - Child agent is deleted
- route
Name string - Route name
- agent_
name str - Name of the child agent
- child_
agent_ struuid - Child agent unique identifier
- if_
case str - If case
- is_
deleted bool - Child agent is deleted
- route_
name str - Route name
- agent
Name String - Name of the child agent
- child
Agent StringUuid - Child agent unique identifier
- if
Case String - If case
- is
Deleted Boolean - Child agent is deleted
- route
Name String - Route name
GetGenaiAgentVersionsAgentVersionAttachedFunction
- Description string
- Description of the function
- Faas
Name string - FaaS name of the function
- Faas
Namespace string - FaaS namespace of the function
- Is
Deleted bool - Function is deleted
- Name string
- Name of the function
- Description string
- Description of the function
- Faas
Name string - FaaS name of the function
- Faas
Namespace string - FaaS namespace of the function
- Is
Deleted bool - Function is deleted
- Name string
- Name of the function
- description String
- Description of the function
- faas
Name String - FaaS name of the function
- faas
Namespace String - FaaS namespace of the function
- is
Deleted Boolean - Function is deleted
- name String
- Name of the function
- description string
- Description of the function
- faas
Name string - FaaS name of the function
- faas
Namespace string - FaaS namespace of the function
- is
Deleted 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
- faas
Name String - FaaS name of the function
- faas
Namespace String - FaaS namespace of the function
- is
Deleted Boolean - Function is deleted
- name String
- Name of the function
GetGenaiAgentVersionsAgentVersionAttachedGuardrail
- is_
deleted bool - Whether the guardrail is deleted
- name str
- Name of the guardrail
- priority int
- Guardrail priority
- uuid str
- Guardrail UUID
GetGenaiAgentVersionsAgentVersionAttachedKnowledgeBase
- is_
deleted bool - Whether the knowledge base is deleted
- name str
- Name of the knowledge base
- uuid str
- Knowledge base UUID
GetGenaiAgentVersionsFilter
GetGenaiAgentVersionsSort
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitalocean
Terraform Provider.