Comprehensive Bruno collection covering the entire Directus 11+ API surface: REST, GraphQL, and WebSockets.
- Install Bruno if you haven't already
- Clone or download this repository
- In Bruno, click Open Collection (or
Ctrl/Cmd+O) and select this folder - In the top-right environment dropdown, select an environment (see below)
- Replace the placeholder values in the environment with your Directus instance details
| Environment | Purpose | Auth |
|---|---|---|
local |
Local dev instance at localhost:8055 |
Static user token |
production |
Production instance | Static user token |
admin |
Admin-level access | Admin static token |
public |
Unauthenticated requests | No auth header sent |
| Variable | Description |
|---|---|
base_url |
Directus instance URL (e.g. http://localhost:8055) |
access_token |
Static access token (leave empty for public/unauthenticated) |
If an access_token is defined in the active environment, an Authorization: Bearer {{access_token}} header is automatically included. The header is not added under the following conditions:
- The request's auth mode is set to
inheritornone - The request is a WebSocket connection
- The request endpoint is
/auth/loginor/auth/refresh - The
access_tokenvalue is empty in the active environment (e.g.public) - A request level
Authorizationheader is set
Directus serves its own OpenAPI spec at /server/specs/oas — use that for Postman, Insomnia, or any OpenAPI-compatible tool.
See CONTRIBUTING.md for conventions and guidelines.