---
title: "Issue an ephemeral sandbox-only credential without production data access."
method: POST
path: "/api/v1/sandbox/keys"
---

# Issue an ephemeral sandbox-only credential without production data access.

`POST /api/v1/sandbox/keys`

## Request

- Base URL: `https://api.basecite.com`
- URL: `https://api.basecite.com/api/v1/sandbox/keys`
- Auth: none declared

## Request body

- object
  - `email` string, email

## Response `201`

Ephemeral sandbox credential returned once

- IssueSandboxCredentialResponse
  - `request_id` string
  - `trace_id` string
  - `data` object
    - `status` string
    - `token` string, required
    - `scope` 'sandbox:echo', required
    - `credential_id` string
    - `expires_at` string, date-time
    - `production_data_access` false, required

## Other responses

- `400`: Invalid sandbox request

---

[API](https://skmtc.dev/basecite/apis/basecite-stable-ai-context-api.md) · [All operations](https://skmtc.dev/basecite/apis/basecite-stable-ai-context-api/llms.txt) · [OpenAPI document](https://skmtc.dev/basecite/apis/basecite-stable-ai-context-api/revisions/2a269a68ba07?raw)
