v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
DORA Metrics

Send a deployment event

Use this API endpoint to provide deployment data.

This is necessary for:

  • Deployment Frequency
  • Change Lead Time
  • Change Failure Rate
  • Failed Deployment Recovery Time
post/api/v2/dora/deployment

Request body

Example request

{
  "data": {
    "attributes": {
      "custom_tags": [
        "language:java",
        "department:engineering"
      ],
      "env": "staging",
      "finished_at": 1693491984000000000,
      "git": {
        "commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588",
        "repository_url": "https://github.com/organization/example-repository"
      },
      "service": "shopist",
      "started_at": 1693491974000000000,
      "team": "backend",
      "version": "v1.12.07"
    }
  }
}

Response

OK

Example response

{
  "data": {
    "id": "4242fcdd31586083",
    "type": "dora_deployment"
  }
}