---
title: "Apply rule model to program"
method: POST
path: "/v1/config/program/{programId}"
tags: ["Apply"]
---

# Apply rule model to program

`POST /v1/config/program/{programId}`

## Request

- Base URL: `https://sandbox.pismolabs.io/processing-code`
- URL: `https://sandbox.pismolabs.io/processing-code/v1/config/program/{programId}`
- Auth: none declared

Apply a rule model to a specified program.

## Request body

- ConfigRequest
  - `model_id` string, required: Model ID

## Response `201`

Created

- ConfigRequest
  - `model_id` string, required: Model ID

## Other responses

- `400`: Bad request
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/core-platform-rule-models.md) - [All operations](https://skmtc.dev/pismo/apis/core-platform-rule-models/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/core-platform-rule-models/revisions/f7b6f9e7d9d9?raw)
