Mint an agent gateway token for a Devbox.
Mint a token that lets a running Devbox call an external API through the Runloop agent gateway, using the credential in the supplied secret. The gateway applies the credential to proxied requests, so the real API key is never exposed to the Devbox.
The token is bound to this Devbox and is only accepted for requests that originate from it. Nothing is stored on the Devbox: the token is returned to the caller and is not re-issued when the Devbox is resumed.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The Devbox ID.
Body
Parameters for minting an agent gateway token for a Devbox. The token lets the Devbox call the API described by the gateway config using the supplied credential, without ever receiving the credential itself.
Response
Gateway token minted successfully.
The Devbox the token is bound to.
The ID of the gateway config the token proxies through.
The token to send to the gateway as a Bearer token in the Authorization header. Only accepted for requests originating from the bound Devbox.
The gateway URL to send requests to. Matches the value of the {prefix}_URL environment variable inside the Devbox.
The target API endpoint the gateway proxies to.
How the gateway applies the credential to proxied requests.
