Markprompt API
The Markprompt API is a REST API exposed at the following base URL:
Only HTTPS requests are accepted, request bodies must be JSON-encoded and ouput responses are JSON-encoded.
Authentication
Authentication is handled via an Authorization header:
You can obtain your bearer token in the project settings.
Versioning
When a backwards-incompatible change is introducted to the API, the new version is dated with the date of the release. All API requests must carry the specific API version date via a X-Markprompt-API-Version
header:
The current version of the API is 2024-05-21
.
Rate limits
With the exception of the chat endpoint, API routes are subject to a limit of 100 requests per minute per project.