Platform API
Platform API covers AGIOne platform management and queries. This section currently documents Get caller roles, a read-only query for roles held by the current credential owner.
Credential Isolation & Security
- Platform Management Scope: Endpoints in this section require symmetric System API AK/SK credentials and authenticate via locally calculated HMAC-SHA256 request signatures. See Authentication and Signing.
- Model Inference Isolation: Model completions and chat inferences use an independent Model API Key with standard Bearer authentication. See Model API (OpenAPI).
Auth Spec
Authentication & Signing →
StringToSign construction rules, lexicographical query parameter sorting, HMAC-SHA256 hashing, and header conventions.
Core Endpoint
Get Caller Roles →
Inspect roles associated with the authenticated System API Key (supports Operator, Provider, and End User caller identities).
Available Endpoints
The Platform API exposes the following core endpoints:
| Operation | HTTP Method | Complete Route Path | Applicable Roles | Description |
|---|---|---|---|---|
| Get caller roles | GET | /hyperone/admin/user/roles | Operator / Provider / End User | Returns active roles assigned to the current caller identity |
Quickstart Steps
- Provision Credentials: Navigate to "Personal Settings → My Keys" in the AGIOne console and generate a "System API AK/SK Pair". Store the Secret Key (SK) securely upon creation, as it cannot be retrieved later in plain text.
- Obtain Base URL: Request the API Base URL from your instance administrator (e.g.
https://<agione-host>:<port>, excluding/hyperone). - Compute Signature & Request: Calculate the HMAC-SHA256 signature following the Authentication and Signing Specification and send the signed request.