Check out the newest way to compare different models for a task/agent harness: AutoEvals

Command Reference

API Keys

Create, list, show, and revoke project API keys from the CLI.

Project API keys let you authenticate CI pipelines and other headless environments. See API Keys and Authentication for how keys work across the platform. These commands manage the same keys from the terminal.

API key management requires session login (inf auth login). A project API key cannot create, list, or revoke other keys.

inf api-key create

Create a project-scoped API key. The raw key value is shown once, at creation. Save it immediately, since it cannot be retrieved again.

inf api-key create <name> --project <project-id>

Arguments

ArgumentRequiredDescription
nameYesHuman-readable name for the key, e.g. production-ci

Options

OptionRequiredDescriptionDefault
--project <id>Yes*Project the key is scoped toActive project
--team <id>NoTeam that owns the keyActive team
--permissions <list>NoComma-separated permissions: read, write, or bothread,write

* Required unless INF_PROJECT_ID is set or an active project is already set (see Projects).

Creating an API key may require a verified phone number on your account. If you see a verification error, add a phone number from the dashboard and try again.

Examples

# Read and write key for the active project
inf api-key create production-ci --project proj_789ghi012jkl

# Read-only key
inf api-key create readonly-metrics --project proj_789ghi012jkl --permissions read

# Key for a specific team
inf api-key create ci-key --project proj_789ghi012jkl --team team_abc123

inf api-key list

List API keys for a team. The raw key value is never shown again after creation, only its ID, name, and scopes.

inf api-key list

Alias: inf api-key ls

Options

OptionRequiredDescriptionDefault
--team <id>NoTeam to list keys forActive team

Example

inf api-key list --team team_abc123

inf api-key show

Describe the default API key for the active (or specified) project. The value is masked — plaintext is shown only at creation.

inf api-key show

Options

OptionRequiredDescriptionDefault
--project <id>NoProject whose default key to showActive project
--team <id>NoTeam that owns the projectActive team

Prints the key's ID, name, masked preview, project, team, scopes, and creation date. Because stored keys are hashed, the full key cannot be printed — create a new one with inf api-key create <name>.

Example

inf api-key show --project proj_789ghi012jkl

inf api-key revoke

Revoke an API key so it can no longer authenticate requests. This cannot be undone.

inf api-key revoke <id>

Alias: inf api-key rm

Arguments

ArgumentRequiredDescription
idNoAPI key ID to revoke (from inf api-key list); omit to pick interactively

Options

OptionRequiredDescriptionDefault
--team <id>NoTeam that owns the keyActive team

Example

inf api-key revoke key_abc123

# Omit the id to pick a key to revoke interactively
inf api-key revoke

On this page