Convex Server SDK

The Convex Server SDK (convex/server) is the TypeScript library for defining backend logic deployed on Convex. It provides primitives for writing query functions for read-only database access, mutation functions for transactional writes, and action functions for general-purpose server-side operations including calling external services. The SDK supports schema definition, full-text search indexes, vector search indexes, file storage, scheduled functions, cron jobs, and HTTP routing via the HttpRouter class.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/server-sdk"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
aid: convex:server-sdk
name: Convex Server SDK
tags:
- Backend
- Database
- Serverless Functions
- TypeScript
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
humanURL: https://docs.convex.dev/functions
properties:
- url: https://docs.convex.dev/functions
  type: Documentation
- url: https://docs.convex.dev/database/schemas
  type: Documentation
description: The Convex Server SDK (convex/server) is the TypeScript library for defining backend logic
  deployed on Convex. It provides primitives for writing query functions for read-only database access,
  mutation functions for transactional writes, and action functions for general-purpose server-side operations
  including calling external services. The SDK supports schema definition, full-text search indexes, vector
  search indexes, file storage, scheduled functions, cron jobs, and HTTP routing via the HttpRouter class.
x-features:
- query, mutation, and action function primitives
- defineSchema and defineTable for typed database modeling
- Full-text and vector search indexes
- Cron jobs and scheduled function execution
- HttpRouter for custom HTTP endpoints
- File storage with signed URL generation
x-useCases:
- Authoring Convex backend functions in TypeScript
- Modeling reactive database schemas with type safety
- Implementing AI workflows with vector search
- Scheduling recurring background work with cron jobs
- Building HTTP webhook handlers inside Convex deployments