Markprompt API

The Markprompt API is a REST API exposed at the following base URL:

1https://api.markprompt.com

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:

1Authorization: Bearer <TOKEN>

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:

1X-Markprompt-API-Version: 2024-05-21

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.