# dispatch: Inspect dispatch rules or trace a URL

Source: https://zotonic.com/docs/3018/dispatch-inspect-dispatch-rules-or-trace-a-url

URI: https://zotonic.com/id/3018

Language: en

Inspect dispatch rules or trace a URL.

Syntax
------

```text
bin/zotonic dispatch <site_name> [path|detail]
bin/zotonic dispatch <URL>
```

Requirements and effects
------------------------

Requires a running node and reads its dispatch information.

A site argument lists rules; `detail` includes options and hostname information. A path traces routing within the site, while a full HTTP or HTTPS URL also supplies a hostname. This inspects dispatch and does not perform an ordinary end-to-end HTTP request.

Example
-------

```sh
bin/zotonic dispatch garden /welcome
```

Run commands from the Zotonic workspace root. Replace `garden` with your site name where applicable.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/3018?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/3018?language=en>)
