---
title: "Get Function Config"
method: GET
path: "/functions/{function_id}/config"
tags: ["function config"]
---

# Get Function Config

`GET /functions/{function_id}/config`

## Path parameters

- `function_id` string, uuid, required — The id of the function whose config to retrieve

## Response `200`

Successful Response

- FunctionConfigResponse
  - `steering` SteeringConfig
    - `enabled` boolean
    - `fewShotCount` integer
    - `fewShotStrategy` string
    - `fewShotInjection` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required (out of credits)
- `404` — Not Found
- `422` — Request Validation Error

---

[API](https://skmtc.dev/opper/apis/opper-api-v2.md) · [All operations](https://skmtc.dev/opper/apis/opper-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opper/opper-api-v2/revisions/d3ccdaa15678/schema)
