> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://contentful.com/developers/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://contentful.com/developers/docs/_mcp/server.

> **Info**
>
> Functions are only available for Premium plans and Partners.

`Functions` are serverless workloads that run on Contentful's infrastructure to provide enhanced flexibility and customization.

For more information on Function definition and use cases, see the [extensibility documentation](/extensibility/app-framework/functions).

#### Filtering

Plural GET requests (i.e. `getMany`, `getManyForEnvironment`) can be filtered by a query parameter `accepts[all] : '<event1>,<event2>,<eventN>'` to filter functions that accept all of the specified events. Note that the value is a string of comma-separated event names.

## Get Function

[Get a function](/references/content-management-api/functions/get-a-function)

## Get Many Functions

[Get all functions](/references/content-management-api/functions/get-all-functions)

## Get many Functions for environment

[Get all functions for an environment](/references/content-management-api/functions/get-all-functions-for-an-environment)