# Billing Folders

{% hint style="info" %}
Billing Folders एक **प्रीमियम** फ़ीचर है जो Enterprise plans के लिए उपलब्ध है। अपने workspace के लिए Billing Folders सक्षम करने के लिए, संपर्क करें [Roboflow sales team](https://roboflow.com/sales) या अपने account representative से। उपलब्ध plans के बारे में अधिक जानकारी के लिए, देखें [हमारा pricing page](https://roboflow.com/pricing).
{% endhint %}

जब इसे सक्षम किया जाता है, तो सभी usage (उदा: training, inference, image storage, labeling, और अधिक) अपने-आप उस folder को attributed हो जाता है जिसमें उपयोग किए जा रहे project मौजूद हैं। इससे organizations को teams, departments, या clients के across granular cost visibility और spending control मिलता है।

### Usage Attribution कैसे काम करता है

जब Billing Folders सक्षम होता है, तो आपके workspace के हर folder को अपनी अलग API key मिलती है। किसी folder के projects के भीतर होने वाला सभी billable usage उस folder की API key के खिलाफ track किया जाता है। इसका मतलब है कि आप अपनी usage reports और dashboard में यह बिल्कुल देख सकते हैं कि हर folder कितना consume कर रहा है।

{% hint style="info" %}
Usage attribution automatic है। आपको manually usage को folders में assign करने की ज़रूरत नहीं है। यह project से उसके parent folder तक flow करता है।
{% endhint %}

#### API या Deployment Usage

जब आप Roboflow services का उपयोग API key के साथ करते हैं (जिसमें Serverless API, Batch Processing आदि शामिल हैं, लेकिन इन्हीं तक सीमित नहीं), तो billing attribution request में मौजूद API key के अनुसार होता है, न कि project के folder के अनुसार।&#x20;

workspace-level API key के साथ की गई request workspace को attributed होती है, भले ही उपयोग किया गया model किसी ऐसे project का हो जो किसी folder में मौजूद है। Direct API या batch usage को किसी folder को attributed करने के लिए, उस folder की API key के साथ request करें।

#### Image Storage Attribution

Image storage उस folder को attributed होता है जिसमें वह project(s) शामिल हैं जो image को reference करते हैं।

यदि कोई image एक ही folder के भीतर कई projects में साझा की गई है (या एक ही parent के subfolders के भीतर), तो storage उस deepest folder को attributed होता है जिसमें उस image का उपयोग करने वाले सभी projects शामिल हों:

```
Workspace
├── Folder A
│   ├── Project 1  ← image.jpg
│   └── Project 2  ← image.jpg (shared)
└── Folder B
    └── Project 3

image.jpg storage को Folder A को attributed किया जाता है (वह deepest folder जिसमें इसे reference करने वाले सभी projects शामिल हैं)
```

यदि कोई image अलग-अलग root folders में मौजूद projects के बीच shared है, और कोई common parent folder नहीं है, तो storage को workspace level पर attributed किया जाता है:

```
Workspace
├── Folder A
│   └── Project 1  ← image.jpg
└── Folder B
    └── Project 2  ← image.jpg (shared)

image.jpg storage को Workspace को attributed किया जाता है (कोई single folder दोनों projects को शामिल नहीं करता)
```

### Usage देखना

आप अपने workspace के credit usage page में usage देख सकते हैं, जिसमें folder के हिसाब से breakdown भी शामिल है, और attribution filter को बदलकर **Folders**. जानें [billing folder के लिए usage को filter कैसे करें](/roboflow/roboflow-hi/billing/credits/view-credit-usage.md#attribution-filter-track-workspace-usage-for-a-given-folder-or-api-key) या [सामान्य रूप से usage कैसे देखें।](/roboflow/roboflow-hi/billing/credits/view-credit-usage.md)

### Folder Usage को Pausing और Resuming करना

Workspace administrators किसी folder के भीतर सभी billable usage को अस्थायी रूप से pause कर सकते हैं। यह costs control करने या accidental usage रोकने के लिए उपयोगी है।

#### किसी Folder को Pause करना

किसी folder को pause करने के लिए, **Folder Settings** modal खोलें और toggle करें **Pause Folder Usage**.

<figure><img src="/files/59c5df1a728fde2ad35754e83a9c18ce9556236a" alt=""><figcaption></figcaption></figure>

<div><figure><img src="/files/7d46ff01a1c0a58d315699655d2308a62b972230" alt=""><figcaption></figcaption></figure> <figure><img src="/files/d86c0fb3b119d330dcaefb3e54e3ae9aafc25066" alt=""><figcaption></figcaption></figure></div>

जब कोई folder paused होता है:

* उस folder से संबंधित सभी API keys disable हो जाती हैं
* कोई भी API request जो उस folder के खिलाफ usage पैदा करती, उसे इस के साथ reject किया जाता है `423 Locked` status code
* उस folder के लिए कोई नया billable usage रिकॉर्ड नहीं किया जाता

आप Pause All Descendant Folders' Usage को toggle करके किसी folder और उसके सभी descendant folders को एक साथ pause भी कर सकते हैं। इससे selected folder और उसके नीचे nested हर folder के लिए API keys disable हो जाती हैं।

#### किसी Folder को Resume करना

paused folder को resume करने के लिए, "Folder Settings" modal पर वापस जाएँ और pause control को off कर दें। इससे folder की API keys फिर से enable हो जाती हैं और normal operation बहाल हो जाता है। इसी तरह, आप किसी folder और उसके सभी descendants को भी एक साथ resume कर सकते हैं।

Resume करने का असर केवल उन keys पर पड़ता है जो folder pause feature द्वारा paused की गई थीं। अन्य कारणों से disable की गई keys पर इसका असर नहीं पड़ता।

### Folder API Keys

जब Billing Folders सक्षम होता है, तो हर folder को अपने-आप अपनी API key मिलती है। इन keys का उपयोग internally यह track करने के लिए किया जाता है कि billable usage किस folder से संबंधित है।

* **Keys देखना**: API keys associated with a folder देखने के लिए Folder Settings modal खोलें और API Keys tab पर जाएँ।
* **Automatic creation**: API keys folders बनाए जाने पर या जब Billing Folders आपके workspace पर पहली बार सक्षम किया जाता है, तब अपने-आप बनाई जाती हैं। आपको इन्हें manually बनाने की ज़रूरत नहीं है।

### Common Scenarios

| Scenario                                          | क्या होता है                                                                                                                                                                       |
| ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **किसी project को किसी अलग folder में move करना** | उस project के लिए future usage नए folder को attributed होता है। Historical usage original folder को attributed रहता है।                                                            |
| **किसी folder को delete करना**                    | Folder आपके workspace से हटा दिया जाता है। Child projects और sub-folders parent folder को reassigned कर दिए जाते हैं। Historical usage data billing reports में preserved रहता है। |
| **नए folders बनाना**                              | नए folders को billing attribution के लिए अपने-आप एक API key मिलती है। किसी अतिरिक्त setup की आवश्यकता नहीं होती।                                                                   |
| **Billing Folders को Disable करना**               | Folder-level attribution बंद हो जाता है। नया usage केवल workspace level पर track किया जाता है। folder billing period का historical usage data preserved रहता है।                   |

### Usage Report API

आप programmatically billing usage data को query कर सकते हैं [billing usage report REST API](/developer/rest-api/billing-folders-usage-report.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-hi/workspaces/billing-folders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
