API
The same product, from your own backend.
The product API runs the same assistants, tasks and triggers the interface shows, from your own backend. Ask a question and stream the answer, run a task with its form, and read the run afterwards. Your backend calls it directly, and every call lands in the same record.
1
a scoped machine token, no second login
Streamed
the same events the chat screen reads
Retry-safe
your own request identifier, reused on every retry
Audited
key, route and actor on every call
Start from code
Three lines to your first run.
The SDK is generated from the same OpenAPI document the API publishes, so it can't describe an endpoint that doesn't exist. There are two clients, TypeScript and Python, and neither has dependencies of its own.
- Sign in and open Settings → API tokens.
- Create a token with the scopes you need and copy it once.
- Set
LYNXBY_TOKENandLYNXBY_BASE_URLon your server, then pick an id fromGET /api/v1/tasks.
With an Idempotency-Key, a repeated request returns the first answer instead of starting a second turn. A 429 is retried with jitter and then surfaces as a typed error, and breaking out of a stream closes the request.
Install instructions, client reference and examples: github.com/LynxbyAI/lynxby-sdk.
Copy failed. Select the code and copy it manually.
import { Lynxby } from '@lynxby/sdk'
const lynx = new Lynxby()
const run = await lynx.tasks.run(8, { text: 'A long letter.' })
console.log(run.answer)
The surface
Your systems can do what the interface does.
The API exposes the resources a machine integration needs and nothing more. Every call goes through the permission model.
Sessions and messages
Tasks and runs
Triggers, approvals, budgets and usage
Lists use a cursor and a hard page-size cap. Creating calls need an idempotency key. Every error carries a machine code, a human message and the request id, and every authenticated call is written to the record.
MCP
The agent you already use can query your knowledge.
Your organisation also answers the Model Context Protocol at POST /mcp. Claude Code, Claude Desktop, Copilot, OpenCode or Codex can query your knowledge without any glue code.
One endpoint
https://lynxby.com/mcp. One message per request, bearer token or OAuth. The endpoint is stateless, so a redeploy does not break a client.You choose the tools
tools/list describes. The default is ask_lynxby; switch on search, document reads or read-only connector actions on Settings → MCP exposure.The same record
Tool calls only
Setup for each client: MCP guide.
One product
The API is part of the same product.
The token is the platform's existing machine credential. It uses the same permissions, separation and record as a person's session.
A scoped token
Your organisation only
Every call recorded
A generated contract
Machine identities
Give each integration its own account.
A service account is a user row with groups like anyone else and its own credentials. It can't open the interface, and your team can see it, audit it and switch it off.
Its own identity
Groups decide what it may do
Least privilege, enforced
Nothing breaks by surprise
Put one workflow on the API.
Tell us about the integration you want to build. We'll create a scoped token, run it against your own assistant or task, and show you the stream and the record entry. Which workflow would you start with?