Agent / CLI quickstart
- Obtain an App API key from Table AI ops (or request access below).
- Register your app — the key auto-binds the new
registryId. - Sign users in via OIDC; JWT carries
taidand roles. - Push your user mirror with
POST /v1/sync.
export TABLEUSER_DEV_KEY="tu_…"
pnpm tableuser:agent-connect -- \
--name "My Product Web" \
--redirect http://localhost:3000/uac/callback \
--app-root .
# or
curl -sS -X POST https://tableu-api.opcglobal.cn/v1/apps \
-H "Authorization: Bearer $TABLEUSER_DEV_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"My Product Web","type":"Traditional","redirectUris":["http://localhost:3000/uac/callback"]}'
Full walkthrough: docs/developers
Key classes
| Class | Who | Scope | Can call |
|---|---|---|---|
| App | Partner apps | allowedRegistryIds[] (maxApps default 3) |
/v1/apps, /v1/users, /v1/sync for bound registries |
| Platform | Table AI ops only | All registries | Above plus merge / unmerge / link-app / role admin |
Rate limits
| Key class | Sustained | Burst | Writes |
|---|---|---|---|
| App | 60 / min | 120 | 20 / min (POST/DELETE) |
| Platform | 120 / min | 240 | — |
Exceeding returns 429 with Retry-After and X-RateLimit-Remaining.
Request access
Self-serve minting is gated. Join the waitlist — ops will issue an App key after review.