APIs
Get started

APIs

ℹ️

The APIs are still in beta and are subject to change.
New API endpoints and features will be added over time.

Get started

Create an API key

From your Aidbase account, click Settings and navigate to to API Keys.
Then click Create new API Key.

Create key

Give permissions and store your key

Give your key a name and select the permissions you want to grant.
Finally, click the Copy button to copy your API key.

Store the key somewhere safe.
Once you navigate away from this page, you will not be able to see it again.

Store key

Make a test request

Finally, make a test request to the API using your new key.

curl --request GET \
 --url https://api.aidbase.ai/v1/status \
 --header 'accept: application/json' \
 --header 'Authorization: Bearer [YOUR_API_KEY]'

If everything is set up correctly, you should receive the following response:

{
  "success": true,
  "data": {
    "status": "ok",
    "token": "absk-........a3d0"
  }
}

Aidbase Docs © 2024