# Mint data-plane access

Collection: api
Human docs: https://zei.sh/docs/api

Mint short-lived credentials for commands, files, and terminal sessions.

GET /public/sandboxes/:sandboxId/exec-access
Permission: MACHINE_UPDATE.
The token is scoped to one sandbox and is valid for about ten minutes.
Response: sandboxUrl, sandboxRpcUrl, token, and expiresAt.
Send the token as Authorization: Bearer <token>. Never log or persist it.

Example:

```
curl -X GET https://api.zei.sh/api/v1/public/sandboxes/:sandboxId/exec-access \
  -H "X-API-Key: $ZEISH_API_KEY"
```
