Empezar ahora
Prismic Tools

Prismic Content Api Query Documents

Usa Prismic Content Api Query Documents con Prismic Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.

Action de escrituraNivel de riesgo 2 de 5Conexión con clave de API

Descripción del proveedor

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

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

  • 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
    Obligatorio
    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.

Salida observable

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

Skills que usan esta Action

Casos de uso relacionados

Aún no hay casos de uso relacionados verificados.

Fuente oficial

Fuente del proveedor