aiui-cloud-apis

Installation
SKILL.md

AIUI Cloud OpenAPI

Use this skill for AIUI app/page code that calls the agent-facing Rokid OpenAPI through the built-in open runtime module. Server-side integrations use separate documentation.

Start here

import { createOpenAPI } from 'open';

const api = await createOpenAPI();
  • open is a QuickJS/Ink runtime built-in, not an npm package.
  • Do not import from @yodaos-pkg/ink, call fetch('/openapi/...'), or assume api is global.
  • Guard import, initialization, and API calls with try/catch.
  • The runtime injects authentication. Do not manually pass or log access_token or x-request-agent-id.
  • Operations with a request body require the exact { body: requestBody } wrapper. No-body operations receive no argument.

Choose an API

Installs
2
GitHub Stars
69
First Seen
Oct 26, 2026