This guide will help you get started with the Kognitos REST API.
Overview
The Kognitos REST API enables you to integrate with our platform programmatically.
API Information
- Title: Kognitos REST API
- Version: 1.0.0
- License: Apache License 2.0
Base URLs
Our API is available in two regions: the United States (US) and Europe (EU). Depending on where your data is hosted or which region you want to target, you will use one of the following base URLs:
US Region: https://rest-api.app.kognitos.com
EU Region: https://rest-api.eu.kognitos.com
Authentication
An API key is required for access. To obtain an API key, refer to our API Keys guide.
Request Headers
The API key should be included in the request headers as follows:
x-api-key="the api key given to you by Kognitos"
Example Requests
Start a New Automation Run
curl -X POST "<https://rest-api.app.kognitos.com/v1/invoke/{share_id}>" -H "x-api-key: your_api_key" -H "Content-Type: application/json" -d '{"body": {"parameter1": "value1"}}'
Get Status of an Automation Run
curl -X GET "<https://rest-api.app.kognitos.com/v1/run/{worker_id}>" -H "x-api-key: your_api_key"