Skip to main content
You always own your facts and can export them at any time using the Get API.

Export with the CLI

Each _ is a wildcard for a fact argument. The examples above return all facts of the given type. You can also filter by replacing wildcards with specific values:

Export with SDKs

You can call the Get API directly from any Oso Cloud SDK. Each SDK provides a get (or Get) method:
  • Wildcards: None (Python), null (Node.js), nil (Go).
  • Developer accounts: max 1000 facts per call (larger exports error).
  • Only returns facts you’ve explicitly added.
    • Use Check API (list) to find authorized resources.
    • Use Query Builder for derived queries.
Below are examples in Python, Node.js, and Go.

Python

Node.js

Go