Rawback
HomeAISpotsPricing
Log inSign up
Desktop ClientiOS AppCLICore SDKMCP
Rawback

The agentic AI platform for photographers — keep every RAW, understand every frame, and work from the app, CLI, or Core SDK.

Product

  • Pricing
  • Rawley
  • Desktop Client
  • iOS App
  • CLI
  • Core SDK
  • MCP Connector
  • Changelog

Guides

  • Camera FTP
  • Camera Setup Guide
  • CLI Guide
  • SDK Guide

Legal

  • Privacy Policy
  • Terms of Service
  • AI processing and data-sharing terms
  • Brand Assets

© 2026 Rawback. All rights reserved.

API v0.0.112v0.0.120Powered byEvonia.ai
Rawback
HomeAISpotsPricing
Log inSign up

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.

Read the integration guideView on npmChangelog

Node.js 26 or newer, or Bun·ES modules·server-side only

pnpmnpm package
$pnpm add @rawback/sdk

After Rawback approves the integration. The package has a single ESM entry point and ships its generated GraphQL types and documents.

# check the published version

$pnpm view @rawback/sdk version

0.3.6

Upgrading?Review the version and metadata on npm

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

Quick start

Three calls to your library

Each operation is typed from Rawback’s published GraphQL documents, so the variables and the result are checked at compile time.

  1. 01

    Create a client

    const rawback = await createRawbackSdk({ identity })

    Name your integration with a stable source, version and user agent. By default the SDK reads ~/.rawback/credentials.json.

  2. 02

    Sign in through the browser

    await loginSdk.auth.createDeviceSession()

    From an SDK created with credentials: null, open the approval link for the person signing in and poll no faster than the interval Rawback returns. Their password never reaches your code.

  3. 03

    Read the library

    await rawback.services.photos.library({ pagination })

What it does

The core Rawback clients use,
ready for your agent.

  • 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.

Integration

A contract you can build on

{ data, error }
Every service call returns both; check the error before using partial data.
identity
A stable source, version and user agent identifies your integration on every request.
AbortSignal
Cancel device sign-in, GraphQL and HTTP work with your own request or job lifecycle.
ESM only
One import entry point for Node.js 26 or Bun; CommonJS is not published.
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 },
})

Keep going

DocumentationIntegration guideInstallation, device sign-in, typed services, lower-level clients, errors and production security.Release notesChangelogLatest v0.3.6 · October 17, 2026Package@rawback/sdkThe published package, its versions and its TypeScript declarations on npm.

Every service returns { data, error }. Keep pagination explicit and bounded, and inspect the error first.

Controlled integration

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