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.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- 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"])]]'.qstring
- Content release reference ID from the repository (typically the master ref). Use PRISMIC_REPOSITORY_API_GET_REFS action to obtain valid ref values.refstring必填
- Language code to query (e.g., 'en-us'), default '*' for all languageslangstring
- Page number for pagination, starting from 1pageinteger
- Document ID to paginate after for deep pagination.afterstring
- 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.fetchstring
- Number of documents per page (1-100)pageSizeinteger
- Sort order, e.g., '[my.article.date desc]'orderingsstring
- 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.fetchLinksstring
- GraphQuery to specify which fields to return.graphQuerystring
- Private API content token for authentication, if required.access_tokenstring
- Reference of integration fields content.integrationFieldsRefstring
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。