今すぐ始める
Prismic Tools

Prismic Content Api Query Documents

Aident Loadout を通じて Prismic Tools の Prismic Content Api Query Documents を使用します。実行前に入力、出力、設定、料金、リスクを確認できます。

書き込み Actionリスクレベル 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.

料金と制限

料金
無料 Action
統合支払い
現在未対応

入力

  • 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

この Action を使用する Skills

関連ユースケース

検証済みの関連ユースケースはまだリンクされていません。

公式ソース

プロバイダーのソース