Skip to Content
Welcome to 10ex Docs — explore Tutorials, Guides, Reference, Concepts, Use Cases, and the Agent Store.
Reference

SDKs

TypeScript (planned)

@10ex/sdk will be generated from the OpenAPI spec via openapi-typescript plus openapi-fetch. It’s tracked as tech debt #16 in 10ex_fastapi/TECH_DEBTS.md.

Until then, use any HTTP client with the live OpenAPI spec at https://api.10ex.ai/openapi.json. If you generate types yourself, lock the spec version in CI so a backend change doesn’t silently break you.

Python

There’s no official Python SDK. The recommended approach is one of:

  • Use httpx directly against the OpenAPI spec
  • Generate a typed client with openapi-python-client
  • Call the MCP server via the official mcp Python SDK if you’re building an LLM agent

How to pick between REST and MCP from a script

If you’re writing deterministic glue code (a cron job, an ETL step, a webhook handler), use REST. If you’re writing something that should reason or pick the next tool, drive 10ex via MCP. The two surfaces wrap the same underlying state.

What changes when an official SDK ships

Behavior won’t change. Auth, paths, and payloads stay the same. The SDK adds typed request/response models, a configured base URL, automatic retries on 429 and 5xx, and helpers for cursor pagination.

Last updated on