Search…
Authentication
The Claid API uses API keys via Bearer Auth for API authentication with the following format: Authorization: Bearer {YOUR_API_KEY}.
To get your API key, sign in to your Claid account and click Create API key button from the Overview or API keys pages.
Create API key from the Claid dashboard
Once API key is generated, you can either copy it or download as txt file.
Make sure to save the API key in a safe place, as it has certain privileges and is only visible on the Claid dashboard once, at the time of creation.

API key usage

Authentication to the API is performed via Bearer Authentication:
1
curl --location --request GET '<https://api.claid.ai/v1-beta1/pipeline/{pipeline_id}>' \\
2
--header 'Authorization: Bearer {YOUR_API_KEY}'
Copied!

Permission scopes

Each API key can have permissions to perform Storage, Image editing or both operations with Admin permission scope.
Scopes can be assigned to API key from the Claid dashboard at the creation time or later, via API keysEdit key page.
It’s always better to create API keys with minimal permissions scopes necessary for your use case.
Copy link
Edit on GitHub