Fetch documents and type definition in one call

I see there are separate endpoints to fetch document by type (https://your-repo-name.cdn.prismic.io/api/v2/documents/search) and to fetch type definition itself (https://your-repo-name.cdn.prismic.io/customtypes). Is there a way to fetch both in a single request? For example, when fetching documents by type, is it possible to get the type definition along with the documents?

Hello @helen, thanks for reaching out!

This is not possible, you need to use each endpoint separately.
Prismic six available endpoints. Learn more about them here: