Base URL
Authentication
All endpoints require a Bearer token in the Authorization header.Creating an API Token
Navigate to Organization Settings
Go to app.gitar.ai and open your organization settings.
Configure Token
Set the following options:
- Alias (optional): Descriptive name (e.g., “Health Monitor”)
- Duration: Token expiration (default: 30 days)
Quick Example: Check Installation Health
Response Format
All API responses are JSON. Successful responses include the requested data:Rate Limits
API requests are rate limited per organization. If you exceed the limit, you’ll receive a429 Too Many Requests response. Contact developers@gitar.ai if you need higher limits.
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