Docs
API

API

Hatica has two kinds of API based on use cases

  • Product API: This API allows you to read metrics and manage your dashboards and configuration
  • Events API: This API allows you to send work and system activity as events (for eg deployment events to support DORA metrics) to calculate custom metrics and support tools Hatica does not have direct integration with.

You will need the API key for accessing the APIs, visit the API section in your app under Configuration menu to manage keys and access logs. Please check your plan if you have access to the APIs.

FAQ

Why is the post-deployments events not reflecting data in the Services or Dora dashboard?

There might be multiple reasons for the data to be missed:

  • It usually takes up to 1 minute for the deployment data to be reflected in the dashboard
  • Make sure the "id" field is set to the SHA of the commit that was actually deployed
  • The repository specified in the payload should be the same repository against which the service was configured. This is necessary for Hatica to retrieve PRs that were included in this deployment
  • The repository name should be only the path and shoudl exclude the protocol i.e. "https:" should not be included when the repository path is specified