Skip to main content
Neural Defend

NeuroVerify API Authentication

Every NeuroVerify API request requires an API key in the x-api-key header. Neural Defend issues keys after onboarding. Keep keys in a secret manager or server-side environment, use the credential for the intended production or staging origin, and never place a long-lived production key in browser JavaScript, source maps, prompts, tool arguments, or committed configuration. A 401 means the key is missing, empty, or invalid; a 403 means a valid key lacks access to the requested endpoint.

Maintained byNeural Defend
Updated August 7, 2026
Siva Shankar, Co-founder and CTO of Neural Defend.
Siva ShankarCo-founder & CTO
An article-specific diagram for NeuroVerify API Authentication organizes key sections including obtain and store the key, send the key only to a trusted origin, handle 401 and 403 separately.

Obtain and store the key

Request a key through Neural Defend onboarding. Existing customers can contact support for staging credentials or endpoint scope questions. Store the key in a managed secret store or a server-side environment variable and make it available only to the process that performs the upload.

The Python, Node.js, and MCP guides use NEURALDEFEND_API_KEY. An explicitly passed SDK key can override the environment value, so make environment selection visible in deployment configuration and tests.

Send the key only to a trusted origin

Direct API requests send x-api-key on every operation. Use the production or staging origin listed in the OpenAPI contract. Official SDKs restrict custom origins unless an explicit opt-in is used and do not follow redirects that could forward credentials or media.

Do not log the header. Redact credentials from client representations, diagnostics, traces, and support bundles. If a key may have been exposed, rotate it through the account process.

An article-specific topic map for NeuroVerify API Authentication organizes key sections including send the key only to a trusted origin, handle 401 and 403 separately, obtain and store the key.

Handle 401 and 403 separately

On HTTP 401, verify that the key is present, current, and intended for the selected environment. Correct the credential before another request. Blind retries repeat the same failure.

On HTTP 403, the key is valid but not authorized for that endpoint or scope. Contact the account owner or Neural Defend support rather than changing request fields or adding retries.

Evidence boundary

Limitations

  • Public documentation does not define key lifetime, rotation cadence, tenant roles, browser token issuance, or endpoint entitlements for a specific account.

Source record

Sources and references

  1. Neural DefendNeuroVerify API security schemeVerified August 7, 2026.
  2. Neural DefendTypeScript SDK browser onboarding and credential safetyVerified August 7, 2026.

Continue with media

Prepare an image request

Confirm the image contract, supported inputs, response envelope, and business-rejection behavior.

Read the image API guide