---
title: "Put Steering"
method: PUT
path: "/functions/{function_id}/config/steering"
tags: ["function config"]
---

# Put Steering

`PUT /functions/{function_id}/config/steering`

## Path parameters

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

## Request body

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

## Response `200`

Successful Response

- object

## 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)
