---
title: "POST /actions_query"
method: POST
path: "/actions_query"
tags: ["Local Check API"]
---

# POST /actions_query

`POST /actions_query`

## Request body

- LocalActionsQuery
  - `query` ActionsQuery, required
    - `actor_type` string, required
    - `actor_id` string, required
    - `resource_type` string, required
    - `resource_id` string, required
    - `context_facts` Fact[]
      - `predicate` string, required
      - `args` Value[], required
        - `type` string, nullable
        - `id` string, nullable
  - `data_bindings` string, required

## Response `200`

- LocalActionsResult
  - `sql` string, required

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