For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication

Authenticate requests to the ENLYZE API with an API key.

Every request to the ENLYZE API must be authenticated. The API uses API keys, which you pass in the Authorization header using the Bearer scheme.

Create an API key

You manage API keys in the ENLYZE web app. See Manage API keys.

Use an API key

Pass the API key in the Authorization header. The scheme is Bearer, followed by a space and the key:

Authorization: Bearer YOUR_API_KEY

Replace only YOUR_API_KEY with your actual API key. The word Bearer stays unchanged. So Bearer YOUR_API_KEY becomes, for example, Bearer sk_abc123….

Example request:

import requests

response = requests.get(
    "https://app.enlyze.com/api/v2/machines",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)

Failed authentication

If the Authorization header is missing or malformed, or uses a scheme other than Bearer, the API responds with status code 401 Unauthorized. See Errors.

Last updated