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: Morse Responses API
version: '1'
description: 'The Morse API serves chat models through an OpenAI-compatible interface. Each request pays with your Morse account''s credits.
Send an API key from the Morse app with every request, in the Authorization header as Bearer sk_morse_..., to https://inference.trymorse.ai, the inference door, where TLS ends inside the enclave. https://api.trymorse.ai serves the Morse app and refuses any key with 403 use_inference_door, or with 404 wrong_host at a path it does not serve; both name the door''s base URL. A key acts for its account and always pays with credits, never with a plan''s included use. One credit is $0.01. GET /v1/models lists prices in micro-dollars, 10,000 to the credit. Keep keys on your server. Browsers on other sites cannot call the API.
All of an account''s keys and its owner''s use of the Morse app share one budget of requests per minute and one limit on requests in flight. The account''s plan sets both. A request refused for either limit carries Retry-After, the number of seconds to wait. A retried POST is a new request, and the API charges it again.
An error reply is JSON in the Error shape, with a stable code. A path the API does not serve returns 404 as plain text, and a wrong method returns 405 as plain text.'
servers:
- url: https://inference.trymorse.ai
security:
- apiKey: []
tags:
# --- truncated at 32 KB (35 KB total) ---
# Full source: https://artifacts.apis.io/trymorse-ai/openapi/trymorse-ai-responses-api-openapi.yml