API Reference
Polaris API — v0.5.37
Overview
Polaris Technology Catalog API
The Polaris API provides programmatic access to the technology catalog, enabling automation, integration, and custom tooling.
Key Features
- RESTful Design - Resource-based URLs with proper HTTP methods
Authentication
Most endpoints require authentication using session-based authentication integrated with the web application.
Authorization Levels:
Response Format
All successful responses follow this structure:
`json
{
"success": true,
"data": [...],
"count": 10
}
`All errors follow this structure:
`json
{
"statusCode": 404,
"message": "Resource 'example' not found"
}
`
Richardson Maturity Model
This API implements RMM Level 2 with proper use of HTTP methods and status codes.
Health
Health check endpoints
/versionApplication version/healthHealth check endpointSystems
System management endpoints
/systemsCreate a new system/systemsList all systems/systems/{name}Fully update/replace a system Auth Required /systems/{name}Partially update a system Auth Required /systems/{name}Get system by name/systems/{name}Delete a system Auth Required /api/systems/{name}/repositoriesRegister a repository for a system/api/systems/{name}/repositoriesList repositories for a system/systems/{name}/graphGet dependency graph data for a systemComponents
Component management endpoints
/componentsList all components/components/descriptionFetch package description from registryTechnologies
Technology catalog endpoints
/technologiesCreate a new technology/technologiesList all technologies/technologies/radarGet technologies shaped for the radar visualization/technologies/{name}Update a technology Auth Required /technologies/{name}Get technology details/technologies/{name}Delete a technology Auth Required /technologies/{name}/componentsLink a component to a technology Auth Required /technologies/{name}/approvalsSet a team's TIME approval for a technologyTeams
Team management endpoints
/teamsCreate a new team Auth Required /teamsList all teams/teams/{name}Update a team Auth Required /teams/{name}Get team details/teams/{name}Delete a team Auth Required /teams/{name}/usageGet team technology usage/teams/{name}/approvalsGet team approvalsVersion Constraints
Version constraint endpoints
Compliance
Compliance violation and audit endpoints
/compliance/violationsGet compliance violationsRepositories
Repository management endpoints
/repositoriesList all repositoriesUsers
User management endpoints
/usersList all users (superuser only) Auth Required /users/{id}Get user detailsApprovals
Technology approval endpoints
/approvalsCheck technology approval statusAdmin
Administrative endpoints
/admin/users/inviteInvite a GitHub user Auth Required /admin/usersCreate a technical user/admin/usersList all users Auth Required /admin/users/{userId}/tokensGenerate an API token for a technical user/admin/users/{userId}/tokensList API tokens for a user/admin/users/{userId}/teamsAssign user to teams Auth Required /admin/users/{userId}/roleUpdate user role Auth Required /admin/users/{userId}Delete a technical user/admin/users/{userId}/tokens/{tokenId}Revoke an API token/admin/licenses/allowedUpdate license allowed status Auth Required /admin/licenses/allowedGet license allowed management data Auth Required /admin/import/githubImport a system from a GitHub repository Auth Required