Oso Cloud Check API

The Check API API from Oso Cloud — 6 operation(s) for check api.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /authorize Check whether an actor can perform an action on a resource · Post authorize #
Ask an LLM
“Can I check whether a user is allowed to edit a record?”
“What does an authorization decision return for an actor on a resource?”
Tell an agent
Check whether {actor_type} {actor_id} can {action} {resource_type} {resource_id}.
Authorize {actor_type} {actor_id} to {action} {resource_type} {resource_id} with context facts {context_facts}.
POST /authorize_resources Check which resources an actor can act on · Post authorize resources #
Ask an LLM
“Which resources of a given type can an actor perform an action on?”
“Can I check whether an actor has permission to do something on a list of resources before querying them?”
Tell an agent
Check whether actor {actor_type} {actor_id} can {action} on resources {resources}.
Authorize actor {actor_type} {actor_id} to {action} on resources {resources} with facts {context_facts}.
POST /list List resource IDs an actor can act on · Post list #
Ask an LLM
“How do I list every record a user can edit?”
“Why is the page size for listing allowed resources capped at 10,000?”
Tell an agent
List {resource_type} IDs that {actor_type} {actor_id} can {action} on, {page_size} per page.
List {resource_type} IDs for {actor_type} {actor_id} with action {action}, continuing from token {page_token}.
POST /actions List actions an actor can perform on a resource · Post actions #
Ask an LLM
“What actions can a user take on a given record?”
“Which permissions does a user have on a resource?”
Tell an agent
List actions {actor_type} {actor_id} can perform on {resource_type} {resource_id}.
Show the allowed actions for {actor_type} {actor_id} on resource {resource_type} {resource_id}.
POST /query Query policy facts by pattern · Post query #
Ask an LLM
“Can I query policy facts by a pattern instead of listing them?”
“What does a policy query return for a fact pattern?”
Tell an agent
Query policy facts matching {fact}.
Find policy facts matching {fact} with context facts {context_facts}.
POST /evaluate_query Evaluate a policy expression · Post evaluate query #
Ask an LLM
“Can I evaluate a policy expression with constraints?”
“What does an expression evaluation return for a predicate and calls?”
Tell an agent
Evaluate expression {predicate} with calls {calls} and constraints {constraints} using context facts {context_facts}.
Run policy expression {predicate} for calls {calls} constrained by {constraints}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/oso:oso-check-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

oso-check-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oso Cloud HTTP Check API
  version: 0.1.0
  description: 'Oso Cloud exposes an HTTP API that you can use to make queries directly, without using one of the clients.For endpoints that require authentication, pass your API key as an HTTP Bearer Auth payload.For example, using curl: curl -H "Authorization: Bearer $OSO_AUTH" https://cloud.osohq.com/api/'
servers:
- url: https://api.osohq.com/api/
tags:


# --- truncated at 32 KB (34 KB total) ---
# Full source: https://artifacts.apis.io/oso/openapi/oso-check-api-api-openapi.yml