---
title: "Create score config (v1)"
method: POST
path: "/api/{org_id}/score_configs"
tags: ["ScoreConfigs"]
---

# Create score config (v1)

`POST /api/{org_id}/score_configs`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/score_configs`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/score_configs/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new score config at version 1.

## Path parameters

- `org_id` string, required

## Request body

- object: HTTP request body for creating a Score Config.
  - `categories` unknown
  - `dataType` string, required
  - `description` string, nullable
  - `healthyThreshold` unknown
  - `name` string, required
  - `numericRange` unknown

## Response `200`

- object: HTTP response body for a Score Config.
  - `categories` unknown
  - `createdAt` integer, required
  - `dataType` string, required
  - `description` string, nullable
  - `entityId` string, required
  - `healthyThreshold` unknown
  - `id` string, required
  - `isActive` boolean, required
  - `name` string, required
  - `numericRange` unknown
  - `orgId` string, required
  - `updatedAt` integer, required
  - `version` integer, required

## Other responses

- `400`: Bad Request
- `409`: Conflict

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
