/v1/keyskeys.createMint an API key. Plaintext is returned once and never stored — copy it immediately. Subsequent calls only expose the prefix.
{
"name": "ci-prod-key",
"scopes": ["jobs:write", "designs:read"],
"expiresAt": "2027-01-01T00:00:00Z"
}{
"id": "key_01HZ...",
"prefix": "pk_live_8f2a",
"plaintext": "pk_live_8f2a...d09e",
"createdAt": "2026-04-29T18:22:11Z"
}curl -X POST https://api.papercrane.bio/v1/keys \
-H "Authorization: Bearer $PAPERCRANE_SESSION" \
-H "Content-Type: application/json" \
-d '{"name":"ci-prod-key","scopes":["jobs:write"]}'