Tensorlake Account

You need to have a Tensorlake account to make API requests. You can request access 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.
  • You can create mutliple projects within an organization.
  • 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 API Keys page in the Tensorlake Cloud Dashboard.

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://b5dee680-c07c-4bad-ba00-7bd16d28975d", 
    "mode": "markdown"
}'