Oso Cloud · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Oso Cloud HTTP Check API

7 actions 7 updates phrasing extends openapi/oso-check-api-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Oso Cloud's API. It is a proposal applied on top of the contract, not a document Oso Cloud publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/authorize'].post
$.paths['/authorize_resources'].post
$.paths['/list'].post
$.paths['/actions'].post
$.paths['/query'].post
$.paths['/evaluate_query'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Oso Cloud HTTP Check API
  version: 1.0.0
extends: openapi/oso-check-api-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-21'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/authorize'].post
  update:
    x-apievangelist-phrasing:
      intent: Check whether an actor can perform an action on a resource
      effect: read
      questions:
      - Can I check whether a user is allowed to edit a record?
      - What does an authorization decision return for an actor on a resource?
      instructions:
      - text: Check whether {actor_type} {actor_id} can {action} {resource_type} {resource_id}.
        slots:
          actor_type: requestBody.actor_type
          actor_id: requestBody.actor_id
          action: requestBody.action
          resource_type: requestBody.resource_type
          resource_id: requestBody.resource_id
      - text: Authorize {actor_type} {actor_id} to {action} {resource_type} {resource_id} with context facts {context_facts}.
        slots:
          actor_type: requestBody.actor_type
          actor_id: requestBody.actor_id
          action: requestBody.action
          resource_type: requestBody.resource_type
          resource_id: requestBody.resource_id
          context_facts: requestBody.context_facts
      method: generated
      generated: '2026-11-21'
- target: $.paths['/authorize_resources'].post
  update:
    x-apievangelist-phrasing:
      intent: Check which resources an actor can act on
      effect: read
      questions:
      - 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?
      instructions:
      - text: Check whether actor {actor_type} {actor_id} can {action} on resources {resources}.
        slots:
          actor_type: requestBody.actor_type
          actor_id: requestBody.actor_id
          action: requestBody.action
          resources: requestBody.resources
      - text: Authorize actor {actor_type} {actor_id} to {action} on resources {resources} with facts {context_facts}.
        slots:
          actor_type: requestBody.actor_type
          actor_id: requestBody.actor_id
          action: requestBody.action
          resources: requestBody.resources
          context_facts: requestBody.context_facts
      method: generated
      generated: '2026-11-21'
- target: $.paths['/list'].post
  update:
    x-apievangelist-phrasing:
      intent: List resource IDs an actor can act on
      effect: read
      questions:
      - How do I list every record a user can edit?
      - Why is the page size for listing allowed resources capped at 10,000?
      instructions:
      - text: List {resource_type} IDs that {actor_type} {actor_id} can {action} on, {page_size} per page.
        slots:
          actor_type: requestBody.actor_type
          actor_id: requestBody.actor_id
          action: requestBody.action
          resource_type: requestBody.resource_type
          page_size: requestBody.page_size
      - text: List {resource_type} IDs for {actor_type} {actor_id} with action {action}, continuing from token {page_token}.
        slots:
          actor_type: requestBody.actor_type
          actor_id: requestBody.actor_id
          action: requestBody.action
          resource_type: requestBody.resource_type
          page_token: requestBody.page_token
      method: generated
      generated: '2026-11-21'
- target: $.paths['/actions'].post
  update:
    x-apievangelist-phrasing:
      intent: List actions an actor can perform on a resource
      effect: read
      questions:
      - What actions can a user take on a given record?
      - Which permissions does a user have on a resource?
      instructions:
      - text: List actions {actor_type} {actor_id} can perform on {resource_type} {resource_id}.
        slots:
          actor_type: requestBody.actor_type
          actor_id: requestBody.actor_id
          resource_type: requestBody.resource_type
          resource_id: requestBody.resource_id
      - text: Show the allowed actions for {actor_type} {actor_id} on resource {resource_type} {resource_id}.
        slots:
          actor_type: requestBody.actor_type
          actor_id: requestBody.actor_id
          resource_type: requestBody.resource_type
          resource_id: requestBody.resource_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/query'].post
  update:
    x-apievangelist-phrasing:
      intent: Query policy facts by pattern
      effect: read
      questions:
      - Can I query policy facts by a pattern instead of listing them?
      - What does a policy query return for a fact pattern?
      instructions:
      - text: Query policy facts matching {fact}.
        slots:
          fact: requestBody.fact
      - text: Find policy facts matching {fact} with context facts {context_facts}.
        slots:
          fact: requestBody.fact
          context_facts: requestBody.context_facts
      method: generated
      generated: '2026-11-21'
- target: $.paths['/evaluate_query'].post
  update:
    x-apievangelist-phrasing:
      intent: Evaluate a policy expression
      effect: read
      questions:
      - Can I evaluate a policy expression with constraints?
      - What does an expression evaluation return for a predicate and calls?
      instructions:
      - text: Evaluate expression {predicate} with calls {calls} and constraints {constraints} using context facts {context_facts}.
        slots:
          predicate: requestBody.predicate
          calls: requestBody.calls
          constraints: requestBody.constraints
          context_facts: requestBody.context_facts
      - text: Run policy expression {predicate} for calls {calls} constrained by {constraints}.
        slots:
          predicate: requestBody.predicate
          calls: requestBody.calls
          constraints: requestBody.constraints
      method: generated
      generated: '2026-11-21'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/oso-check-api-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.