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

# Route Collections

> A route collection is a gateway with a generated subdomain, a target endpoint, and the routing rules that control request behavior.

A route collection is the main unit your agent talks to in GoDizzy.

## What a collection contains

<CardGroup cols={3}>
  <Card title="Generated subdomain" icon="globe">
    GoDizzy assigns each collection a stable subdomain on `godizzy.dev`.
  </Card>

  <Card title="Target endpoint" icon="arrow-right">
    Proxy rules forward requests to this upstream base URL.
  </Card>

  <Card title="Routing rules" icon="list">
    Rules decide which requests mock and which proxy.
  </Card>
</CardGroup>

## Collection URL

Collection URLs look like this:

```text theme={null}
https://<generated-subdomain>.godizzy.dev
```

<Note>
  The current UI does not ask the user to choose the subdomain. It is generated server-side.
</Note>

## Example

| Field           | Example                        |
| --------------- | ------------------------------ |
| Name            | `Stripe Sandbox`               |
| Target endpoint | `https://api.stripe.com`       |
| Environment     | `development`                  |
| GoDizzy URL     | `https://abc123xy.godizzy.dev` |

## Copying a collection

Collections can be copied between environments.

<Steps>
  <Step title="Open the source collection">
    Navigate to the collection you want to duplicate.
  </Step>

  <Step title="Click Copy collection">
    Choose the target environment.
  </Step>

  <Step title="Confirm the copy">
    GoDizzy creates a new independent collection in the target environment.
  </Step>
</Steps>

The copy gets its own generated subdomain and its own future history.

## What counts against plan limits

GoDizzy's enforced plan limits are primarily based on:

* **routing rules**
* **seats**

A new collection matters because it includes a default routing rule, so creating a collection consumes one routing-rule slot from your organization's allowance.

<Tip>
  If you need more collections, the real constraint to watch is usually your routing-rule quota rather than a separate collection quota.
</Tip>

## Deletion behavior

Deleting a collection soft-deletes it along with its rules. Its GoDizzy URL stops resolving until the collection is restored.
