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, or vector_boosted. Non-text modes enable semantic ranking.

  • Name
    vector_search__query
    Type
    string
    Description

    Semantic query text (required when search_mode is not text). Same 1–1000 character limits as find_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 inside where__ filters are ignored instead of returning 422 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.

OperatorDescriptionExample
eq, ieqEquals (case-sensitive / insensitive)where__status__ieq=Published
gt, gte, lt, lteNumeric or date comparisonswhere__rating__gte=4.5
in, iinValue in listwhere__category__iin=tech,Science
betweenInclusive range (comma-separated)where__price__between=50,200
contains, icontainsSubstring matchwhere__title__icontains=api
startswith, istartswithPrefix matchwhere__slug__startswith=flux
endswith, iendswithSuffix matchwhere__email__iendswith=@example.com
includes, iincludesArray contains valuewhere__tags__includes=ai
exists, nullField existence / null checkwhere__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

Use text or phrase search to run full-text matches without switching to the POST-based Search API.

  • Provide only one of find_text__query or find_phrase__query.
  • find_text__threshold accepts decimals between 0 and 1 (defaults to 1.0). Lower values behave like typo tolerance.
  • Leave the __fields parameter 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

You can trigger semantic ranking via query parameters instead of switching to the POST-based Search API.

  • Set search_mode to vector, hybrid, or vector_boosted.
  • Provide vector_search__query. Optional knobs include vector_search__fields, vector_search__top_k (1–100), and vector_search__similarity_threshold.
  • For boosted mode, add vector_boost__factor, vector_boost__threshold, and/or vector_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_locale controls which locale is used for text search, sorting, and locale-aware comparisons. When omitted, Flux uses the environment’s default locale.
  • return_locales lets you restrict the locales returned in the payload. Without it, the API returns every locale stored in the environment.
  • fallback_locales=true tells Flux to fill missing translations using the fallback chain configured in your workspace (for example, fr falling back to en).
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 null if this is the last page).

  • Name
    previous
    Type
    string | null
    Description

    Absolute URL for the previous page (or null on 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_mode and vector_search_enabled.


Errors

Statuserror_codeWhen it occurs
401authentication_requiredMissing credentials, invalid signature, or stale timestamp.
403access_deniedAuthenticated key lacks access to this API prefix or folder.
404route_not_foundFolder path is not connected to the Flux API.
405action_not_allowedFolder is not configured for get_many.
413max_response_size_exceededPopulated response exceeds the size cap.
422validation_errorInvalid 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"}
        }
      }
    }
  ]
}

Was this page helpful?