API Documentation
Complete reference for the PlatPhorm Keys API. Keys issued here are future PLATPHORM_API_KEY values for protected PlatPhormNews actions.
Authentication
Protected endpoints accept the shared PlatPhorm platform key. Public-safe provisioning remains bounded and rate-limited.
Authorization: Bearer $PLATPHORM_API_KEYor
X-PlatPhorm-API-Key: $PLATPHORM_API_KEYEndpoints
POST
/api/v1/keys/provisionPublicSelf-service key provisioning (no auth required)
GET
/api/v1/keysAuth RequiredList all API keys
POST
/api/v1/keysAuth RequiredCreate a new API key
GET
/api/v1/keys/{id}Auth RequiredGet API key details
DELETE
/api/v1/keys/{id}Auth RequiredRevoke an API key
GET
/api/v1/healthPublicSystem health check
GET
/api/v1/telemetryPublicPublic-safe telemetry summary; sensitive spans require PLATPHORM_API_KEY
GET
/api/docsPublicOpenAPI 3.0 specification (JSON)
Quick Start
Provision a new API key
Public-safe first-key creation is bounded to 5/hour and generated secrets are shown once
curl -X POST https://keys.platphormnews.com/api/v1/keys/provision \
-H "Content-Type: application/json" \
-d '{"name": "My First Key", "scopes": ["read"]}'Response Headers
All API responses include OpenTelemetry headers for observability:
X-Request-IdUnique request identifierX-Trace-IdOpenTelemetry trace IDX-Client-UUIDYour client identifierX-FingerprintDevice fingerprint