> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useorgx.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing safely

> Use a dedicated OrgX workspace and key for development, CI, and integration review.

Create a workspace used only for development and automated checks. Its API key
uses the production API contract while keeping test work separate from your
operating workspace.

1. Create or select a test workspace.
2. Create a named API key in Settings.
3. Store it as `ORGX_API_KEY` in your secret manager.
4. Use deterministic `Idempotency-Key` values for retry tests.
5. Revoke the key when the integration is retired.

```bash theme={"dark"}
curl https://useorgx.com/api/v1/work \
  -X POST \
  -H "Authorization: Bearer $ORGX_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: ci-create-work-001' \
  -d '{"title":"Verify the staging integration"}'
```

Use account-free receipt validation for conformance checks that should not
write workspace state. Never place a workspace key in a public review form,
browser bundle, test snapshot, or CI log.
