1. Registry
  2. Packages
  3. Mongodbatlas Provider
  4. API Docs
  5. getAiModelOrgRateLimit
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.getAiModelOrgRateLimit describes the organization-level AI Model Rate Limit for a specific model group.

    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.getAiModelOrgRateLimit({
        orgId: orgId,
        cloud: "ANY",
        geography: "ANY",
        modelGroupName: "embed_large",
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    this = mongodbatlas.get_ai_model_org_rate_limit(org_id=org_id,
        cloud="ANY",
        geography="ANY",
        model_group_name="embed_large")
    
    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.GetAiModelOrgRateLimit(ctx, &mongodbatlas.GetAiModelOrgRateLimitArgs{
    			OrgId:          orgId,
    			Cloud:          "ANY",
    			Geography:      "ANY",
    			ModelGroupName: "embed_large",
    		}, 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.GetAiModelOrgRateLimit.Invoke(new()
        {
            OrgId = orgId,
            Cloud = "ANY",
            Geography = "ANY",
            ModelGroupName = "embed_large",
        });
    
    });
    
    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.GetAiModelOrgRateLimitArgs;
    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.getAiModelOrgRateLimit(GetAiModelOrgRateLimitArgs.builder()
                .orgId(orgId)
                .cloud("ANY")
                .geography("ANY")
                .modelGroupName("embed_large")
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: mongodbatlas:getAiModelOrgRateLimit
          arguments:
            orgId: ${orgId}
            cloud: ANY
            geography: ANY
            modelGroupName: embed_large
    
    pulumi {
      required_providers {
        mongodbatlas = {
          source = "pulumi/mongodbatlas"
        }
      }
    }
    
    data "mongodbatlas_getaimodelorgratelimit" "this" {
      org_id           = orgId
      cloud            = "ANY"
      geography        = "ANY"
      model_group_name = "embed_large"
    }
    

    Using getAiModelOrgRateLimit

    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 getAiModelOrgRateLimit(args: GetAiModelOrgRateLimitArgs, opts?: InvokeOptions): Promise<GetAiModelOrgRateLimitResult>
    function getAiModelOrgRateLimitOutput(args: GetAiModelOrgRateLimitOutputArgs, opts?: InvokeOutputOptions): Output<GetAiModelOrgRateLimitResult>
    def get_ai_model_org_rate_limit(cloud: Optional[str] = None,
                                    geography: Optional[str] = None,
                                    model_group_name: Optional[str] = None,
                                    org_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetAiModelOrgRateLimitResult
    def get_ai_model_org_rate_limit_output(cloud: pulumi.Input[Optional[str]] = None,
                                    geography: pulumi.Input[Optional[str]] = None,
                                    model_group_name: pulumi.Input[Optional[str]] = None,
                                    org_id: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetAiModelOrgRateLimitResult]
    func GetAiModelOrgRateLimit(ctx *Context, args *GetAiModelOrgRateLimitArgs, opts ...InvokeOption) (*GetAiModelOrgRateLimitResult, error)
    func GetAiModelOrgRateLimitOutput(ctx *Context, args *GetAiModelOrgRateLimitOutputArgs, opts ...InvokeOption) GetAiModelOrgRateLimitResultOutput

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

    public static class GetAiModelOrgRateLimit 
    {
        public static Task<GetAiModelOrgRateLimitResult> InvokeAsync(GetAiModelOrgRateLimitArgs args, InvokeOptions? opts = null)
        public static Output<GetAiModelOrgRateLimitResult> Invoke(GetAiModelOrgRateLimitInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAiModelOrgRateLimitResult> Invoke(GetAiModelOrgRateLimitInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAiModelOrgRateLimitResult> getAiModelOrgRateLimit(GetAiModelOrgRateLimitArgs args, InvokeOptions options)
    public static Output<GetAiModelOrgRateLimitResult> getAiModelOrgRateLimit(GetAiModelOrgRateLimitArgs args, InvokeOptions options)
    public static Output<GetAiModelOrgRateLimitResult> getAiModelOrgRateLimit(GetAiModelOrgRateLimitArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: mongodbatlas:index/getAiModelOrgRateLimit:getAiModelOrgRateLimit
      arguments:
        # arguments dictionary
    data "mongodbatlas_get_ai_model_org_rate_limit" "name" {
        # arguments
    }

    The following arguments are supported:

    Cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    Geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    ModelGroupName string
    The name of the model group to be retrieved.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    Cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    Geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    ModelGroupName string
    The name of the model group to be retrieved.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    model_group_name string
    The name of the model group to be retrieved.
    org_id string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    cloud String
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    geography String
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName String
    The name of the model group to be retrieved.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName string
    The name of the model group to be retrieved.
    orgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    cloud str
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    geography str
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    model_group_name str
    The name of the model group to be retrieved.
    org_id str
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    cloud String
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    geography String
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName String
    The name of the model group to be retrieved.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.

    getAiModelOrgRateLimit Result

    The following output properties are available:

    Cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    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. Must be "ANY". Additional values will be supported in future API versions.
    ModelGroupName string
    The name of the model group to be retrieved.
    ModelNames List<string>
    List of embedding model names included in this model group.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    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. Must be "ANY". Additional values will be supported in future API versions.
    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. Must be "ANY". Additional values will be supported in future API versions.
    ModelGroupName string
    The name of the model group to be retrieved.
    ModelNames []string
    List of embedding model names included in this model group.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    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. Must be "ANY". Additional values will be supported in future API versions.
    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. Must be "ANY". Additional values will be supported in future API versions.
    model_group_name string
    The name of the model group to be retrieved.
    model_names list(string)
    List of embedding model names included in this model group.
    org_id string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    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. Must be "ANY". Additional values will be supported in future API versions.
    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. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName String
    The name of the model group to be retrieved.
    modelNames List<String>
    List of embedding model names included in this model group.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    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. Must be "ANY". Additional values will be supported in future API versions.
    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. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName string
    The name of the model group to be retrieved.
    modelNames string[]
    List of embedding model names included in this model group.
    orgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    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. Must be "ANY". Additional values will be supported in future API versions.
    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. Must be "ANY". Additional values will be supported in future API versions.
    model_group_name str
    The name of the model group to be retrieved.
    model_names Sequence[str]
    List of embedding model names included in this model group.
    org_id str
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    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. Must be "ANY". Additional values will be supported in future API versions.
    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. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName String
    The name of the model group to be retrieved.
    modelNames List<String>
    List of embedding model names included in this model group.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    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