Skip to content

Metadata Directives

Metadata directives help you organize, identify, and categorize your requests.

Give a human-readable name to any request:

@name Get Users
GET https://api.example.com/users

The name appears in the sidebar, code lenses, and response panel.

A 6-character alphanumeric ID for referencing requests in @pre chains.

@id abc123
@name Login
POST https://api.example.com/auth/login

Organize requests into named collections:

@collection Auth API
@name Login
POST https://api.example.com/auth/login

Collections appear as groups in the Rext sidebar.

Create sub-groups within collections using / separators for nested levels:

@collection Auth API
@group Users / Admin
@name Create Admin
POST https://api.example.com/admin/users

This creates the hierarchy: Auth API → Users → Admin → Create Admin

Add comma-separated tags for filtering:

@tags auth, critical, v2
@name Login
POST https://api.example.com/auth/login

Mark a request as deprecated. It will display with a visual indicator:

@deprecated
@name Old Login
POST https://api.example.com/v1/login
@collection Auth API
@group Users / Admin
@tags auth, admin, critical
@id x9k2m1
@name Create Admin User
POST https://api.example.com/admin/users
Content-Type: application/json
{
"name": "Admin",
"role": "admin"
}