Unays LLC logoUNAYS DEVELOPERS
Platform status

Unays platform

Build reliable services on Unays.

Connect approved AI, curriculum, identity, webhook-registration, and UnaysNET workflows through one versioned interface. Public documentation describes the contract; credentials and customer data remain private.

Read quickstart

Quickstart

Create a named key from your Unays account, store it on your server, and send it in an authorization header. Never expose keys in browser source, application bundles, screenshots, or public repositories.

cURL
curl https://unays.net/ai/api/v1/platforms \
  -H "Authorization: Bearer $UNAYS_API_KEY" \
  -H "Accept: application/json"

AI API

Submit one moderated prompt and receive a structured answer. Supported modes are general, educational, research, coder, and business.

POST
/ai/api/v1/ai/chat
Generate a response
JSON body
{
  "prompt": "Explain this idea clearly.",
  "mode": "general"
}

Education API

Read the published curriculum structure through an authenticated server request.

GET
/ai/api/v1/education/catalog
Classes, subjects, terms, and unit totals

Authentication API

A developer key can verify a separate first-party Unays user session without receiving the user's password.

POST
/ai/api/v1/auth/verify
Validate X-Unays-User-Token

Session tokens are private credentials. Send them only between first-party services over HTTPS.

UnaysNET API

UnaysNET uses developer keys to authorize local monitoring agents. Remote server-side scanning and subnet discovery are disabled.

POST
/ai/api/v1/iot/authorize
Authorize a developer key for an agent
GET
https://iot.unays.net/api/health
Public service health

Authentication and API keys

Sign in with your Unays account to create up to five named keys. A secret is shown only once; the service stores a one-way SHA-256 digest. Revoke keys that are lost, exposed, or no longer used.

Developer key management

Sign in to view or manage your API keys.

Webhook registrations

Register, list, and remove up to five public HTTPS destinations with /ai/api/v1/webhooks. Registration is active. Automatic event delivery and request signing are not yet enabled and will be announced here before use.

EVENT
ai.response.completed
Reserved event name
EVENT
education.progress.updated
Reserved event name
EVENT
iot.alert.created
Reserved event name

Request examples

JavaScript
const response = await fetch('https://unays.net/ai/api/v1/ai/chat', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.UNAYS_API_KEY}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ prompt: 'Hello', mode: 'general' })
});
if (!response.ok) throw new Error(`Unays API ${response.status}`);
const data = await response.json();

Rate limits

All authenticated v1 endpoints currently share a per-key rate window. Responses include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset.

API groupCurrent limitResponse
Authenticated v1 APIs30 requests per minute per key429 until the window resets
/v1/statusPublic health requestCurrent API state

API status

View current health and recent observed availability on the status page.

Open platform status

Changelog

  1. Versioned developer API

    Added key management, AI, curriculum, identity verification, UnaysNET authorization, webhook registration, and public status endpoints.

Developer account

API key manager

Sign in with your Unays account. The returned session is kept only in this browser tab.