立即开始
Prismic Tools

Prismic Content Api Query Documents

通过 Aident Loadout 使用 Prismic Tools 的 Prismic Content Api Query Documents。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

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

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • 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
    必填
    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.

可观察输出

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

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源