Getting Started
Quick Start

Quick Start

Get started with GlyphNet in under 5 minutes.

1. Get Your API Key

Sign up at glyphnet.io (opens in a new tab) and subscribe to a plan. You'll receive your API key via email.

Your API key looks like: gn_live_a1b2c3d4e5f6...

Keep your API key secure! Never expose it in client-side code or public repositories.

2. Make Your First Request

Using cURL

curl -X POST https://api.glyphnet.io/v1/verify \
  -H "X-API-Key: gn_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"text": "The Earth orbits the Sun."}'

Using Python

import requests
 
response = requests.post(
    "https://api.glyphnet.io/v1/verify",
    headers={
        "X-API-Key": "gn_live_your_key_here",
        "Content-Type": "application/json"
    },
    json={
        "text": "The Earth orbits the Sun."
    }
)
 
print(response.json())

Using JavaScript

const response = await fetch('https://api.glyphnet.io/v1/verify', {
  method: 'POST',
  headers: {
    'X-API-Key': 'gn_live_your_key_here',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    text: 'The Earth orbits the Sun.'
  })
});
 
const data = await response.json();
console.log(data);

3. Understand the Response

{
  "request_id": "req_abc123def456",
  "mode": "flagging",
  "claims": [
    {
      "text": "The Earth orbits the Sun",
      "verified": true,
      "confidence": 1.0,
      "source": "astronomy",
      "path": ["earth", "orbits", "sun"],
      "evidence": "Earth is the third planet orbiting the Sun"
    }
  ],
  "summary": {
    "total_claims": 1,
    "verified": 1,
    "unverified": 0,
    "avg_confidence": 1.0
  },
  "flagged": false,
  "blocked": false,
  "processing_time_ms": 45
}

Key Fields

FieldDescription
claimsArray of extracted claims with verification status
verifiedtrue if the claim matches the knowledge graph
confidenceScore from 0.0 to 1.0 indicating certainty
flaggedtrue if any claim couldn't be verified
blockedtrue if using blocking mode and verification failed

4. Next Steps