DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
Using getGradientaiAgentVersions
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 getGradientaiAgentVersions(args: GetGradientaiAgentVersionsArgs, opts?: InvokeOptions): Promise<GetGradientaiAgentVersionsResult>
function getGradientaiAgentVersionsOutput(args: GetGradientaiAgentVersionsOutputArgs, opts?: InvokeOptions): Output<GetGradientaiAgentVersionsResult>def get_gradientai_agent_versions(agent_id: Optional[str] = None,
filters: Optional[Sequence[GetGradientaiAgentVersionsFilter]] = None,
sorts: Optional[Sequence[GetGradientaiAgentVersionsSort]] = None,
opts: Optional[InvokeOptions] = None) -> GetGradientaiAgentVersionsResult
def get_gradientai_agent_versions_output(agent_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetGradientaiAgentVersionsFilterArgs]]]] = None,
sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetGradientaiAgentVersionsSortArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGradientaiAgentVersionsResult]func GetGradientaiAgentVersions(ctx *Context, args *GetGradientaiAgentVersionsArgs, opts ...InvokeOption) (*GetGradientaiAgentVersionsResult, error)
func GetGradientaiAgentVersionsOutput(ctx *Context, args *GetGradientaiAgentVersionsOutputArgs, opts ...InvokeOption) GetGradientaiAgentVersionsResultOutput> Note: This function is named GetGradientaiAgentVersions in the Go SDK.
public static class GetGradientaiAgentVersions
{
public static Task<GetGradientaiAgentVersionsResult> InvokeAsync(GetGradientaiAgentVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetGradientaiAgentVersionsResult> Invoke(GetGradientaiAgentVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGradientaiAgentVersionsResult> getGradientaiAgentVersions(GetGradientaiAgentVersionsArgs args, InvokeOptions options)
public static Output<GetGradientaiAgentVersionsResult> getGradientaiAgentVersions(GetGradientaiAgentVersionsArgs args, InvokeOptions options)
fn::invoke:
function: digitalocean:index/getGradientaiAgentVersions:getGradientaiAgentVersions
arguments:
# arguments dictionaryThe following arguments are supported:
getGradientaiAgentVersions Result
The following output properties are available:
- Agent
Id string - Agent
Versions List<Pulumi.Digital Ocean. Outputs. Get Gradientai Agent Versions Agent Version> - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Pulumi.
Digital Ocean. Outputs. Get Gradientai Agent Versions Filter> - Sorts
List<Pulumi.
Digital Ocean. Outputs. Get Gradientai Agent Versions Sort>
- Agent
Id string - Agent
Versions []GetGradientai Agent Versions Agent Version - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Gradientai Agent Versions Filter - Sorts
[]Get
Gradientai Agent Versions Sort
- agent
Id String - agent
Versions List<GetGradientai Agent Versions Agent Version> - id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Gradientai Agent Versions Filter> - sorts
List<Get
Gradientai Agent Versions Sort>
- agent
Id string - agent
Versions GetGradientai Agent Versions Agent Version[] - id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Gradientai Agent Versions Filter[] - sorts
Get
Gradientai Agent Versions Sort[]
- agent_
id str - agent_
versions Sequence[GetGradientai Agent Versions Agent Version] - id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Gradientai Agent Versions Filter] - sorts
Sequence[Get
Gradientai 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
GetGradientaiAgentVersionsAgentVersion
- Agent
Uuid string - ID of the Agent to retrieve versions for
- Attached
Child List<Pulumi.Agents Digital Ocean. Inputs. Get Gradientai Agent Versions Agent Version Attached Child Agent> - List of child agents attached to this version
- Attached
Functions List<Pulumi.Digital Ocean. Inputs. Get Gradientai Agent Versions Agent Version Attached Function> - List of functions attached to this version
- Attached
Guardrails List<Pulumi.Digital Ocean. Inputs. Get Gradientai Agent Versions Agent Version Attached Guardrail> - List of guardrails attached to this version
- Attached
Knowledge List<Pulumi.Bases Digital Ocean. Inputs. Get Gradientai 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 Gradientai Agent Versions Agent Version Attached Child Agent - List of child agents attached to this version
- Attached
Functions []GetGradientai Agent Versions Agent Version Attached Function - List of functions attached to this version
- Attached
Guardrails []GetGradientai Agent Versions Agent Version Attached Guardrail - List of guardrails attached to this version
- Attached
Knowledge []GetBases Gradientai 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 Gradientai Agent Versions Agent Version Attached Child Agent> - List of child agents attached to this version
- attached
Functions List<GetGradientai Agent Versions Agent Version Attached Function> - List of functions attached to this version
- attached
Guardrails List<GetGradientai Agent Versions Agent Version Attached Guardrail> - List of guardrails attached to this version
- attached
Knowledge List<GetBases Gradientai 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 Gradientai Agent Versions Agent Version Attached Child Agent[] - List of child agents attached to this version
- attached
Functions GetGradientai Agent Versions Agent Version Attached Function[] - List of functions attached to this version
- attached
Guardrails GetGradientai Agent Versions Agent Version Attached Guardrail[] - List of guardrails attached to this version
- attached
Knowledge GetBases Gradientai 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 Gradientai Agent Versions Agent Version Attached Child Agent] - List of child agents attached to this version
- attached_
functions Sequence[GetGradientai Agent Versions Agent Version Attached Function] - List of functions attached to this version
- attached_
guardrails Sequence[GetGradientai Agent Versions Agent Version Attached Guardrail] - List of guardrails attached to this version
- attached_
knowledge_ Sequence[Getbases Gradientai 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
GetGradientaiAgentVersionsAgentVersionAttachedChildAgent
- 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
GetGradientaiAgentVersionsAgentVersionAttachedFunction
- 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
GetGradientaiAgentVersionsAgentVersionAttachedGuardrail
- is_
deleted bool - Whether the guardrail is deleted
- name str
- Name of the guardrail
- priority int
- Guardrail priority
- uuid str
- Guardrail UUID
GetGradientaiAgentVersionsAgentVersionAttachedKnowledgeBase
- is_
deleted bool - Whether the knowledge base is deleted
- name str
- Name of the knowledge base
- uuid str
- Knowledge base UUID
GetGradientaiAgentVersionsFilter
GetGradientaiAgentVersionsSort
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
