Skip to content

Commit 4e671db

Browse files
committed
docs: clarify org key required for GitHub Actions
1 parent ba336af commit 4e671db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Go to [agentmeter.app](https://agentmeter.app) and sign in with GitHub. AgentMet
4949

5050
### 2. Get your API key
5151

52-
After signing in, go to **Settings → API Key** to generate your `am_sk_…` key.
52+
After signing in, go to **Settings → API Keys** and create an **org key** (not a personal key). Org keys attribute runs to your organization and are required for GitHub Actions — personal keys are for the local CLI only.
5353

5454
### 3. Add it as a secret
5555

@@ -309,7 +309,7 @@ Replace `$INPUT_TOKENS` etc. with however your agent exposes token counts (step
309309

310310
| Input | Required | Default | Description |
311311
|-------|----------|---------|-------------|
312-
| `api_key` | yes | — | Your AgentMeter API key (`am_sk_…`). Get it from [agentmeter.app/dashboard/settings](https://agentmeter.app/dashboard/settings). |
312+
| `api_key` | yes | — | Your AgentMeter **org** API key (`am_sk_…`). Create one at [agentmeter.app/dashboard/settings](https://agentmeter.app/dashboard/settings) under API Keys → Create org key. |
313313
| `model` | no | `''` | The AI model used (e.g. `claude-sonnet-4-5`). Used for per-token cost display. |
314314
| `engine` | no | `claude` | The AI engine (`claude`, `codex`). |
315315
| `status` | no | `success` | Run outcome. In companion `workflow_run` mode this is resolved automatically from the triggering workflow's conclusion. In inline mode pass `${{ steps.agent.outcome }}` or a custom value like `needs_human`. See [docs/status-values.md](docs/status-values.md). |

0 commit comments

Comments
 (0)