Commencer maintenant
Prismic Tools

Prismic Content Api Query Documents

Utilisez Prismic Content Api Query Documents avec Prismic Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion par clé API

Description du fournisseur

Tool to query Prismic documents using predicates and pagination. Use when you need to fetch multiple documents from a repository after obtaining a ref.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • qstring
    Query predicate(s) to filter documents using Prismic predicate syntax. Use double brackets for predicates: '[[at(document.type, "page")]]'. For multiple predicates, combine them in one string: '[[at(document.type, "blog")][at(document.tags, ["featured"])]]'.
  • refstring
    Obligatoire
    Content release reference ID from the repository (typically the master ref). Use PRISMIC_REPOSITORY_API_GET_REFS action to obtain valid ref values.
  • langstring
    Language code to query (e.g., 'en-us'), default '*' for all languages
  • pageinteger
    Page number for pagination, starting from 1
  • afterstring
    Document ID to paginate after for deep pagination.
  • fetchstring
    Comma-separated list of specific fields to fetch for each document (e.g., 'document.title,document.description'). Reduces response size by only including specified fields.
  • pageSizeinteger
    Number of documents per page (1-100)
  • orderingsstring
    Sort order, e.g., '[my.article.date desc]'
  • fetchLinksstring
    Comma-separated list of fields from linked documents to include in the response (e.g., 'author.name,category.title'). Allows fetching related content in a single query.
  • graphQuerystring
    GraphQuery to specify which fields to return.
  • access_tokenstring
    Private API content token for authentication, if required.
  • integrationFieldsRefstring
    Reference of integration fields content.

Sortie observable

  • data
    Obligatoire
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatoire
    Whether or not the action execution was successful or not

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur