> 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/_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] : ',,'` 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) ## API Docs - Functions [Get a function](https://contentful.com/developers/docs/references/content-management-api/functions/get-a-function.md) - Functions [Get all functions](https://contentful.com/developers/docs/references/content-management-api/functions/get-all-functions.md) - Functions [Get all functions for an environment](https://contentful.com/developers/docs/references/content-management-api/functions/get-all-functions-for-an-environment.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://contentful.com/developers/docs/openapi.json) - [OpenAPI YAML](https://contentful.com/developers/docs/openapi.yaml)