---
title: "Retrieve available functions"
method: GET
path: "/v1/ogcapi/enrich/functions"
tags: ["OGC API Features"]
---

# Retrieve available functions

`GET /v1/ogcapi/enrich/functions`

## Request

- Base URL: `https://api.cloud.precisely.com`
- URL: `https://api.cloud.precisely.com/v1/ogcapi/enrich/functions`
- Auth: one of:
  - `bearerAuth` (a scheme the document does not define)
  - `ApiKeyAuth` (a scheme the document does not define)

Returns a list of available spatial functions within the API. Provides supported spatial functions that can be used for querying features, including function names, argument types, and return types.

## Headers

- `X-Request-Id` string

## Response `200`

Successful retrieval

- FunctionResponse
  - `functions` Function[]: List of spatial functions supported by this OGC API service
    - `name` string: Name of the spatial function, e.g. s_within, s_contains, s_intersects
    - `arguments` Argument[]: List of arguments accepted by this function
      - `type` string[]: List of accepted data types for this argument, e.g. geometry
    - `returns` string[]: List of return types produced by this function

## Other responses

- `400`: Query parameters are not allowed
- `401`: Unauthorized
- `500`: Internal server error

---

[API](https://skmtc.dev/precisely/apis/feature-api.md) · [All operations](https://skmtc.dev/precisely/apis/feature-api/llms.txt) · [OpenAPI document](https://skmtc.dev/precisely/apis/feature-api/revisions/6dc26f89c0aa?raw)
