Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Tolstoy AI Tools API
version: 1.0.0
description: 'The Tolstoy developer API — programmatic access to the AI commerce platform
(AI Studio, AI Player, AI Sales Agent) for developers and AI agents.
Every endpoint requires an authenticated workspace token. Authenticate with
OAuth 2.0 (authorization server https://apilb.gotolstoy.com/mcp/v1, scope
`workspace`), or create a Tolstoy API key in your workspace and exchange it for
an access token at POST /account-service/authenticateCliApiKey with the
`X-CLI-API-Key` header. Send the token as `Authorization: Bearer ` and
include your workspace `appKey` in the request body.
This surface mirrors the official CLI (`@tolstoy-ai/cli` on npm) and the Tolstoy
MCP server (https://apilb.gotolstoy.com/mcp/v1/mcp). Full docs:
https://developers.gotolstoy.com'
contact:
name: Tolstoy Developer Hub
url: https://developers.gotolstoy.com
servers:
- url: https://api.gotolstoy.com
description: Production (Lambda APIs)
- url: https://apilb.gotolstoy.com
description: Production (load-balancer APIs)
security:
- oauth2:
- workspace
- bearerAuth: []
tags:
# --- truncated at 32 KB (92 KB total) ---
# Full source: https://artifacts.apis.io/gotolstoy-com/openapi/gotolstoy-com-ai-tools-api-openapi.yml