List Resources
Method: GET /{api_prefix}/{folder_path}
Auth: Flux API Key
Returns all resources exposed through a Flux API folder. Use this endpoint for lightweight listing, filtering, or full-text search without building a POST body.
URL Pattern
GET https://{environment_key}.fxns.io/{api_prefix}/{folder_path}
Example: GET https://7c9h4pwu.fxns.io/blog/articles
Connect folders to your Flux API via Connect Folder to API before calling this endpoint.
Query Parameters
Pagination
- Name
limit- Type
- integer
- Default
- default:100
- Description
Number of results per page (1–100). Values above 100 are clamped; values below 1 return
422 invalid_request.
- Name
next- Type
- string
- Description
Cursor returned by the previous page. Mutually exclusive with
previous.
- Name
previous- Type
- string
- Description
Cursor for walking backward. Mutually exclusive with
next.
Localization & Formatting
- Name
search_locale- Type
- string
- Description
Locale used for sorting/text search. Defaults to the environment’s default locale.
- Name
return_locales- Type
- string
- Description
Comma-separated locales to include in the response.
- Name
fallback_locales- Type
- boolean
- Default
- default:false
- Description
Apply fallback locale chain when a translation is missing.
- Name
raw- Type
- boolean
- Default
- default:false
- Description
Return fields exactly as stored (skip locale resolution). Reserved for tooling.
Population & Sorting
- Name
populate- Type
- string
- Description
Comma-separated reference fields to populate. Dot notation traverses nested references (
author.company).
- Name
sort- Type
- string
- Description
Comma-separated sort fields (prefix with
-for descending). Example:sort=-_sys.created_at,title.
Filtering & Search
- Name
where__{field}__{operator}- Type
- string
- Description
Field-based filters (see Filtering for operators). Example:
where__status__eq=published.
- Name
find_text__query- Type
- string
- Description
Text-search query (1–1000 characters). Cannot be combined with
find_phrase__query.
- Name
find_text__fields- Type
- string
- Description
Comma-separated fields to search. Optional; default is all searchable fields.
- Name
find_text__threshold- Type
- number
- Default
- default:1.0
- Description
Similarity threshold from 0–1. Lower values allow fuzzier matches.
- Name
find_phrase__query- Type
- string
- Description
Exact phrase query (1–1000 characters). Cannot be combined with
find_text__query.
- Name
find_phrase__fields- Type
- string
- Description
Comma-separated fields for phrase search. Optional.
Vector Search & Boosting
- Name
search_mode- Type
- string
- Default
- default:text
- Description
One of
text,vector,hybrid, orvector_boosted. Non-textmodes enable semantic ranking.
- Name
vector_search__query- Type
- string
- Description
Semantic query text (required when
search_modeis nottext). Same 1–1000 character limits asfind_text.
- Name
vector_search__fields- Type
- string
- Description
Comma-separated vectorizable fields to search (default: all vectorizable fields). Use folder field keys, e.g.
summary.
- Name
vector_search__top_k- Type
- integer
- Default
- default:100
- Description
Number of semantic neighbors to evaluate (1–100).
- Name
vector_search__similarity_threshold- Type
- number
- Description
Minimum cosine similarity (0–1). Lower values allow fuzzier matches.
- Name
vector_boost__factor- Type
- number
- Description
Boost multiplier (0–10) used when
search_mode=vector_boosted.
- Name
vector_boost__threshold- Type
- number
- Description
Similarity threshold for boosting (0–1).
- Name
vector_boost__max_results- Type
- integer
- Description
Max number of items to boost (1–100).
Advanced
- Name
component- Type
- string
- Description
Component key required when querying composite folders with field filters or search parameters.
- Name
ignore_unknown_fields- Type
- boolean
- Default
- default:false
- Description
When
true, unknown fields insidewhere__filters are ignored instead of returning422 unknown_field.
Basic Listing
curl -X GET \
"https://7c9h4pwu.fxns.io/blog/articles?limit=20" \
-H "Authorization: Secure <access_key>:<signature>"
Filtering
Filters use where__{field}__{operator}={value}. Multiple filters are ANDed; repeating the same field/operator creates OR clauses automatically.
| Operator | Description | Example |
|---|---|---|
eq, ieq | Equals (case-sensitive / insensitive) | where__status__ieq=Published |
gt, gte, lt, lte | Numeric or date comparisons | where__rating__gte=4.5 |
in, iin | Value in list | where__category__iin=tech,Science |
between | Inclusive range (comma-separated) | where__price__between=50,200 |
contains, icontains | Substring match | where__title__icontains=api |
startswith, istartswith | Prefix match | where__slug__startswith=flux |
endswith, iendswith | Suffix match | where__email__iendswith=@example.com |
includes, iincludes | Array contains value | where__tags__includes=ai |
exists, null | Field existence / null check | where__summary__exists=true |
Prefix any operator with not_ to negate it (e.g., where__status__not_in=archived,deleted).
Per-Field Locale Override
By default, filters on localized fields use the search_locale parameter. You can override the locale for a specific field by appending [locale] to the field name:
where__title[fr]__eq=bonjour
where__description[de]__icontains=hallo
This is useful when you need to filter on multiple locales in the same query:
GET https://7c9h4pwu.fxns.io/blog/articles?where__title[en]__eq=Hello&where__title[fr]__eq=Bonjour
Example:
GET https://7c9h4pwu.fxns.io/blog/articles?where__status__eq=published&where__category__in=tech,science&where__rating__gte=4.0
Text & Phrase Search
Use text or phrase search to run full-text matches without switching to the POST-based Search API.
- Provide only one of
find_text__queryorfind_phrase__query. find_text__thresholdaccepts decimals between 0 and 1 (defaults to 1.0). Lower values behave like typo tolerance.- Leave the
__fieldsparameter empty to search all eligible fields.
GET https://7c9h4pwu.fxns.io/blog/articles?find_text__query=machine%20learning&find_text__fields=title,summary&find_text__threshold=0.8
GET https://7c9h4pwu.fxns.io/blog/articles?find_phrase__query=artificial%20intelligence&find_phrase__fields=title
Vector Search
You can trigger semantic ranking via query parameters instead of switching to the POST-based Search API.
- Set
search_modetovector,hybrid, orvector_boosted. - Provide
vector_search__query. Optional knobs includevector_search__fields,vector_search__top_k(1–100), andvector_search__similarity_threshold. - For boosted mode, add
vector_boost__factor,vector_boost__threshold, and/orvector_boost__max_results.
GET https://7c9h4pwu.fxns.io/blog/articles\
?search_mode=vector\
&vector_search__query=latest%20generative%20ai%20news\
&vector_search__fields=summary\
&return_locales=en,fr
Flux returns the same response shape as a normal list call. When vector search is active, metadata.vector_search_enabled=true and metadata.search_mode echo your mode selection.
Sorting
The sort parameter accepts comma-separated field names. Prefix a field with - for descending order.
GET https://7c9h4pwu.fxns.io/blog/articles?sort=-_sys.created_at,title
Sorting respects search_locale when sorting localized text.
Population
Populate reference or relation fields inline. Flux follows references up to three levels deep.
GET https://7c9h4pwu.fxns.io/blog/articles?populate=author,category.parent
Response (excerpt)
{
"_sys": {...},
"data": {
"title": "Introduction to AI",
"author": {
"_sys": {...},
"data": {"name": "John Smith"}
},
"category": {
"_sys": {...},
"data": {
"name": "Technology",
"parent": {
"_sys": {...},
"data": {"name": "Science & Technology"}
}
}
}
}
}
Population works with return_locales and fallback_locales, and counts toward the response-size limit (~1 MiB).
Localization
search_localecontrols which locale is used for text search, sorting, and locale-aware comparisons. When omitted, Flux uses the environment’s default locale.return_localeslets you restrict the locales returned in the payload. Without it, the API returns every locale stored in the environment.fallback_locales=truetells Flux to fill missing translations using the fallback chain configured in your workspace (for example,frfalling back toen).
GET https://7c9h4pwu.fxns.io/blog/articles?search_locale=fr&return_locales=fr,en&fallback_locales=true
Localized response
{
"_sys": {...},
"data": {
"title": {
"fr": "Introduction à l'IA",
"en": "Introduction to AI"
},
"summary": {
"fr": "Résumé en français",
"en": "English summary"
}
}
}
Pagination
List Resources returns cursor-based pagination with fully qualified URLs:
{
"limit": 20,
"next": "https://7c9h4pwu.fxns.io/blog/articles?limit=20&next=eyJjcmVh...NDJ9",
"previous": null,
"results": [...]
}
Follow the next or previous URL directly, or extract the cursor token. See Pagination for a full walkthrough.
Composite Folders
When querying composite folders (folders backed by multiple components):
- Provide
component={component_key}whenever you filter on fields or use text search. - If you request fields without a component, Flux returns
422 missed_component.
Example:
GET https://7c9h4pwu.fxns.io/landing-pages?component=hero-block&where__status__eq=published
Response Schema
- Name
limit- Type
- integer
- Description
Effective limit applied to the response.
- Name
next- Type
- string | null
- Description
Absolute URL for the next page (or
nullif this is the last page).
- Name
previous- Type
- string | null
- Description
Absolute URL for the previous page (or
nullon the first page).
- Name
results- Type
- array
- Description
Array of resource objects. Each entry mirrors the _sys/data schema.
- Name
metadata- Type
- object | undefined
- Description
Present when vector search is enabled: contains
search_modeandvector_search_enabled.
Errors
| Status | error_code | When it occurs |
|---|---|---|
| 401 | authentication_required | Missing credentials, invalid signature, or stale timestamp. |
| 403 | access_denied | Authenticated key lacks access to this API prefix or folder. |
| 404 | route_not_found | Folder path is not connected to the Flux API. |
| 405 | action_not_allowed | Folder is not configured for get_many. |
| 413 | max_response_size_exceeded | Populated response exceeds the size cap. |
| 422 | validation_error | Invalid query parameters (e.g., malformed where__, both cursors provided). |
For additional error codes, see Flux Errors.
Complete Example
GET https://7c9h4pwu.fxns.io/blog/articles\
?where__status__eq=published\
&where__category__in=tech,science\
&find_text__query=machine%20learning\
&find_text__fields=title,summary\
&find_text__threshold=0.85\
&sort=-_sys.created_at,title\
&populate=author\
&return_locales=en,fr\
&fallback_locales=true\
&limit=25
Response (trimmed)
{
"limit": 25,
"next": "https://7c9h4pwu.fxns.io/blog/articles?limit=25&next=eyJjcmVh...MjV9",
"previous": null,
"results": [
{
"_sys": {
"key": "hG9tL4nRmXwP",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"folder": "blog_articles"
},
"data": {
"title": {
"en": "Advanced Machine Learning Techniques",
"fr": "Techniques avancées d'apprentissage automatique"
},
"status": "published",
"category": "tech",
"author": {
"_sys": {...},
"data": {"name": "Dr. John Smith"}
}
}
}
]
}