Base URL
Authentication
Every endpoint requires a bearer token in theAuthorization header:
Creating an API Token
1
Navigate to Organization Settings
Go to app.gitar.ai and open Settings → API Tokens.
2
Create New Token
Select Create Token on the API Tokens page.
3
Configure Token
Set the following options:
- Alias (optional): Descriptive name, for example
Health Monitor - Duration: Token expiration (default: 30 days)
4
Copy and Store Securely
Copy your token immediately. It is not shown again. Store it securely in your CI/CD secrets or environment variables.
Quick Example: Check Installation Health
Response Format
All API responses are JSON. Successful responses include the requested data:Next Steps
Onboard GitLab Project
Add a GitLab project to Gitar for code review
Installation Health
Check the health status of your code hosting installation