Docs > API reference

The PostCMS Javascript API gives you access to all the content held in your account.

Global variables

Name Description
kit Miscellaneous utility methods.
out Used to write output in the current context.
request Used to get details of the current request.
user The current user. This object is based on the User prototype.

Prototypes

Name Description
Asset A binary or text file.
ContentType A content-type definition.
Date Date-related utility methods.
Finder Utility class for querying content in your account.
Item The superclass for objects such as pages and assets.
ItemSet A set of items.
JSON JSON-related utility methods.
Page A web page.
SearchTotal A search total.
Section A directory in the site hierarchy.
Url Utility class for retrieving remote content.
User A user account.
Workflow A workflow.

Can't find what you're looking for?

Let us know and we'll see if we can help.