Skip to content

oryva keys

oryva is free for the Python and TypeScript SDKs and the MCP server, on APIs of up to 50 operations. An oryva key unlocks everything else. oryva checks the key on your machine and never contacts a server.

Email contact@hopline.co for a key, then set it:

export ORYVA_KEY=oryva1....

What a key unlocks

Free With a key
Python and TypeScript SDKs, MCP server up to 50 operations any size
C#, Go, Rust, Java, Kotlin, Ruby and PHP SDKs no yes
Hosted mode (x-oryva-gateway) and its deploy files no yes
The Slack app (x-oryva-chat) no yes
oryva import stainless and oryva compat no yes
oryva diff and oryva eval yes yes

Code oryva generated keeps working without a key, forever.

Without a key

Run oryva generate on a spec, or with an oryva.yml that lists no targets, and oryva skips the targets that need a key:

note: skipped the C# SDK, Go SDK, Rust SDK, Java SDK, Kotlin SDK, Ruby SDK and PHP SDK, which need an oryva key (contact@hopline.co)

Ask for a paid feature, in the config's targets or in the spec, and the run stops before it writes anything. The error names the feature. An API of more than 50 operations stops the same way. For a spec with x-oryva-gateway and x-oryva-chat:

note: skipped the C# SDK, Go SDK, Rust SDK, Java SDK, Kotlin SDK, Ruby SDK and PHP SDK, which need an oryva key (contact@hopline.co)
error: an oryva key is needed for hosted mode (x-oryva-gateway) and the Slack app (x-oryva-chat). Email contact@hopline.co for one and set ORYVA_KEY. Without a key, oryva generates the Python SDK, TypeScript SDK and MCP server for APIs of up to 50 operations.

Set the key

oryva reads the key from the ORYVA_KEY environment variable, or from a file that key_file in oryva.yml names, relative to the config:

key_file: .oryva-license   # add .oryva-license to .gitignore

Never put the key itself in oryva.yml. The config is committed, and anyone who can read the repository could use the key.

When both are set, the environment variable wins. oryva import stainless runs before there is an oryva.yml, so it reads only the environment variable.

In CI, store the key as a repository secret named ORYVA_KEY. Pass it to the GitHub Action with key: ${{ secrets.ORYVA_KEY }}. On other CI systems, set the environment variable from the secret.

Check the key

oryva key shows who oryva is licensed to, the plan, what it unlocks and when the key expires:

oryva key
Licensed to Example Corp
Plan: pro
Unlocks: every target, APIs of any size, hosted mode (x-oryva-gateway) and its deploy files, the Slack app (x-oryva-chat), `oryva import stainless` and `oryva compat`
Expires: 2027-12-31
Key id: 3f9c0a7d21e84b6c

It exits with 1 when there is no valid key. An invalid key gets a warning that says what still works for free. A key for GitHub organizations also shows them, as GitHub Actions: only for repositories owned by example-org.

Expiry

A key keeps working for 14 days after its expiry date, with a warning on every run. Then oryva falls back to the free tier. oryva checks keys offline: it never contacts a server.

Keys for a GitHub organization

A key can be issued for one or more GitHub organizations. In GitHub Actions, it works only for repositories they own. In any other repository's workflow, oryva treats the key as not valid, names the organization it is for, and falls back to the free tier:

warning: the oryva key is not valid: it is for the GitHub organization example-org, and this workflow's repository belongs to someone-else. Without a key, oryva generates the Python SDK, TypeScript SDK and MCP server for APIs of up to 50 operations.

On your own machine and in other CI systems, the key works as usual.

Revoked keys

A revoked key stops working in the oryva releases made after its revocation:

warning: the oryva key is not valid: it was revoked; email contact@hopline.co