Skip to Content
Upblit
AboutOpen SourceCommunityDeveloperContactPricing
Star on GitHub—Sign in
CTRL K
  • Introduction
    • AI Gateway Overview
    • Documents
    • Tenants
    • API Reference Overview
    • AI Gateway API
    • API Keys API
    • Applications API
    • Authentication
    • Ingest API (SDK)
    • Organizations API
    • Projects API
    • Telemetry API
    • Users API
    • Architecture Overview
    • Database Architecture
    • Multi-Tenancy
    • Security Model
    • Service Boundaries
    • Telemetry Pipeline
  • DeployX CLI
    • Contributing
    • Architecture Rules
    • Coding Guidelines
    • SDK Development
    • Dashboard Overview
    • AI Gateway
    • API Keys
    • Applications
    • Observability
    • Organizations
    • Profile
    • Projects
    • Quickstart
    • Authentication
    • Your First Project
    • Installation
    • Observability Overview
    • Structured Logs
    • Telemetry Flow
    • Distributed Traces
    • SDK Overview
    • Express SDK
    • Go SDK
    • Java SDK (Coming Soon)
    • Python SDK
    • React SDK (Coming Soon)
  • Introduction
    • AI Gateway Overview
    • Documents
    • Tenants
    • API Reference Overview
    • AI Gateway API
    • API Keys API
    • Applications API
    • Authentication
    • Ingest API (SDK)
    • Organizations API
    • Projects API
    • Telemetry API
    • Users API
    • Architecture Overview
    • Database Architecture
    • Multi-Tenancy
    • Security Model
    • Service Boundaries
    • Telemetry Pipeline
  • DeployX CLI
    • Contributing
    • Architecture Rules
    • Coding Guidelines
    • SDK Development
    • Dashboard Overview
    • AI Gateway
    • API Keys
    • Applications
    • Observability
    • Organizations
    • Profile
    • Projects
    • Quickstart
    • Authentication
    • Your First Project
    • Installation
    • Observability Overview
    • Structured Logs
    • Telemetry Flow
    • Distributed Traces
    • SDK Overview
    • Express SDK
    • Go SDK
    • Java SDK (Coming Soon)
    • Python SDK
    • React SDK (Coming Soon)

On This Page

  • Create Tenant
  • Upload Document
  • Planned Endpoints
APIAI Gateway API

AI Gateway API

Create Tenant

Creates a new AI tenant scoped to an organization.

POST /ai/tenant Authorization: Bearer {jwt} Content-Type: application/json { "name": "Product Docs", "organizationId": 1 }

Request Body:

FieldRequiredDescription
nameYesTenant name
organizationIdYesOrganization this tenant belongs to

Response: 200 OK

{ "id": "64f1a2b3c4d5e6f7a8b9c0d3", "name": "Product Docs", "organizationId": 1 }

Upload Document

Uploads a document to an AI tenant.

POST /ai/docs?TenantId={tenantId} Authorization: Bearer {jwt} Content-Type: multipart/form-data file: <your-document>

Query Parameters:

ParameterRequiredDescription
TenantIdYesThe tenant ID to upload to

Response: 200 OK

Notes:

  • Maximum file size: 10 MB
  • Files are stored in Supabase object storage
  • Supported formats: PDF, DOCX, TXT, MD, and other text-based formats

Planned Endpoints

EndpointDescriptionStatus
GET /ai/tenant?organizationId={id}List tenants for an orgPlanned
GET /ai/docs?TenantId={id}List documents for a tenantPlanned
DELETE /ai/docs/{docId}Delete a documentPlanned
Last updated on May 27, 2026
API Reference OverviewAPI Keys API
Upblit

A student-built observability workbench for logs, traces, metrics, API keys, and AI-assisted incident notes.

OAuthAPI scopesTrace contextRetention notes

Product

  • Architecture
  • Dashboard preview
  • AI docs
  • Security
  • Pricing

Developers

  • Developer docs
  • API reference
  • Changelog
  • GitHub
  • Status

Company

  • Support
  • Contact
  • Docs
  • Dashboard
  • Sign in

Legal

  • Privacy Policy
  • Terms
  • Cookie Policy
  • Acceptable Use
  • Data Retention
  • Data Processing

Copyright 2026 Upblit. All rights reserved.

Built for telemetry review, API operations, and incident response.