The Cranium Public REST API provides programmatic access to your AI inventory, with read access across the API and write access for users, Bill of Materials scans, and vendors. The API is designed for data engineering and security teams integrating Cranium data with data warehouses, IT service management platforms, internal reporting pipelines, and other downstream systems.
Audience
This documentation assumes familiarity with REST APIs, OAuth 2.0 authentication, and JSON. The API is intended for developers and integrators rather than business users. If you are looking to view your AI inventory directly, use the Cranium platform.
Available Endpoints
The API includes the following endpoints:
- Bill of Materials: list and retrieve BOMs across your tenant
- Technology Vulnerabilities: list and retrieve technology vulnerabilities (CVEs) detected in your BOMs
- Arena Models: list models cataloged in the Arena
- Arena Model Vulnerabilities: list model vulnerabilities (attack categories) detected through Arena testing
- AI Systems: list AI Systems registered in your tenant
- AI Cards: list AI Cards published or received by your tenant
- Compliance Frameworks: list compliance framework responses for your tenant
- Documents: list documents uploaded to your tenant
- Users: list, retrieve, and create tenant users
- Roles: list and retrieve tenant roles and their assigned permissions
- Permissions: list the permissions that can be assigned to roles
- Authentication Settings: retrieve you tenant's SSO configuration and MFA policy
- API Clients: list API client metadata for your tenant
- Vendors: list, retrieve, create, update, and retire vendors
Most endpoints are read-only. The write operations are:
POST /api/public/users, which creates a user.POST /api/public/billofmaterials/{billOfMaterialsId}/scan, which triggers a CodeSensor scan.POST /api/public/vendors,PUT /api/public/vendors/{vendorId}, andDELETE /api/public/vendors/{vendorId}, which create, update, and retire vendors.
Regional Base URLs
The Public API is available in three regions. Use the base URL that matches your tenant's region.
Region | Base URL |
|---|---|
United States | https://api.cranium.ai |
European Union | https://api.eu.cranium.ai |
Australia | https://api.au.cranium.ai |
If you are not sure which region your tenant is in, contact your Customer Success Manager.
API Conventions
REST and JSON
All endpoints use standard HTTP methods. Request and response bodies are JSON.
Authentication
All requests require a bearer token obtained through OAuth 2.0 client credentials. See the Authentication & Generating Credentials article for details.
Pagination
All list endpoints use cursor-based pagination. See the Pagination & Incremental Sync article for the full pattern, including how to perform full and incremental syncs.
Rate Limits
Requests are subject to per-customer rate limits. See the Rate Limits & Error Handling article for limits, headers, and the 429 response format.
Sorting
Sort order is fixed per endpoint and is not configurable through query parameters.
Read and Write Operations
Most endpoints support read operations only. Write operations are limited to the endpoints listed under Available Endpoints. Bulk export operations are not available.
Licensing
The Public API is a licensed feature. To enable the API for your tenant, contact your Customer Success Manager. Once enabled, the API Management section becomes available under Settings, where authorized users can generate credentials.
Getting Started
To begin using the API:
- Confirm your tenant has the API license enabled. If the API Management section does not appear under Settings, contact your Customer Success Manager.
- Generate API credentials by following the steps in Authentication & Generating Credentials.
- Request a bearer token from the token endpoint using your Client ID, Client Secret, and Scope.
- Make authenticated requests to the endpoints relevant to your use case.





