user
Generate (or regenerate) the default agent API key
Issue the default tk_xxx agent key bound to the default toolkit.
First call — unauthenticated, subnet-restricted:
- Available only before the key has been claimed
- Only accessible from trusted subnets (RFC 1918 + loopback by default; configure via JENTIC_TRUSTED_SUBNETS env var)
- Returns the key once only — it is not recoverable after this response
- After this call, the endpoint requires a human session
Subsequent calls — human session required:
- Revokes the current default key
- Issues and returns a fresh key
The key works immediately — you do not need to wait for the admin account to be created before using it.
post/default-api-key/generate
Response
Successful Response
{"stackTrail":"paths:/default-api-key/generate:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}