Open a conversation pinned to your released agent version.
Receive live text deltas, tool activity, and structured UI.
Pause on gated tools and submit exact call decisions.
Reconcile disconnected turns from saved snapshots.
Base URL & audiences
https://app.norilu.comNorilu enforces separate credential prefixes and fail-closed guards for server, browser, and management calls.
NORILU_SECRET_KEY · nrl_sk_...Backend SDKs & REST. Rejects browser Origin headers (403).
Bearer nrl_bt_...Short-lived scoped token minted via norilu.tokens.create(). Rejects server keys.
Bearer nrl_mgmt_...Workspace admin & CI automation for spaces, versions, and releases.
Conversations
- POSTStart a conversation
threads.create()/api/agent /v1 /sessions - GETList conversations
threads.list()/api/agent /v1 /sessions - GETRead a conversation
threads.get()/api/agent /v1 /sessions /{sessionId} - POSTMint a scoped client token
mintClientToken/api/v1 /tokens - POSTRevoke client authority
revokeClientToken/api/v1 /tokens /revoke - POSTCreate a workspace thread
createThread/api/v1 /threads - GETList threads in a customer space and user scope
listThreads/api/v1 /threads - GETRead a pinned workspace thread
getThread/api/v1 /threads /{threadId}
Turns and approvals
- POSTSend a message
threads.send()/api/agent /v1 /sessions /{sessionId} /messages - POSTDecide pending tool calls
threads.approve()/api/agent /v1 /sessions /{sessionId} /decisions - POSTCancel execution
threads.cancel()/api/agent /v1 /sessions /{sessionId} /cancel - POSTCreate a thread and send its first message
createRun/api/v1 /runs - POSTSend a message to a pinned workspace thread
sendThreadMessage/api/v1 /threads /{threadId} /messages - POSTDecide a workspace thread's pending calls
decideThread/api/v1 /threads /{threadId} /decisions - POSTCancel a workspace thread's execution
cancelThread/api/v1 /threads /{threadId} /cancel
Agents, tokens & spaces
Server-only · nrl_sk_...- POSTCreate an agent
agents.create()/api/v1 /agents - POSTRun an agent in a space
agents.run()/api/v1 /agents /{agentId} /run - POSTPromote a release
agents.promote()/api/v1 /agents /{agentId} /promote - POSTMint browser token
tokens.create()/api/v1 /tokens - POSTRevoke browser tokens
tokens.revoke()/api/v1 /tokens /revoke - POSTReport issue to regression suite
threads.reportIssue()/api/v1 /threads /{threadId} /issues
Browser Embed API
Browser-safe · nrl_bt_...- GETList user threads
useThreads()/api/embed /v1 /threads - POSTStream reply & tool calls
<AgentThread />/api/embed /v1 /threads /{threadId} /messages - POSTSubmit inline approval
<ApprovalCard />/api/embed /v1 /threads /{threadId} /decisions - POSTUpload thread attachment
<AgentComposer />/api/embed /v1 /threads /{threadId} /files - GETDownload scoped artifact
<ArtifactCard />/api/embed /v1 /threads /{threadId} /artifacts /{artifactId}
Events, types & errors
- Streaming replies (SSE)11 server-sent events and disconnect recovery rules.
- Schemas14 reusable types used in requests, responses, and stream frames.
Standard error envelope
Every non-2xx response returns { "error": { "code": "...", "message": "..." } }. Common codes: 402 spend/plan cap reached · 403 wrong audience or missing scope · 409 stale approval or release conflict · 429 rate limit (includes Retry-After).