Admin API
Authentication
Use Bearer Authentication scheme
The Admin API uses secret API keys for authentication. All API requests must contain an Authorization
header,
containing your secret key in the format specified by the Bearer Authentication
scheme:
You can create and delete secret keys in Project
Settings. Secret keys are strings
that start with sk_
.
Never expose your project’s secret keys in the frontend (e.g. browser or mobile apps). You should store your secret keys securely in your environment secrets and never commit them to version control.
Headers
A string containing your secret key in the following format: Bearer <PROFICIENT_SECRET_KEY>
Here is an example cURL request that deactivates an agent: