クイックスタート
数分でAPIを始める
SDKをインストールして最初のAPI呼び出しを行います
- 使用する言語のSDKをインストール
- ダッシュボードからAPIトークンを取得
- 最初の匿名化リクエストを行う
- アプリケーションに統合
// Analyze text for PII
const response = await fetch('https://anonym.legal/api/presidio/analyze', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
text: 'Contact John Smith at john.smith@company.com',
language: 'en'
})
});
const results = await response.json();
// Returns detected entities with positions and confidence scores利用可能なエンドポイント
POST
/api/presidio/analyzeAnalyze text to detect PII entities. Returns entity types, positions, and confidence scores.
View documentation →POST
/api/presidio/anonymizeAnonymize detected PII using your chosen method. Returns anonymized text.
View documentation →POST
/api/presidio/batchProcess multiple documents in a single request. Enterprise plans support up to 100 documents.
View documentation →GET
/api/healthCheck API status and service health. No authentication required.
Public endpointAPI機能
JWT認証
すべてのAPI呼び出しに対する安全なトークンベースの認証
レート制限
明確なヘッダーによる公正なレート制限。エンタープライズ向けの高い制限
コード例
複数のプログラミング言語で使用可能な例