Skip to main content

Official SDK

The Centure Node.js SDK provides type-safe TypeScript support with built-in request/response validation.
npm install @centure/node-sdk
Use the official Node.js SDK for TypeScript and JavaScript projects to get automatic type inference and validation.

Generate Your Own Client

The Centure API follows the OpenAPI 3.0 specification. Generate a client in any language using the OpenAPI spec:
https://api.centure.ai/openapi.json

Common Generators

  • Node.js/TypeScript
  • Python
  • Go
  • Java/Kotlin
  • Ruby
  • PHP
  • C#
  • Rust
openapi-typescript-codegen
npx openapi-typescript-codegen --input https://api.centure.ai/openapi.json --output ./src/centure-client
openapi-generator-cli
npx @openapitools/openapi-generator-cli generate \
  -i https://api.centure.ai/openapi.json \
  -g typescript-fetch \
  -o ./src/centure-client

Generator Documentation

Authentication

All generated clients require Bearer token authentication. Configure your client with your API key from the Centure Dashboard.
API keys have project-level permissions. Store them in environment variables and never commit them to version control.