Tensorlake Account

You need to have a Tensorlake Cloud account to make API requests. You can create an account here.

  • The security model of Tensorlake Cloud is based on Organizations, Projects and API Keys.
  • We create an organization for you when you create an account.
  • A default project is created for you when you create an account.
  • API Keys are used to authenticate your requests. This allows isolating your data or resource usage for different projects across security boundaries.
We are working on the ability to create multiple organizations with fine-grained access control. SSO is also coming soon.

Creating API Keys

API keys are used to authenticate your requests. You can create an API key from the Tensorlake Cloud Dashboard.

  1. Select the project for the API key to be attached to.
  2. Create an API key, we recommend giving it a name.

Every tensorlake API key starts with tl_apiKey_*.

Making Requests

Every API request needs to include the API Key in the header as a Bearer Token.

For example, to make a request to the Document Parsing API, you would use the following curl command:

curl -X POST https://api.tensorlake.ai/documents/v1/parse \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
    "file": "tensorlake-ID", 
    "outputMode": "markdown"
}'