---
title: "POST /facts"
method: POST
path: "/facts"
tags: ["Centralized Authorization Data"]
deprecated: true
---

# POST /facts

`POST /facts`

> **Deprecated.**

Adds a new fact.

DEPRECATED: Prefer `POST /batch` with payload `[{"inserts": [<fact>]}]`.

## Request body

- Fact — A pattern object for matching authorization-relevant data, ie: facts.
  - `predicate` string, required
  - `args` Value[], required
    - `type` string, nullable
    - `id` string, nullable

## Response `200`

- Fact — A pattern object for matching authorization-relevant data, ie: facts.
  - `predicate` string, required
  - `args` Value[], required
    - `type` string, nullable
    - `id` string, nullable

## Other responses

- `default`

---

[API](https://skmtc.net/osohq/apis/oso-cloud-http-api.md) · [All operations](https://skmtc.net/osohq/apis/oso-cloud-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/osohq/oso-cloud-http-api/versions/edaea3b218bd/schema)
