API Reference · Services
Create service
Mutation
createServiceCreates a service owned by a team. Fails when the organization's plan has no service quota left.
createService(
organizationUUID: ID!
newServiceSpec: NewServiceSpec!
): Service!Arguments
Field
Type
Returns
Field
Type
Example
mutation CreateService($organizationUUID: ID!, $newServiceSpec: NewServiceSpec!) {
createService(organizationUUID: $organizationUUID, newServiceSpec: $newServiceSpec) {
id
name
description
isDeleted
deletedAt
owner {
id
name
createdAt
updatedAt
}
health {
name
color
icon
}
setup {
monitorSkippedAt
statuspageSkippedAt
}
}
}Example response
{
"data": {
"createService": {
"id": 1,
"name": "Example name",
"description": "Example description",
"isDeleted": true,
"deletedAt": "2026-01-01T12:00:00Z",
"owner": {
"id": 1,
"name": "Example name",
"createdAt": "2026-01-01T12:00:00Z",
"updatedAt": "2026-01-01T12:00:00Z"
},
"health": {
"name": "Example name",
"color": "#666bff",
"icon": "Example icon"
},
"setup": {
"monitorSkippedAt": "2026-01-01T12:00:00Z",
"statuspageSkippedAt": "2026-01-01T12:00:00Z"
}
}
}
}