API Reference

  • API Reference
  • Chat Completions
  • Datablocks
  • Files
  • Status
  • Quick Start
  • Authentication
  • BenchmarksNew
  • Rate Limits
  • Error Codes
  • MCP Server

API Reference

Complete reference documentation for the datablocks API endpoints.

API Endpoints

Chat Completions

Send messages to models and receive AI-generated responses with optional datablock context.

POST/v1/chat/completions
  • Stream responses
  • Datablock integration
  • OpenAI compatible

Datablocks

Train, manage, and run inference with datablocks for efficient long-context processing.

POST/GET/v1/datablocks/*
  • Training
  • Inference
  • List datablocks

Files

Upload, manage, and organize files for datablock training and processing.

POST/GET/v1/files
  • Upload files
  • List files
  • Delete files

Status

Check the health and status of the API service.

GET/v1/status
  • Health check
  • Service status

Getting Started with the API

Learn how to authenticate, make your first API call, and integrate datablocks into your applications.

Quick Start Guide →Authentication →Try in Playground →

Additional Resources

Rate Limits

Understand rate limits and best practices for API usage.

Error Codes

Complete reference for API error codes and how to handle them.

API Key

Enter your API key to populate code examples. Get a key →

Company

  • About Us
  • Consulting Services
  • Blog
  • Careers

Product

  • Documentation
  • API Reference
  • Guides
  • Playground
  • Pricing

Resources

  • Use Cases
  • Customer Stories
  • Examples
  • MCP Server
  • Changelog

Support

  • Contact Us
  • Technical Support
  • Status & Uptime
  • GitHub
datablocks
© 2025 datablocks. All rights reserved.
Privacy PolicyTerms of Service