Overview
Reference
- AlertEvents
- AlertGroups
- AlertUrgencies
- AlertSources
- Alerts
- Audits
- Authorizations
- CatalogEntities
- CatalogEntityProperties
- CatalogFields
- Catalogs
- Causes
- [DEPRECATED] CustomFieldOptions
- [DEPRECATED] CustomFields
- CustomForms
- DashboardPanels
- Dashboards
- Environments
- EscalationPolicies
- EscalationLevelsPolicies
- EscalationLevelsPath
- EscalationLevels
- EscalationPaths
- FormFieldOptions
- FormFieldPlacementConditions
- FormFieldPlacements
- FormFieldPositions
- FormFields
- FormSetConditions
- FormSets
- Functionalities
- WorkflowTasks
- [DEPRECATED] WorkflowCustomFieldSelections
- WorkflowFormFieldConditions
- WorkflowGroups
- WorkflowRuns
- Workflows
- Heartbeats
- IncidentActionItems
- [DEPRECATED] IncidentCustomFieldSelections
- IncidentEventFunctionalities
- IncidentEventServices
- IncidentEvents
- IncidentFeedbacks
- IncidentFormFieldSelections
- IncidentPermissionSetBooleans
- IncidentPermissionSetResources
- IncidentPermissionSets
- IncidentRetrospectives
- IncidentRetrospectiveSteps
- IncidentRoleTasks
- IncidentRoles
- IncidentStatusPageEvents
- IncidentSubStatuses
- IncidentTypes
- Incidents
- IpRanges
- LiveCallRouters
- OnCallRoles
- OnCallShadows
- OverrideShifts
- PlaybookTasks
- Playbooks
- RetrospectiveTemplates
- Pulses
- RetrospectiveConfigurations
- RetrospectiveProcessGroupSteps
- RetrospectiveProcessGroups
- RetrospectiveProcesses
- RetrospectiveSteps
- Roles
- ScheduleRotationActiveDays
- ScheduleRotationUsers
- ScheduleRotations
- Schedules
- Shifts
- Secrets
- Services
- Severities
- StatusPageTemplates
- StatusPages
- SubStatuses
- Teams
- UserNotificationRules
- Users
- WebhooksDeliveries
- WebhooksEndpoints
Retrieves a service
Retrieves a specific service by id
curl --request GET \
--url https://api.rootly.com/v1/services/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": {
"id": "a65f27de-4e45-497f-a519-9aa3e01ed9fd",
"type": "services",
"attributes": {
"name": "Dolorum laudantium et exercitationem.",
"slug": "dolorum-laudantium-et-exercitationem",
"description": "Consectetur minus sit assumenda.",
"public_description": null,
"notify_emails": [],
"color": "#F4CFD1",
"status": "partial_outage",
"position": 1,
"show_uptime": true,
"show_uptime_last_days": 60,
"slack_channels": [],
"slack_aliases": [],
"github_repository_name": null,
"github_repository_branch": "master",
"gitlab_repository_name": null,
"gitlab_repository_branch": "master",
"opsgenie_id": null,
"pagerduty_id": null,
"backstage_id": null,
"external_id": null,
"cortex_id": null,
"service_now_ci_sys_id": null,
"environment_ids": [],
"service_ids": [],
"owners_group_ids": [],
"owners_user_ids": [],
"incidents_count": 1,
"alert_urgency_id": null,
"alerts_email_enabled": false,
"alerts_email_address": "service-289f79ba41c3ebb3243aa49d46d7041d@email.rootly.com",
"created_at": "2025-03-07T00:09:02.909-08:00",
"updated_at": "2025-03-07T00:09:03.037-08:00"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
Unique ID of the service
services
The name of the service
Date of creation
Date of last update
The slug of the service
The description of the service
The public description of the service
Emails attached to the service
The hex color of the service
Position of the service
The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name
The external id associated to this service
The PagerDuty service id associated to this service
The Opsgenie service id associated to this service
The Cortex group id associated to this service
The Service Now CI sys id associated to this service
The GitHub repository name associated to this service. eg: rootlyhq/my-service
The GitHub repository branch associated to this service. eg: main
The GitLab repository name associated to this service. eg: rootlyhq/my-service
The GitLab repository branch associated to this service. eg: main
Environments associated with this service
Services dependent on this service
Owner Teams associated with this service
Owner Users associated with this service
The alert urgency id of the service
Enable alerts through email
Email generated to send alerts to
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/services/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": {
"id": "a65f27de-4e45-497f-a519-9aa3e01ed9fd",
"type": "services",
"attributes": {
"name": "Dolorum laudantium et exercitationem.",
"slug": "dolorum-laudantium-et-exercitationem",
"description": "Consectetur minus sit assumenda.",
"public_description": null,
"notify_emails": [],
"color": "#F4CFD1",
"status": "partial_outage",
"position": 1,
"show_uptime": true,
"show_uptime_last_days": 60,
"slack_channels": [],
"slack_aliases": [],
"github_repository_name": null,
"github_repository_branch": "master",
"gitlab_repository_name": null,
"gitlab_repository_branch": "master",
"opsgenie_id": null,
"pagerduty_id": null,
"backstage_id": null,
"external_id": null,
"cortex_id": null,
"service_now_ci_sys_id": null,
"environment_ids": [],
"service_ids": [],
"owners_group_ids": [],
"owners_user_ids": [],
"incidents_count": 1,
"alert_urgency_id": null,
"alerts_email_enabled": false,
"alerts_email_address": "service-289f79ba41c3ebb3243aa49d46d7041d@email.rootly.com",
"created_at": "2025-03-07T00:09:02.909-08:00",
"updated_at": "2025-03-07T00:09:03.037-08:00"
}
}
}