> ## Documentation Index
> Fetch the complete documentation index at: https://www.c1.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get

> Get returns every API rate limit configured for the organization, the live usage of the organization-wide limits, and the number of requests throttled in the last 60 minutes.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples get /api/v1/rate_limits
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/rate_limits:
    get:
      tags:
        - Rate Limit
      summary: Get
      description: >-
        Get returns every API rate limit configured for the organization, the
        live usage of the organization-wide limits, and the number of requests
        throttled in the last 60 minutes.
      operationId: c1.api.ratelimit.v1.RateLimitService.Get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/c1.api.ratelimit.v1.RateLimitServiceGetResponse
          description: Successful response
      x-codeSamples:
        - lang: go
          label: Get
          source: "package main\n\nimport(\n\t\"context\"\n\t\"github.com/conductorone/conductorone-sdk-go/pkg/models/shared\"\n\tconductoronesdkgo \"github.com/conductorone/conductorone-sdk-go\"\n\t\"log\"\n)\n\nfunc main() {\n    ctx := context.Background()\n\n    s := conductoronesdkgo.New(\n        conductoronesdkgo.WithSecurity(shared.Security{\n            BearerAuth: \"<YOUR_BEARER_TOKEN_HERE>\",\n            Oauth: \"<YOUR_OAUTH_HERE>\",\n        }),\n    )\n\n    res, err := s.RateLimit.Get(ctx)\n    if err != nil {\n        log.Fatal(err)\n    }\n    if res.RateLimitServiceGetResponse != nil {\n        // handle response\n    }\n}"
components:
  schemas:
    c1.api.ratelimit.v1.RateLimitServiceGetResponse:
      description: The RateLimitServiceGetResponse message.
      properties:
        limits:
          description: >-
            Every limit configured for the organization, across all scopes and
            windows, ordered by scope and then window. Per-user, per-API-key and
            per-IP limits are the size of each principal's own bucket.
          items:
            $ref: '#/components/schemas/c1.api.ratelimit.v1.RateLimit'
          type:
            - array
            - 'null'
        throttledLastHour:
          description: Requests throttled in the last 60 minutes, by any limit.
          format: int64
          type: string
        usage:
          description: >-
            Live usage of the organization-wide buckets: SCOPE_ORGANIZATION and
            SCOPE_UNAUTHENTICATED, for each window that has a limit.
          items:
            $ref: '#/components/schemas/c1.api.ratelimit.v1.RateLimitUsage'
          type:
            - array
            - 'null'
      title: Rate Limit Service Get Response
      type: object
      x-speakeasy-name-override: RateLimitServiceGetResponse
    c1.api.ratelimit.v1.RateLimit:
      description: RateLimit is one limit applied to API requests.
      properties:
        limit:
          description: >-
            The number of requests allowed: per hour for WINDOW_PER_HOUR, or at
            the same time for WINDOW_CONCURRENT.
          format: int64
          type: string
        scope:
          description: Whose requests the limit counts.
          enum:
            - SCOPE_UNSPECIFIED
            - SCOPE_ORGANIZATION
            - SCOPE_USER
            - SCOPE_API_KEY
            - SCOPE_UNAUTHENTICATED
            - SCOPE_UNAUTHENTICATED_PER_IP
          type: string
          x-speakeasy-unknown-values: allow
        window:
          description: How the limit counts requests.
          enum:
            - WINDOW_UNSPECIFIED
            - WINDOW_PER_HOUR
            - WINDOW_CONCURRENT
          type: string
          x-speakeasy-unknown-values: allow
      title: Rate Limit
      type: object
      x-speakeasy-name-override: RateLimit
    c1.api.ratelimit.v1.RateLimitUsage:
      description: >-
        RateLimitUsage is the live usage of one rate limit bucket. The
        X-RateLimit-* response headers report the limiter's view of the bucket
        that applied to a request.
      properties:
        rateLimit:
          oneOf:
            - $ref: '#/components/schemas/c1.api.ratelimit.v1.RateLimit'
            - type: 'null'
        used:
          description: >-
            For WINDOW_PER_HOUR, the requests made in the last 60 minutes that
            counted against the limit; throttled requests do not count. For
            WINDOW_CONCURRENT, the requests in progress now.
          format: int64
          type: string
      title: Rate Limit Usage
      type: object
      x-speakeasy-name-override: RateLimitUsage
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````