DEVELOPERS
Build on the Wordsmith platform. API docs, SDKs, and developer resources.
Read the docsAPI OVERVIEW
Wordsmith is a legal AI assistant designed to automate repetitive tasks for lawyers — document summarization, legal document review, research and analysis, and question answering with legal context. The Public API exposes those same capabilities through a simple REST interface so you can ask questions, upload and process documents, retrieve user and account information, and integrate Wordsmith's assistant into your existing workflows.
Connect any MCP-compatible client to the Wordsmith legal AI platform.
Quickstart
Authenticate, ask your first question, and upload a document in three curl calls. Covers sync vs async execution modes and common error codes.
Authentication
Bearer-token authentication using API keys generated from your Wordsmith dashboard. Keys are prefixed with sk-ws-api1-.
API reference
Assistants, files, playbooks, templates, and user endpoints — every parameter, response shape, and status code. Fully OpenAPI-backed.
Webhooks
Register callback URLs on async questions to receive completion notifications via HTTP POST instead of polling for results.
SDKs and libraries
No official SDKs yet — the API works with any HTTP client in Python (requests, httpx), Node.js (fetch, axios), PHP, Ruby, or Java.
Full documentation
Introduction, errors reference, rate limits, and every endpoint live in the Mintlify-hosted docs site.
Everything an AI agent needs to discover and call the Wordsmith API, published at predictable URLs.
https://www.wordsmith.ai/openapi.json
OpenAPI 3.1 description of all 31 endpoints, with typed parameters, response schemas and a unique operation ID for every operation.
https://www.wordsmith.ai/.well-known/agent-instructions.md
When to reach for Wordsmith, when not to, and the exact call sequence — authentication, discovery, questions, documents and tasks.
https://www.wordsmith.ai/llms.txt
Site index for LLM crawlers: entity, audience, capabilities and every curated URL on wordsmith.ai.
BOOK A DEMO
See how the world's leading legal teams are building the future of in-house legal.