Skip to content
Skillpedia
APIs & servers (backend)7.0k · #13602

altllm-portal-api-keys

What it does

This skill lets the agent manage API keys for the AltLLM Portal through its command-line tool. It covers listing keys, creating new ones, and changing or revoking them. It is for people who run apps or agents that use AltLLM.

When to use it

  • ✓When you need to create a new API key for an app or an outside agent.
  • ✓When you want to see which AltLLM keys are active or disabled.
  • ✓When you want to turn off a key without deleting it, or revoke it permanently.

Skill link

https://github.com/internet-court/internet-court-skill/blob/main/vendored/altlayer/altllm-portal-api-keys/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/vendored/altlayer/altllm-portal-api-keys/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“I need a new AltLLM API key for my support bot and want to see which models it can use.”

5 new skills a week. 1 minute to read.

How it works

The agent runs the AltLLM command-line tool for each key action. Creating a key shows the full key only once, so the agent reminds you to save it. Disabling a key can be undone, but revoking a key cannot.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

AltLLM Portal API Keys

Portal API key lifecycle management for the local altllm CLI.

Shared Setup

Before the first altllm command in a fresh checkout, read and follow:

  • ../_shared/preflight.md
  • ../_shared/session-and-target.md

Command Index

Command Purpose
list-api-keys List active and disabled keys
create-api-key Create a new key, optionally with a model allowlist
get-api-key Inspect one key
update-api-key Rename a key, change status, or replace the model allowlist
revoke-api-key Permanently revoke a key

Rules

  • create-api-key returns the full key only once.
  • If no model allowlist is passed, the Portal API applies its default AltLLM model set.
  • Key permissions narrow accessible models, but gateway balance and tier checks still apply.
  • Flex users can allowlist normal AltLLM models and Flex-only altllm-flex-* models; backend access checks remain authoritative.
  • update-api-key --status disabled is reversible.
  • revoke-api-key is permanent.
  • keys is an alias for list-api-keys.

Known Production Limitation

  • The single-key Portal API routes are currently broken in production.
  • Affected commands:
    • get-api-key
    • update-api-key
    • revoke-api-key
  • Commands that still work:
    • list-api-keys
    • create-api-key
  • Do not create temporary production smoke keys unless revoke-api-key is healthy or an approved cleanup path exists.

Reference

See references/cli-reference.md for command examples and representative responses.

FAQ

Can I see the full key again after creating it?

No. The full key appears only once, when it is created, so save it right away.

What is the difference between disabling and revoking a key?

Disabling can be reversed. Revoking is permanent.

Why might inspecting or revoking a single key fail?

The skill notes that single-key actions are currently broken in production. Listing and creating keys still work.

Details

Original description by the author

Use this skill when the user asks to list, create, inspect, update, disable, re-enable, or revoke AltLLM Portal API keys for external agents or applications. Do NOT use for wallet login, billing history, or payment links.

repo: internet-court/internet-court-skill

Popularity

GitHub stars
7.0k
Ranking position
#13602
License
—
Updated
10/26/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills