Redeem device code
Redeem a device code to obtain agent credentials. This endpoint is called by the agent software during installation. On success, returns a Bearer access token that the agent uses for all subsequent API calls. The token is returned only once and must be stored securely.
This endpoint does not require platform authentication — the device code itself serves as proof of authorization. A code can be redeemed only once and only before its expiresAt.
Redemption is rate limited. A caller over the limit receives 429 with RATE_LIMITED and a Retry-After header, and should wait that long before retrying. If the limit cannot be checked, the call is also rejected with 429.
Response
Device code redeemed successfully