明度
BRIGHT
ORDL

Messages API

The Messages API is the primary interface for interacting with ORDL NLDA models. Send a structured list of input messages and receive a model-generated response.

🔒 Invite Only

API access is by invitation only. New accounts are granted through direct referral or approved request. To apply for API access, contact [email protected] with your use case, expected volume, and institutional affiliation. Existing approved researchers may request keys through the admin portal.

Endpoint

POST https://[REDACTED]/v1/messages

Request

{
  "model": "ordl-nlda-mk-ii",
  "messages": [
    {"role": "user", "content": "Explain quantum computing"}
  ],
  "max_tokens": 1024,
  "temperature": 0.7
}

Response

{
  "id": "msg_01X...",
  "type": "message",
  "role": "assistant",
  "content": [
    {"type": "text", "text": "Quantum computing leverages..."}
  ],
  "model": "ordl-nlda-mk-ii",
  "usage": {
    "input_tokens": 12,
    "output_tokens": 256
  }
}

Authentication

All API requests require an API key passed in the x-api-key header. Keys are generated through the admin portal and can be scoped to specific models and rate limits.

Rate Limits

Tier 1

50 requests/minute
10,000 tokens/minute

Tier 2

500 requests/minute
100,000 tokens/minute

Enterprise

Custom limits
Dedicated capacity