API Reference

Complete documentation for the AstraSync API

Live

Interactive API Documentation

Explore our API with live testing via Swagger UI at https://astrasync.ai/api/docs. Below is a quick reference of available endpoints.

Authentication

POST /api/v1/auth/register
POST /api/v1/auth/login
GET /api/v1/auth/me

Agent Management

POST /api/v1/agents/register
GET /api/v1/agents/id
PUT /api/v1/agents/id

Verification

GET /api/v1/verify/agentId
POST /api/v1/verify/batch
GET /api/v1/verify/history

Agent Verification (Handshake)

Verify agent access with PDLSS checks, runtime challenges, and session tracking.

POST /api/v1/agents/verify-access
POST /api/v1/agents/verify-access/{sessionId}/decision

Trust Scoring

GET /api/v1/trust/agentId
GET /api/v1/trust/history/agentId
POST /api/v1/trust/calculate

Base URL

https://astrasync.ai

All API endpoints require authentication via Bearer token in the Authorization header.