Skip to content

internet-court/internet-court-skill / vendored/altlayer/altllm-portal-api-keys

altllm-portal-api-keys

Verified

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.

FileKindSize
LICENSEother322 B
SKILL.mdskill md1.8 KB
references/cli-reference.mdmarkdown2.0 KB

references/cli-reference.md

View on GitHub
# AltLLM Portal API Keys — CLI Reference

## Commands

### List keys

```bash
node dist/cli.js list-api-keys \
  --base-url https://platform-api.altllm.ai
```

Alias: `node dist/cli.js keys`

### Create key

```bash
node dist/cli.js create-api-key \
  --base-url https://platform-api.altllm.ai \
  --name "Codex Agent" \
  --model altllm-native-fast \
  --model altllm-standard
```

Flex example:

```bash
node dist/cli.js create-api-key \
  --base-url https://platform-api.altllm.ai \
  --name "Flex Agent" \
  --model altllm-standard \
  --model altllm-flex-gpt-5.5 \
  --model altllm-flex-opus-4.7 \
  --model altllm-flex-gemini-3.1
```

Representative stdout:

```json
{
  "id": "key_123",
  "name": "Codex Agent",
  "key": "sk-alt-abcdefghijklmnopqrstuvwxyz0123456789ABCD",
  "key_prefix": "sk-alt-abcd..."
}
```

### Inspect key

```bash
node dist/cli.js get-api-key \
  --base-url https://platform-api.altllm.ai \
  --key-id <id>
```

Known production limitation:

- The current production Portal backend rejects valid key IDs on single-key routes.
- Expect `get-api-key`, `update-api-key`, and `revoke-api-key` to fail until the backend issue is fixed.
- Avoid creating temporary production smoke keys while `revoke-api-key` is unavailable unless an approved cleanup path exists.

### Update key

```bash
node dist/cli.js update-api-key \
  --base-url https://platform-api.altllm.ai \
  --key-id <id> \
  --name "Codex Agent v2" \
  --status active \
  --model altllm-native-fast
```

### Revoke key

```bash
node dist/cli.js revoke-api-key \
  --base-url https://platform-api.altllm.ai \
  --key-id <id>
```

## Notes

- Keys created through Portal are for the AltLLM OpenAI-compatible gateway at `https://api.altllm.ai/v1`.
- The CLI accepts `altllm-flex-*` model IDs because API-key model validation only requires the `altllm-` prefix.
- Flex model access is still enforced by Portal/Gateway account checks.
- `get-api-key`, `update-api-key`, and `revoke-api-key` are currently blocked by a known production backend issue on the single-key Portal routes.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexUnverifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall