Skip to content

Collection Format

noodle collections are directories of .yml files on disk. This reference covers every field, type, and constraint.

One request per file. Extension must be .yml (not .yaml).

Field Type Required Default Description
name string yes Display name for the request
method string yes GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
url string yes Full URL, supports $VAR substitution
timeout number no 0 Request timeout in ms. 0 = no timeout
followRedirects boolean no true Follow HTTP redirects
maxRedirects number no 5 Max redirect chain length
body_type string no none none, json, multipart, urlencoded, binary
headers map no {} Request headers (omit if empty)
params array no [] URL query parameters (omit if empty)
body string no Raw body content
form_data array no Multipart form entries
file_path string no Path to binary upload file
auth object no Auth config (omit for no auth)

Key-value map. Values can be simple strings (enabled) or objects with value and enabled fields:

headers:
Content-Type: application/json
Authorization: { value: "Bearer $token", enabled: false }

Array of { name, value, enabled } entries. Each entry:

  • name — string, required
  • value — string, required
  • enabled — boolean, default true
params:
- name: userId
value: $user_id
- name: _limit
value: "10"
- name: disabled_param
value: x
enabled: false

Array for multipart and urlencoded body types. Each entry:

  • name — string, required
  • value — string, required
  • typetext (default) or file
  • enabled — boolean, default true
body_type: multipart
form_data:
- name: description
value: A photo
- name: file
value: ./photo.png
type: file

For urlencoded, use the same entries with text values; omit type or set it to text.

Type Fields Description
none No auth (omit auth field entirely)
inherit Use nearest parent folder’s auth
bearer token Bearer token auth
basic user, pass Basic auth
api_key key, value, placement API key auth. placement: header or query
auth:
type: bearer
token: $api_token
name: My Request
method: GET
url: $base_url/endpoint
timeout: 0

Optional. Defines display name, sort order, and inheritable overrides.

meta:
name: Users
seq: 1
headers:
X-Custom: value
auth:
type: bearer
token: $folder_token
Field Type Required Description
meta object no Display metadata
meta.name string no Display name (defaults to directory name)
meta.seq number no Sort order (lower = first, undefined = last)
headers map no Inherited headers (merge additively)
auth object no Inherited auth
  • Headers: Folder headers merge additively. Request’s headers win on same key.
  • Auth: Requests with type: inherit use nearest ancestor folder’s auth. Walk tree from child up.

Single file at collection root:

environment: development

Sets the default active environment. Must match a .env file in .environments/.

Auto-generated files managed by noodle:

File Format Purpose
last-request Plain text Last selected request ID
expanded-folders YAML list Expanded folder paths in sidebar
ui-state/<requestId>.yml YAML Per-request tab index state