published on Friday, Aug 28, 2026 by Pulumi
published on Friday, Aug 28, 2026 by Pulumi
mongodbatlas.getAiModelOrgRateLimits returns all organization-level AI Model Rate Limits for the specified organization.
NOTE: Organization-level rate limits represent the maximum allowed limits for all projects within the organization. These limits are determined by your organization’s tier and cannot be modified. Project-level rate limits can be configured using the
mongodbatlas.AiModelRateLimitresource but must not exceed the organization-level limits returned by this data source.
Example Usage
S
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const _this = mongodbatlas.getAiModelOrgRateLimits({
orgId: orgId,
});
import pulumi
import pulumi_mongodbatlas as mongodbatlas
this = mongodbatlas.get_ai_model_org_rate_limits(org_id=org_id)
package main
import (
"github.com/pulumi/pulumi-mongodbatlas/sdk/v4/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mongodbatlas.GetAiModelOrgRateLimits(ctx, &mongodbatlas.LookupAiModelOrgRateLimitsArgs{
OrgId: orgId,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var @this = Mongodbatlas.GetAiModelOrgRateLimits.Invoke(new()
{
OrgId = orgId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.MongodbatlasFunctions;
import com.pulumi.mongodbatlas.inputs.GetAiModelOrgRateLimitsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = MongodbatlasFunctions.getAiModelOrgRateLimits(GetAiModelOrgRateLimitsArgs.builder()
.orgId(orgId)
.build());
}
}
variables:
this:
fn::invoke:
function: mongodbatlas:getAiModelOrgRateLimits
arguments:
orgId: ${orgId}
pulumi {
required_providers {
mongodbatlas = {
source = "pulumi/mongodbatlas"
}
}
}
data "mongodbatlas_getaimodelorgratelimits" "this" {
org_id = orgId
}
Using getAiModelOrgRateLimits
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 getAiModelOrgRateLimits(args: GetAiModelOrgRateLimitsArgs, opts?: InvokeOptions): Promise<GetAiModelOrgRateLimitsResult>
function getAiModelOrgRateLimitsOutput(args: GetAiModelOrgRateLimitsOutputArgs, opts?: InvokeOutputOptions): Output<GetAiModelOrgRateLimitsResult>def get_ai_model_org_rate_limits(org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAiModelOrgRateLimitsResult
def get_ai_model_org_rate_limits_output(org_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAiModelOrgRateLimitsResult]func LookupAiModelOrgRateLimits(ctx *Context, args *LookupAiModelOrgRateLimitsArgs, opts ...InvokeOption) (*LookupAiModelOrgRateLimitsResult, error)
func LookupAiModelOrgRateLimitsOutput(ctx *Context, args *LookupAiModelOrgRateLimitsOutputArgs, opts ...InvokeOption) LookupAiModelOrgRateLimitsResultOutput> Note: This function is named LookupAiModelOrgRateLimits in the Go SDK.
public static class GetAiModelOrgRateLimits
{
public static Task<GetAiModelOrgRateLimitsResult> InvokeAsync(GetAiModelOrgRateLimitsArgs args, InvokeOptions? opts = null)
public static Output<GetAiModelOrgRateLimitsResult> Invoke(GetAiModelOrgRateLimitsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAiModelOrgRateLimitsResult> Invoke(GetAiModelOrgRateLimitsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAiModelOrgRateLimitsResult> getAiModelOrgRateLimits(GetAiModelOrgRateLimitsArgs args, InvokeOptions options)
public static Output<GetAiModelOrgRateLimitsResult> getAiModelOrgRateLimits(GetAiModelOrgRateLimitsArgs args, InvokeOptions options)
public static Output<GetAiModelOrgRateLimitsResult> getAiModelOrgRateLimits(GetAiModelOrgRateLimitsArgs args, InvokeOutputOptions options)
fn::invoke:
function: mongodbatlas:index/getAiModelOrgRateLimits:getAiModelOrgRateLimits
arguments:
# arguments dictionarydata "mongodbatlas_get_ai_model_org_rate_limits" "name" {
# arguments
}The following arguments are supported:
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- org_
id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
getAiModelOrgRateLimits Result
The following output properties are available:
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Results
List<Get
Ai Model Org Rate Limits Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Results
[]Get
Ai Model Org Rate Limits Result - List of returned documents that MongoDB Cloud provides when completing this request.
- org_
id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- results list(object)
- List of returned documents that MongoDB Cloud provides when completing this request.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- results
List<Get
Ai Model Org Rate Limits Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- results
Get
Ai Model Org Rate Limits Result[] - List of returned documents that MongoDB Cloud provides when completing this request.
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- results
Sequence[Get
Ai Model Org Rate Limits Result] - List of returned documents that MongoDB Cloud provides when completing this request.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- results List<Property Map>
- List of returned documents that MongoDB Cloud provides when completing this request.
Supporting Types
GetAiModelOrgRateLimitsResult
- Cloud string
- Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope.
- Endpoint string
- Server-computed endpoint hostname derived from
cloudandgeography. This field is read-only and must not be supplied in request bodies. - Geography string
- Geography scope for this rate limit. Use "ANY" for geography-agnostic scope.
- Model
Group stringName - Identifier used to reference this model group.
- Model
Names List<string> - List of embedding model names included in this model group.
- Requests
Per intMinute Limit - The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- Tokens
Per intMinute Limit - The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- Cloud string
- Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope.
- Endpoint string
- Server-computed endpoint hostname derived from
cloudandgeography. This field is read-only and must not be supplied in request bodies. - Geography string
- Geography scope for this rate limit. Use "ANY" for geography-agnostic scope.
- Model
Group stringName - Identifier used to reference this model group.
- Model
Names []string - List of embedding model names included in this model group.
- Requests
Per intMinute Limit - The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- Tokens
Per intMinute Limit - The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- cloud string
- Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope.
- endpoint string
- Server-computed endpoint hostname derived from
cloudandgeography. This field is read-only and must not be supplied in request bodies. - geography string
- Geography scope for this rate limit. Use "ANY" for geography-agnostic scope.
- model_
group_ stringname - Identifier used to reference this model group.
- model_
names list(string) - List of embedding model names included in this model group.
- requests_
per_ numberminute_ limit - The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- tokens_
per_ numberminute_ limit - The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- cloud String
- Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope.
- endpoint String
- Server-computed endpoint hostname derived from
cloudandgeography. This field is read-only and must not be supplied in request bodies. - geography String
- Geography scope for this rate limit. Use "ANY" for geography-agnostic scope.
- model
Group StringName - Identifier used to reference this model group.
- model
Names List<String> - List of embedding model names included in this model group.
- requests
Per IntegerMinute Limit - The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- tokens
Per IntegerMinute Limit - The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- cloud string
- Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope.
- endpoint string
- Server-computed endpoint hostname derived from
cloudandgeography. This field is read-only and must not be supplied in request bodies. - geography string
- Geography scope for this rate limit. Use "ANY" for geography-agnostic scope.
- model
Group stringName - Identifier used to reference this model group.
- model
Names string[] - List of embedding model names included in this model group.
- requests
Per numberMinute Limit - The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- tokens
Per numberMinute Limit - The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- cloud str
- Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope.
- endpoint str
- Server-computed endpoint hostname derived from
cloudandgeography. This field is read-only and must not be supplied in request bodies. - geography str
- Geography scope for this rate limit. Use "ANY" for geography-agnostic scope.
- model_
group_ strname - Identifier used to reference this model group.
- model_
names Sequence[str] - List of embedding model names included in this model group.
- requests_
per_ intminute_ limit - The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- tokens_
per_ intminute_ limit - The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- cloud String
- Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope.
- endpoint String
- Server-computed endpoint hostname derived from
cloudandgeography. This field is read-only and must not be supplied in request bodies. - geography String
- Geography scope for this rate limit. Use "ANY" for geography-agnostic scope.
- model
Group StringName - Identifier used to reference this model group.
- model
Names List<String> - List of embedding model names included in this model group.
- requests
Per NumberMinute Limit - The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
- tokens
Per NumberMinute Limit - The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.
published on Friday, Aug 28, 2026 by Pulumi