Lentiq API
Lentiq exposes an OpenAPI v3 (OAS 3) compatible API.
- REST API Specification
- Python Client API documentation (autogenerated)
- OpenAPI Specification json (Swagger file)
Note: Due to our use of polymorphism which has only recently been added in the OAS 3 specs, some SDK client generators might not work out of the box or example generators might not properly suggest working examples. Check the generated documentation and use appropriate classes such as
SparkConfiguration
instead ofApplicationConfiguration
for the call to theapplication-public-api-controller
create operation.
Authentication
All calls to the API require an API key to be submitted to our API as a HTTP header called Authorization. The value of that header must be prefixed with the word 'APIKEY ':
Authorization: APIKEY <api-key-text>
To get your API key use the API Credentials link in the Lentiq UI:
REST API call example
To get you started, an example call for a function, without any client:
curl -H "Authorization: APIKEY <use_your_own>" https://api.lentiq.com/api/v1/applications/demo/my-project/server