1. Registry
  2. Packages
  3. Mongodbatlas Provider
  4. API Docs
  5. getAiModelOrgRateLimits
Viewing docs for MongoDB Atlas v4.15.0
published on Friday, Aug 28, 2026 by Pulumi
mongodbatlas logo mongodbatlas logo
Viewing docs for MongoDB Atlas v4.15.0
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.AiModelRateLimit resource 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 dictionary
    data "mongodbatlas_get_ai_model_org_rate_limits" "name" {
        # arguments
    }

    The following arguments are supported:

    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    OrgId 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.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    orgId 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.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.

    getAiModelOrgRateLimits Result

    The following output properties are available:

    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    Results List<GetAiModelOrgRateLimitsResult>
    List of returned documents that MongoDB Cloud provides when completing this request.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    Results []GetAiModelOrgRateLimitsResult
    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.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    results List<GetAiModelOrgRateLimitsResult>
    List of returned documents that MongoDB Cloud provides when completing this request.
    orgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    results GetAiModelOrgRateLimitsResult[]
    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[GetAiModelOrgRateLimitsResult]
    List of returned documents that MongoDB Cloud provides when completing this request.
    orgId 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 cloud and geography. 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.
    ModelGroupName string
    Identifier used to reference this model group.
    ModelNames List<string>
    List of embedding model names included in this model group.
    RequestsPerMinuteLimit int
    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.
    TokensPerMinuteLimit int
    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 cloud and geography. 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.
    ModelGroupName string
    Identifier used to reference this model group.
    ModelNames []string
    List of embedding model names included in this model group.
    RequestsPerMinuteLimit int
    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.
    TokensPerMinuteLimit int
    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 cloud and geography. 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_name string
    Identifier used to reference this model group.
    model_names list(string)
    List of embedding model names included in this model group.
    requests_per_minute_limit number
    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_minute_limit number
    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 cloud and geography. 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.
    modelGroupName String
    Identifier used to reference this model group.
    modelNames List<String>
    List of embedding model names included in this model group.
    requestsPerMinuteLimit Integer
    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.
    tokensPerMinuteLimit Integer
    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 cloud and geography. 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.
    modelGroupName string
    Identifier used to reference this model group.
    modelNames string[]
    List of embedding model names included in this model group.
    requestsPerMinuteLimit number
    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.
    tokensPerMinuteLimit number
    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 cloud and geography. 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_name str
    Identifier used to reference this model group.
    model_names Sequence[str]
    List of embedding model names included in this model group.
    requests_per_minute_limit int
    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_minute_limit int
    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 cloud and geography. 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.
    modelGroupName String
    Identifier used to reference this model group.
    modelNames List<String>
    List of embedding model names included in this model group.
    requestsPerMinuteLimit Number
    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.
    tokensPerMinuteLimit Number
    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 mongodbatlas Terraform Provider.
    mongodbatlas logo mongodbatlas logo
    Viewing docs for MongoDB Atlas v4.15.0
    published on Friday, Aug 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial