Dashboard › cli › @sentry/api response types
01a08c08-7428-71c6-8f5b-087c1f733370Always import API response types directly from @sentry/api when available. Duplicating them as local Zod schemas looks safer but creates a second API authority that drifts; for genuinely untyped runtime boundaries, define the Zod schema beside its type in src/types/*.ts, re-export it through src/types/index.ts, and use type-only imports where appropriate.