Get StartedGuidesSoonAPI ReferenceSoonRelease NotesSoon
Getting Started

Installation

Install the Restrct SDK for your language of choice, or call the API directly with cURL.

Node.js

Requires Node.js 18 or later.

Terminal
$ npm install @restrct/sdk
$ export RESTRCT_API_KEY="sk_live_..."

Python

Requires Python 3.10 or later.

Terminal
$ pip install restrct
$ export RESTRCT_API_KEY="sk_live_..."

cURL

No SDK? Call the REST API directly.

Bash
$ curl https://api.restrct.dev/v1/memory \
  -H "Authorization: Bearer $RESTRCT_API_KEY" \
  -d '{"text": "Remembers user preferences"}'