Get started in three steps
1) Get an API token
Generate a Personal Access Token in the SageXAI dashboard. Copy the token value — you’ll use it in theAuthorization header:
2) Send your first scan to /api/v1/guard
3) Interpret the response
A successful response looks like:flagged— if true, at least one policy triggered.payload— list of matches with spans, labels, and which message they came from.