

# CurrentCapacity
<a name="API_CurrentCapacity"></a>

Current search and indexing capacity for an OpenSearch Serverless collection group. Measured in OpenSearch Compute Units (OCUs).

## Contents
<a name="API_CurrentCapacity_Contents"></a>

 ** indexing **   <a name="opensearchserverless-Type-CurrentCapacity-indexing"></a>
The indexing capacity for the collection group.  
Type: [CapacityDetails](API_CapacityDetails.md) object  
Required: No

 ** search **   <a name="opensearchserverless-Type-CurrentCapacity-search"></a>
The search capacity for the collection group.  
Type: [CapacityDetails](API_CapacityDetails.md) object  
Required: No

## See Also
<a name="API_CurrentCapacity_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/opensearchserverless-2021-11-01/CurrentCapacity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/opensearchserverless-2021-11-01/CurrentCapacity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/opensearchserverless-2021-11-01/CurrentCapacity) 