Skip to main content
Use the official client libraries to interact with the Orq.ai API.

Github

Our SDKs are available on Github:

Node.js

Python

Installation

# The SDK can be installed with either pip or poetry package managers.
# PIP

pip install orq-ai-sdk

# Poetry

poetry add orq-ai-sdk

Usage

To get your workspace API Keys, see API Keys.
Initialize the Orq.ai client with an API key:
import os

from orq_ai_sdk import Orq

client = Orq(
    api_key=os.environ.get("ORQ_API_KEY", "__API_KEY__"),
)

Platform

Agents

Agents Responses

Annotations

API Keys

Chunking

Datasets

Deployments

Evals

Feedback

Files

Guardrail Rules

Human Review Sets

Identities

Knowledge

Memory Stores

Models

PII

Policies

Projects

Prompts

Reporting

Responses

Routing Rules

Schedules

Skills

Tools

Router / Gateway

Router

Chat Completions

Completions

Embeddings

Audio: Speech

Audio: Transcriptions

Audio: Translations

Images: Generations

Images: Edits

Images: Variations

Moderations

Rerank