Rawback Core SDK

Build agents on your library,
with typed tools.

Add Rawback authentication and typed photo-library operations to an approved Node.js agent, service, or application with the same core package used by Rawback clients.

TypeScript
import { createRawbackSdk } from '@rawback/sdk'

const rawback = await createRawbackSdk({
  identity: {
    source: 'studio-workflow',
    version: '1.0.0',
    userAgent: 'studio-workflow/1.0.0',
  },
})

const library = await rawback.services.photos.library({
  pagination: { page: 1, pageSize: 40 },
})

Typed domain services

Work with photos, albums, articles, dreams, shares, usage, pricing, and account data through generated TypeScript contracts.

Authentication included

Use browser-approved device sessions, persisted credentials, and automatic token refresh without rebuilding the session layer.

Agent foundations

Bring the SDK into trusted Node.js services, photo agents, desktop clients, and command-line tools while keeping the interface yours.

Controlled integration

Identify every client, keep credentials outside the browser, and coordinate production access with Rawback before shipping.

Approval required

Coordinate access before shipping.

The npm package is publicly downloadable but remains UNLICENSED. Third-party use and production deployment require written Rawback approval. The guide documents the integration contract so your team can evaluate the fit.

Request SDK access

Developer documentation

Integrate the client safely.

Follow the full path from package installation and device sign-in through typed services, lower-level clients, error handling, and production security.

Open the guide