Merge pull request #2517 from langbot-app/feat/api-key-system-context

feat(api): add system context endpoint for lbctl
This commit is contained in:
Tynwink
2026-09-07 14:51:31 +08:00
committed by GitHub
4 changed files with 94 additions and 0 deletions
+2
View File
@@ -43,6 +43,8 @@ Two kinds of key are accepted:
Invalid, revoked, or expired keys get `401 Unauthorized`. A valid key whose
scopes do not authorize a tool gets `403 Forbidden`.
To inspect key identity and permissions, call `GET /api/v1/system/context` with the API key.
## Client configuration
```json