Skip to content

Instantly share code, notes, and snippets.

@ashwch
Last active July 13, 2025 21:24
Show Gist options
  • Select an option

  • Save ashwch/2a9d05024ac43479782092acbd4eae8f to your computer and use it in GitHub Desktop.

Select an option

Save ashwch/2a9d05024ac43479782092acbd4eae8f to your computer and use it in GitHub Desktop.
Bruno API file example for User Metrics endpoint - demonstrates comprehensive .bru file structure with auth, tests, scripts, and documentation
meta {
name: User Metrics
type: http
seq: 1
}
get {
url: {{BASE_URL}}/api/v2/companies/{{COMPANY_ID}}/user-metrics/
body: none
auth: bearer
}
headers {
Authorization: Bearer {{JWT_TOKEN}}
Content-Type: application/json
}
auth:bearer {
token: {{JWT_TOKEN}}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment