LookAI API
Detect AI-generated text with one request. Send a text or a file and get a score, a verdict and a score for every paragraph and sentence.
Quickstart
Make your first request in a few minutes.
API reference
Every endpoint, parameter and response field.
Base URL
All endpoints are served from https://textguard-web-production-vqffnu.laravel.cloud/v1. Requests and responses are JSON in UTF-8.
Authentication
Send your API key as a bearer token in the Authorization header. A missing, wrong or revoked key gets a 401. You create and revoke keys in the dashboard.
To check that your key works, fetch your usage:
curl https://textguard-web-production-vqffnu.laravel.cloud/v1/usage \ -H "Authorization: Bearer $LOOKAI_KEY"
A key is shown once, when you create it. Keep it on your server, never in a browser or a mobile app.
Endpoints
| Method | Path | What it does |
|---|---|---|
POST | /analyze | Detect AI in a text or a file. |
GET | /usage | This month's usage and the bill so far. |