Deepomatic API v0.7
Search…
⌃K

Authentication

To access the API, you will need an API-KEY. Please contact your account manager to retrieve your credentials. Make sure you use the adequate credentials.
The Read key gives access to endpoints finishing by /inference. The Admin gives access to all API endpoints.
Authentication is done via HTTP headers.
To check your credentials work, you can run:
cURL
Python
curl -s https://api.deepomatic.com/v0.7/accounts/me -H "X-API-KEY: ${DEEPOMATIC_API_KEY}"
import os
from deepomatic.api.client import Client
client = Client(api_key=os.getenv('DEEPOMATIC_API_KEY'))
print(client.Account.retrieve('me'))