Skip to main content
This endpoint accepts a backend SDK key via the X-OTAS-SDK-KEY header and, if valid, returns the associated project details. It is called by the Brain service to authorize incoming agent event requests, but you can also use it directly to confirm that a key is active, unexpired, and correctly formed before deploying it to a production environment.
This endpoint does not require a user JWT. It authenticates solely via the X-OTAS-SDK-KEY header. No request body is needed.

Request

Method: POST
URL: http://localhost:8000/api/project/v1/sdk/backend/key/authenticate/
Authentication: X-OTAS-SDK-KEY header

Headers

string
required
Full backend SDK key in the format otas_<prefix>_<secret>, as returned by the key-creation endpoint.

Response

integer
required
1 on success, 0 on failure.
string
required
authenticated on success.
object

Example

Error responses