Skip to main content

Base URL

Authentication

All endpoints require a Bearer token in the Authorization header.

Creating an API Token

1

Navigate to Organization Settings

Go to app.gitar.ai and open your organization settings.
2

Create New Token

Click Create API Token in the API section.
3

Configure Token

Set the following options:
  • Alias (optional): Descriptive name (e.g., “Health Monitor”)
  • Duration: Token expiration (default: 30 days)
4

Copy and Store Securely

Copy your token immediately — it won’t be 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:
Error responses include a message:

Rate Limits

API requests are rate limited per organization. If you exceed the limit, you’ll receive a 429 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