Prismic
prismicPrismic is a headless CMS that enables developers and content teams to manage and deliver content seamlessly across various platforms.
Acciones disponibles (13)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get Prismic Documents with Fulltext SearchPRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCHAcciónTool to fetch prismic documents using a full-text search predicate. use after obtaining the repository's master ref when you want to search for specific terms within documents.
PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCHAcciónTool to fetch prismic documents using a full-text search predicate. use after obtaining the repository's master ref when you want to search for specific terms within documents.
Parámetros de entrada
qstringObligatorioFull-text predicate to search documents, e.g. [[fulltext(document, "search term")]]
langstringLanguage code (e.g., 'en-us').
pageintegerPage number, must be >= 1
fetchstringComma-separated list of field API IDs to fetch.
pageSizeintegerNumber of documents per page (1-100).
orderingsstringSorting order, e.g., '[my.article.date desc]'
fetchLinksstringComma-separated list of linked document fields to fetch.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Content API: Get Documents with Integration FieldsPRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_INTEGRATION_FIELDSAcciónTool to fetch prismic documents including integration fields data. use when you need both core content and integration fields in one query. call after obtaining a valid ref token.
PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_INTEGRATION_FIELDSAcciónTool to fetch prismic documents including integration fields data. use when you need both core content and integration fields in one query. call after obtaining a valid ref token.
Parámetros de entrada
qstringPredicate(s) to filter documents, e.g. [[at(my.article.title, "Hello")]] or list of predicates
refstringObligatorioContent ref token for the API query, obtained from /api/v2
langstringLanguage code to query, default '*' for all languages
pageintegerPage number for pagination (starting at 1)
afterstringReturn documents after this document ID (cursor pagination)
fetchstringComma-separated list of fields to fetch
pageSizeintegerNumber of documents per page (1-100)
orderingsstringSort order, e.g. [my.post.date desc]
fetchLinksstringComma-separated list of linked document fields to include
integrationFieldsRefstringIntegration fields snapshot ref to fetch integration data
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Prismic Documents with PredicatesPRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_PREDICATESAcciónTool to fetch prismic documents using specified predicates. use when filtering documents based on multiple conditions after obtaining the repository's master ref.
PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_PREDICATESAcciónTool to fetch prismic documents using specified predicates. use when filtering documents based on multiple conditions after obtaining the repository's master ref.
Parámetros de entrada
langstringLanguage code to filter documents by language, e.g., 'en-us'.
pageintegerPage number for pagination, must be >= 1.
fetchstringComma-separated list of fields to fetch in documents.
pageSizeintegerNumber of documents per page (1-100).
orderingsstringSorting order expression, e.g., '[document.last_publication_date desc]'.
fetchLinksstringComma-separated list of linked document fields to include.
graphQuerystringGraphQuery expression for nested fields retrieval.
predicatesstring[]ObligatorioList of Prismic predicates for filtering documents, e.g., [[at(document.type,"page")]].
access_tokenstringAccess token for private repositories.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Prismic: Query DocumentsPRISMIC_CONTENT_API_QUERY_DOCUMENTSAcciónTool to query prismic documents using predicates and pagination. use when you need to fetch multiple documents from a repository after obtaining a ref.
PRISMIC_CONTENT_API_QUERY_DOCUMENTSAcciónTool to query prismic documents using predicates and pagination. use when you need to fetch multiple documents from a repository after obtaining a ref.
Parámetros de entrada
qstringPredicate(s) to filter documents using Prismic predicate syntax.
refstringObligatorioContent release reference to use (e.g., a master ref or API token ref)
langstringLanguage code to query (e.g., 'en-us'), default '*' for all languages
pageintegerPage number for pagination, starting from 1
afterstringDocument ID to paginate after for deep pagination.
fetchstringComma-separated list of fields to fetch for each document.
pageSizeintegerNumber of documents per page (1-100)
orderingsstringSort order, e.g., '[my.article.date desc]'
fetchLinksstringFields from linked documents to fetch, comma-separated.
graphQuerystringGraphQuery to specify which fields to return.
access_tokenstringPrivate API content token for authentication, if required.
integrationFieldsRefstringReference of integration fields content.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Prismic Document by IDPRISMIC_GET_DOCUMENT_BY_IDAcciónTool to retrieve a specific prismic document by its id. use after obtaining a content ref.
PRISMIC_GET_DOCUMENT_BY_IDAcciónTool to retrieve a specific prismic document by its id. use after obtaining a content ref.
Parámetros de entrada
refstringObligatorioContent ref from /api/v2 (identifies which version of content to query)
langstringOptional language code (e.g., 'en-us')
pageintegerPage number to fetch; defaults to 1
orderingsstringOptional ordering string, e.g., '[document.last_publication_date desc]'
page_sizeintegerNumber of documents to return; defaults to 1
document_idstringObligatorioUnique identifier of the Prismic document
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Prismic: Get Documents by Custom FieldPRISMIC_GET_DOCUMENTS_BY_CUSTOM_FIELDAcciónTool to fetch prismic documents by custom field predicate. use after obtaining a repository ref when filtering content by field constraints.
PRISMIC_GET_DOCUMENTS_BY_CUSTOM_FIELDAcciónTool to fetch prismic documents by custom field predicate. use after obtaining a repository ref when filtering content by field constraints.
Parámetros de entrada
qstringPredicate(s) to filter documents, e.g., [[at(my.article.title, "Hello")]] or list of predicates
refstringObligatorioContent release reference to use (e.g., a master ref or API token ref)
langstringLanguage code to query, default '*' for all languages
pageintegerPage number for pagination, starting from 1
pageSizeintegerNumber of documents per page, between 1 and 100
orderingsstringSort order, e.g., [my.article.date desc]
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Prismic Documents by TagPRISMIC_GET_DOCUMENTS_BY_TAGAcciónTool to fetch prismic documents by tag. use when retrieving all documents associated with a specific tag.
PRISMIC_GET_DOCUMENTS_BY_TAGAcciónTool to fetch prismic documents by tag. use when retrieving all documents associated with a specific tag.
Parámetros de entrada
tagstringObligatorioTag to filter documents (exact match).
langstringLanguage code (e.g., 'en-us').
pageintegerPage number, must be >= 1.
afterstringDocument ID to paginate after for deep pagination.
pageSizeintegerNumber of documents per page (1-100).
orderingsstringSorting order, e.g., '[my.article.date desc]'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Prismic Documents by TypePRISMIC_GET_DOCUMENTS_BY_TYPEAcciónTool to fetch prismic documents by type. use when you need to retrieve documents with a specific custom type after obtaining the repository's master ref.
PRISMIC_GET_DOCUMENTS_BY_TYPEAcciónTool to fetch prismic documents by type. use when you need to retrieve documents with a specific custom type after obtaining the repository's master ref.
Parámetros de entrada
langstringLanguage code (e.g., 'en-us')
pageintegerPage number, must be >= 1
typestringObligatorioCustom type to filter documents (exact match).
afterstringDocument ID to paginate after for deep pagination.
pageSizeintegerNumber of documents per page (1-100).
orderingsstringSorting order, e.g., '[my.article.date desc]'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ordered DocumentsPRISMIC_GET_DOCUMENTS_ORDEREDAcciónTool to fetch prismic documents ordered by a specified field. use after obtaining a valid api ref when you need sorted document results, e.g., orderings='[my.article.date desc]'.
PRISMIC_GET_DOCUMENTS_ORDEREDAcciónTool to fetch prismic documents ordered by a specified field. use after obtaining a valid api ref when you need sorted document results, e.g., orderings='[my.article.date desc]'.
Parámetros de entrada
qstring[]Predicate query strings for filtering (repeatable)
refstringObligatorioAPI ref to query (e.g., master ref or a release ref)
langstringFilter by language code (e.g., 'en-us')
pageintegerPage number for pagination (default: 1)
afterstringFetch results after this document ID for deep pagination
fetchstringComma-separated list of field names to fetch
pageSizeintegerResults per page (default: 20, max: 100)
orderingsstringObligatorioOrdering criteria, e.g. '[my.article.date desc]'
fetchLinksstringComma-separated list of linked document fields to fetch
graphQuerystringGraphQuery filter string for shaping the response
access_tokenstringOAuth2 access token for private repositories (overrides default header)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Prismic Repository InfoPRISMIC_REPOSITORY_API_GET_INFOAcciónTool to retrieve prismic repository metadata. use after authentication to load refs, types, languages, and other repository settings.
PRISMIC_REPOSITORY_API_GET_INFOAcciónTool to retrieve prismic repository metadata. use after authentication to load refs, types, languages, and other repository settings.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Prismic Repository RefsPRISMIC_REPOSITORY_API_GET_REFSAcciónTool to retrieve a list of repository refs (master and releases). use when you need the current repository references before executing any content queries.
PRISMIC_REPOSITORY_API_GET_REFSAcciónTool to retrieve a list of repository refs (master and releases). use when you need the current repository references before executing any content queries.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Prismic TagsPRISMIC_TAGS_API_GET_ALL_TAGSAcciónTool to retrieve all tags from prismic repository. use when you need the full list of tags for filtering or categorization.
PRISMIC_TAGS_API_GET_ALL_TAGSAcciónTool to retrieve all tags from prismic repository. use when you need the full list of tags for filtering or categorization.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Prismic: Get Custom TypesPRISMIC_TYPES_API_GET_TYPESAcciónTool to retrieve all custom types and slices from the prismic repository. use when you need to list custom types definitions after authentication.
PRISMIC_TYPES_API_GET_TYPESAcciónTool to retrieve all custom types and slices from the prismic repository. use when you need to list custom types definitions after authentication.
Parámetros de entrada
refstringReference to the API version to query custom types (e.g., a master ref)
pageintegerPage number for pagination
sortstringSort order for results (e.g., 'name')
limitintegerMaximum number of custom types to return
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not