OpsLevel

App · 25 actions

Keep your OpsLevel service catalog up to date: services, teams, dependencies, tags, maturity checks, repositories and deploys.

Actions

ActionWhat it does
Add service dependencyRecord that one service depends on another.
Add team memberAdd a person in your OpsLevel account to a team.
Assign tagTag a service, team, repository, user, system, domain or infrastructure resource.
Create serviceAdd a service to your OpsLevel catalog.
Create teamCreate a team in OpsLevel.
Delete serviceDelete a service from your OpsLevel catalog.
Delete tagRemove a tag from whatever it is on.
Delete teamDelete a team from OpsLevel.
Get repositoryGet a repository's details, owner and languages.
Get serviceGet a service's details: owner, tier, lifecycle, system, maturity level, tags and link.
Get service maturityGet a service's maturity level, its level in each scorecard category, and the latest result of each check.
Get teamGet a team's details, members and tags.
Invite userAdd a person to your OpsLevel account and, unless you choose otherwise, email them an invitation.
List deploysList the deploys OpsLevel recorded in a time window, by default the last 7 days.
List infrastructure resourcesList the infrastructure resources in your catalog, such as databases, queues and clusters.
List repositoriesList the code repositories OpsLevel knows about, with their owner, tier and languages.
List scorecardsList your scorecards with how many services they cover and how many of their checks pass.
List service dependenciesList the services a service depends on, with each dependency's ID and notes.
List servicesList the services (components) in your OpsLevel catalog, with their owner, tier, lifecycle, maturity level and tags.
List teamsList the teams in OpsLevel with their members and tags.
List usersList the people in your OpsLevel account with their role.
Remove service dependencyRemove a dependency between two services.
Remove team memberTake a person off a team.
Update serviceChange a service's details.
Update teamChange a team's name, responsibilities or parent team.

Add service dependency

Record that one service depends on another.

Inputs

Serviceservice_idtextRequired
The service that has the dependency.
Depends ondepends_ontextRequired
The service it depends on.
Notesnotestext
Notes about the dependency.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "destinationService": {
      "id": "example",
      "name": "example"
    },
    "id": "example",
    "notes": "example",
    "sourceService": {
      "id": "example",
      "name": "example"
    }
  }
}

Add team member

Add a person in your OpsLevel account to a team.

Inputs

TeamteamtextRequired
The team in OpsLevel.
Personmember_emailtextRequired
The email address of the person to add. They must already be a user in OpsLevel.
Rolemember_roletext
Their role on the team. Leave empty for a contributor.One of: contributor, manager.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "memberships": [
      {
        "role": "example",
        "team": {
          "alias": "example",
          "id": "example",
          "name": "example"
        },
        "user": {
          "email": "example",
          "id": "example",
          "name": "example"
        }
      }
    ]
  }
}

Assign tag

Tag a service, team, repository, user, system, domain or infrastructure resource. A tag with the same key is replaced.

Inputs

Record IDresource_idtextRequired
The OpsLevel ID of what to tag, such as a service's ID from List services.
Keytag_keytextRequired
The tag's key, such as env.
Valuetag_valuetextRequired
The tag's value, such as production.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "tags": [
      {
        "id": "example",
        "key": "example",
        "value": "example"
      }
    ]
  }
}

Create service

Add a service to your OpsLevel catalog.

Inputs

NamenametextRequired
The service's name.
Descriptiondescriptiontext
What the service does.
Ownerownertext
The team that owns the service.
Tiertiertext
How critical the service is, from your account's tiers.
Lifecyclelifecycletext
Where the service is in its life, such as development or generally available.
Systemsystemtext
The system the service belongs to.
Languagelanguagetext
The main programming language, such as Python.
Frameworkframeworktext
The main framework, such as Django.
Productproducttext
The product the service is part of.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "aliases": [
      "example"
    ],
    "description": "example",
    "framework": "example",
    "htmlUrl": "example",
    "id": "example",
    "language": "example",
    "lifecycle": {
      "alias": "example",
      "name": "example"
    },
    "locked": true,
    "maturityReport": {
      "overallLevel": {
        "id": "example",
        "index": 1,
        "name": "example"
      }
    },
    "name": "example",
    "owner": {
      "alias": "example",
      "id": "example",
      "name": "example"
    },
    "parent": {
      "id": "example",
      "name": "example"
    },
    "product": "example",
    "tags": {
      "nodes": [
        {
          "id": "example",
          "key": "example",
          "value": "example"
        }
      ]
    },
    "tier": {
      "alias": "example",
      "name": "example"
    },
    "timestamps": {
      "createdAt": "example",
      "updatedAt": "example"
    }
  }
}

Create team

Create a team in OpsLevel.

Inputs

NamenametextRequired
The team's name.
Responsibilitiesresponsibilitiestext
What the team is responsible for.
Parent teamparent_teamtext
The team this team sits under.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "alias": "example",
    "htmlUrl": "example",
    "id": "example",
    "memberships": {
      "nodes": [
        {
          "role": "example",
          "user": {
            "email": "example",
            "id": "example",
            "name": "example"
          }
        }
      ]
    },
    "name": "example",
    "parentTeam": {
      "alias": "example",
      "id": "example",
      "name": "example"
    },
    "responsibilities": "example",
    "tags": {
      "nodes": [
        {
          "id": "example",
          "key": "example",
          "value": "example"
        }
      ]
    }
  }
}

Delete service

Delete a service from your OpsLevel catalog.

Inputs

Serviceservice_idtextRequired
The service (component) in OpsLevel.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "deletedServiceAlias": "example",
    "deletedServiceId": "example"
  }
}

Delete tag

Remove a tag from whatever it is on.

Inputs

Tag IDtag_idtextRequired
The tag's ID, from Assign tag or a service's or team's tags.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "deletedTagId": "example"
  }
}

Delete team

Delete a team from OpsLevel.

Inputs

TeamteamtextRequired
The team in OpsLevel.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "deletedTeamAlias": "example",
    "deletedTeamId": "example"
  }
}

Get repository

Get a repository's details, owner and languages.

Inputs

Repositoryrepository_idtextRequired
The repository in OpsLevel.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "archivedAt": "example",
    "createdOn": "example",
    "defaultAlias": "example",
    "defaultBranch": "example",
    "description": "example",
    "htmlUrl": "example",
    "id": "example",
    "languages": [
      {
        "name": "example",
        "usage": 1
      }
    ],
    "name": "example",
    "organization": "example",
    "owner": {
      "alias": "example",
      "id": "example",
      "name": "example"
    },
    "tier": {
      "alias": "example",
      "name": "example"
    },
    "type": "example",
    "url": "example",
    "visibility": "example",
    "visible": true
  }
}

Get service

Get a service's details: owner, tier, lifecycle, system, maturity level, tags and link.

Inputs

Serviceservice_idtextRequired
The service (component) in OpsLevel.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "aliases": [
      "example"
    ],
    "description": "example",
    "framework": "example",
    "htmlUrl": "example",
    "id": "example",
    "language": "example",
    "lifecycle": {
      "alias": "example",
      "name": "example"
    },
    "locked": true,
    "maturityReport": {
      "overallLevel": {
        "id": "example",
        "index": 1,
        "name": "example"
      }
    },
    "name": "example",
    "owner": {
      "alias": "example",
      "id": "example",
      "name": "example"
    },
    "parent": {
      "id": "example",
      "name": "example"
    },
    "product": "example",
    "tags": {
      "nodes": [
        {
          "id": "example",
          "key": "example",
          "value": "example"
        }
      ]
    },
    "tier": {
      "alias": "example",
      "name": "example"
    },
    "timestamps": {
      "createdAt": "example",
      "updatedAt": "example"
    }
  }
}

Get service maturity

Get a service's maturity level, its level in each scorecard category, and the latest result of each check.

Inputs

Serviceservice_idtextRequired
The service (component) in OpsLevel.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "checkStats": {
      "passingChecksPercentage": 1,
      "totalChecks": 1,
      "totalPassingChecks": 1
    },
    "id": "example",
    "maturityReport": {
      "categoryBreakdown": [
        {
          "category": {
            "id": "example",
            "name": "example"
          },
          "level": {
            "id": "example",
            "index": 1,
            "name": "example"
          }
        }
      ],
      "latestCheckResults": [
        {
          "check": {
            "category": {
              "name": "example"
            },
            "id": "example",
            "level": {
              "name": "example"
            },
            "name": "example",
            "type": "example",
            "url": "example"
          },
          "lastUpdated": "example",
          "message": "example",
          "status": "example"
        }
      ],
      "overallLevel": {
        "id": "example",
        "index": 1,
        "name": "example"
      }
    },
    "name": "example"
  }
}

Get team

Get a team's details, members and tags.

Inputs

TeamteamtextRequired
The team in OpsLevel.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "alias": "example",
    "htmlUrl": "example",
    "id": "example",
    "memberships": {
      "nodes": [
        {
          "role": "example",
          "user": {
            "email": "example",
            "id": "example",
            "name": "example"
          }
        }
      ]
    },
    "name": "example",
    "parentTeam": {
      "alias": "example",
      "id": "example",
      "name": "example"
    },
    "responsibilities": "example",
    "tags": {
      "nodes": [
        {
          "id": "example",
          "key": "example",
          "value": "example"
        }
      ]
    }
  }
}

Invite user

Add a person to your OpsLevel account and, unless you choose otherwise, email them an invitation.

Inputs

EmailemailtextRequired
The person's email address.
Namenametext
The person's name.
Roleroletext
What they can do in OpsLevel. Leave empty for User.One of: user, team_member (Team member), standards_admin (Standards admin), admin.
Skip welcome emailskip_welcome_emailtrue/false
Don't send the welcome email.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "deactivated": true,
    "email": "example",
    "htmlUrl": "example",
    "id": "example",
    "name": "example",
    "role": "example"
  }
}

List deploys

List the deploys OpsLevel recorded in a time window, by default the last 7 days.

Inputs

Fromstartdate and time
Only deploys after this time. Leave empty for 7 days ago.
Toenddate and time
Only deploys before this time. Leave empty for now.
Serviceservice_idtext
Only deploys of this service.
Environmentsenvironmentslist
Only deploys to these environments, such as production.
Statusesstatuseslist
Only deploys with these statuses.One or more of: success (Succeeded), failure (Failed), running, queued, canceled, no_status (No status).
Limitlimitnumber
How many deploys to return, up to 100 (the most OpsLevel returns at once).From 1 to 100.
Cursorcursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "commitBranch": "example",
        "commitMessage": "example",
        "commitSha": "example",
        "deployNumber": "example",
        "deployStatus": "example",
        "deployUrl": "example",
        "deployedAt": "example",
        "deployerEmail": "example",
        "deployerName": "example",
        "description": "example",
        "environment": "example",
        "id": "example",
        "service": {
          "id": "example",
          "name": "example"
        },
        "serviceAlias": "example",
        "startedAt": "example",
        "status": "example"
      }
    ],
    "next_cursor": "example",
    "total_count": 1
  }
}

List infrastructure resources

List the infrastructure resources in your catalog, such as databases, queues and clusters.

Inputs

Limitlimitnumber
How many infrastructure resources to return, up to 100 (the most OpsLevel returns at once).From 1 to 100.
Cursorcursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "aliases": [
          "example"
        ],
        "href": "example",
        "id": "example",
        "lastSyncedAt": "example",
        "name": "example",
        "owner": {
          "alias": "example",
          "id": "example",
          "name": "example"
        },
        "providerResourceType": "example",
        "type": "example"
      }
    ],
    "next_cursor": "example",
    "total_count": 1
  }
}

List repositories

List the code repositories OpsLevel knows about, with their owner, tier and languages.

Inputs

Limitlimitnumber
How many repositories to return, up to 100 (the most OpsLevel returns at once).From 1 to 100.
Cursorcursortext
To read the next page, the next_cursor value a previous list step returned.
Tiertiertext
Only repositories in this tier.
Shown in OpsLevelvisibletrue/false
Only repositories shown in OpsLevel (on) or only hidden ones (off). Leave empty for both.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "archivedAt": "example",
        "createdOn": "example",
        "defaultAlias": "example",
        "defaultBranch": "example",
        "description": "example",
        "htmlUrl": "example",
        "id": "example",
        "languages": [
          {
            "name": "example",
            "usage": 1
          }
        ],
        "name": "example",
        "organization": "example",
        "owner": {
          "alias": "example",
          "id": "example",
          "name": "example"
        },
        "tier": {
          "alias": "example",
          "name": "example"
        },
        "type": "example",
        "url": "example",
        "visibility": "example",
        "visible": true
      }
    ],
    "next_cursor": "example",
    "total_count": 1
  }
}

List scorecards

List your scorecards with how many services they cover and how many of their checks pass.

Inputs

Limitlimitnumber
How many scorecards to return, up to 100 (the most OpsLevel returns at once).From 1 to 100.
Cursorcursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "affectsOverallServiceLevels": true,
        "description": "example",
        "href": "example",
        "id": "example",
        "name": "example",
        "passingChecks": 1,
        "passingChecksPercentage": 1,
        "serviceCount": 1,
        "slug": "example",
        "totalChecks": 1
      }
    ],
    "next_cursor": "example",
    "total_count": 1
  }
}

List service dependencies

List the services a service depends on, with each dependency's ID and notes.

Inputs

Serviceservice_idtextRequired
The service (component) in OpsLevel.
Limitlimitnumber
How many dependencies to return, up to 100 (the most OpsLevel returns at once).From 1 to 100.
Cursorcursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "id": "example",
        "locked": true,
        "node": {
          "aliases": [
            "example"
          ],
          "htmlUrl": "example",
          "id": "example",
          "name": "example"
        },
        "notes": "example"
      }
    ],
    "next_cursor": "example",
    "total_count": 1
  }
}

List services

List the services (components) in your OpsLevel catalog, with their owner, tier, lifecycle, maturity level and tags.

Inputs

Limitlimitnumber
How many services to return, up to 100 (the most OpsLevel returns at once).From 1 to 100.
Cursorcursortext
To read the next page, the next_cursor value a previous list step returned.
Searchsearchtext
Only services whose name, alias or description match these words.
Ownerownertext
Only services this team owns.
Tiertiertext
Only services in this tier.
Lifecyclelifecycletext
Only services at this lifecycle stage.
Tag keytag_keytext
Only services with a tag with this key, such as env.
Tag valuetag_valuetext
With a tag key: only services whose tag has this value.
Ordersorttext
The order to list them in.One of: name_ASC (Name, A to Z), name_DESC (Name, Z to A), owner_ASC (Owner), tier_ASC (Tier), lifecycle_ASC (Lifecycle), level_index_DESC (Highest maturity level first), level_index_ASC (Lowest maturity level first), checks_passing_DESC (Most checks passing first), checks_passing_ASC (Fewest checks passing first), last_deploy_DESC (Most recently deployed first).

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "aliases": [
          "example"
        ],
        "description": "example",
        "framework": "example",
        "htmlUrl": "example",
        "id": "example",
        "language": "example",
        "lifecycle": {
          "alias": "example",
          "name": "example"
        },
        "locked": true,
        "maturityReport": {
          "overallLevel": {
            "id": "example",
            "index": 1,
            "name": "example"
          }
        },
        "name": "example",
        "owner": {
          "alias": "example",
          "id": "example",
          "name": "example"
        },
        "parent": {
          "id": "example",
          "name": "example"
        },
        "product": "example",
        "tags": {
          "nodes": [
            {
              "id": "example",
              "key": "example",
              "value": "example"
            }
          ]
        },
        "tier": {
          "alias": "example",
          "name": "example"
        },
        "timestamps": {
          "createdAt": "example",
          "updatedAt": "example"
        }
      }
    ],
    "next_cursor": "example",
    "total_count": 1
  }
}

List teams

List the teams in OpsLevel with their members and tags.

Inputs

Limitlimitnumber
How many teams to return, up to 100 (the most OpsLevel returns at once).From 1 to 100.
Cursorcursortext
To read the next page, the next_cursor value a previous list step returned.
Searchsearchtext
Only teams whose name matches these words.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "alias": "example",
        "htmlUrl": "example",
        "id": "example",
        "memberships": {
          "nodes": [
            {
              "role": "example",
              "user": {
                "email": "example",
                "id": "example",
                "name": "example"
              }
            }
          ]
        },
        "name": "example",
        "parentTeam": {
          "alias": "example",
          "id": "example",
          "name": "example"
        },
        "responsibilities": "example",
        "tags": {
          "nodes": [
            {
              "id": "example",
              "key": "example",
              "value": "example"
            }
          ]
        }
      }
    ],
    "next_cursor": "example",
    "total_count": 1
  }
}

List users

List the people in your OpsLevel account with their role.

Inputs

Limitlimitnumber
How many users to return, up to 100 (the most OpsLevel returns at once).From 1 to 100.
Cursorcursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "deactivated": true,
        "email": "example",
        "htmlUrl": "example",
        "id": "example",
        "name": "example",
        "role": "example"
      }
    ],
    "next_cursor": "example",
    "total_count": 1
  }
}

Remove service dependency

Remove a dependency between two services.

Inputs

Dependency IDdependency_idtextRequired
The dependency's ID, from List service dependencies or Add service dependency.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "deletedId": "example"
  }
}

Remove team member

Take a person off a team.

Inputs

TeamteamtextRequired
The team in OpsLevel.
Personmember_emailtextRequired
The email address of the person to take off the team.
Rolemember_roletext
The role they have on the team. Leave empty unless they hold more than one.One of: contributor, manager.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "deletedMembers": [
      {
        "email": "example",
        "id": "example",
        "name": "example"
      }
    ]
  }
}

Update service

Change a service's details. Anything left empty stays as it is.

Inputs

Serviceservice_idtextRequired
The service (component) in OpsLevel.
Namenametext
A new name for the service.
Descriptiondescriptiontext
What the service does.
Ownerownertext
The team that will own the service.
Tiertiertext
How critical the service is, from your account's tiers.
Lifecyclelifecycletext
Where the service is in its life, such as development or generally available.
Systemsystemtext
The system the service belongs to.
Languagelanguagetext
The main programming language, such as Python.
Frameworkframeworktext
The main framework, such as Django.
Productproducttext
The product the service is part of.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "aliases": [
      "example"
    ],
    "description": "example",
    "framework": "example",
    "htmlUrl": "example",
    "id": "example",
    "language": "example",
    "lifecycle": {
      "alias": "example",
      "name": "example"
    },
    "locked": true,
    "maturityReport": {
      "overallLevel": {
        "id": "example",
        "index": 1,
        "name": "example"
      }
    },
    "name": "example",
    "owner": {
      "alias": "example",
      "id": "example",
      "name": "example"
    },
    "parent": {
      "id": "example",
      "name": "example"
    },
    "product": "example",
    "tags": {
      "nodes": [
        {
          "id": "example",
          "key": "example",
          "value": "example"
        }
      ]
    },
    "tier": {
      "alias": "example",
      "name": "example"
    },
    "timestamps": {
      "createdAt": "example",
      "updatedAt": "example"
    }
  }
}

Update team

Change a team's name, responsibilities or parent team. Anything left empty stays as it is.

Inputs

TeamteamtextRequired
The team in OpsLevel.
Namenametext
A new name for the team.
Responsibilitiesresponsibilitiestext
What the team is responsible for.
Parent teamparent_teamtext
The team this team sits under.

Outputs

dataobject
The response from OpsLevel.
Example output
{
  "data": {
    "alias": "example",
    "htmlUrl": "example",
    "id": "example",
    "memberships": {
      "nodes": [
        {
          "role": "example",
          "user": {
            "email": "example",
            "id": "example",
            "name": "example"
          }
        }
      ]
    },
    "name": "example",
    "parentTeam": {
      "alias": "example",
      "id": "example",
      "name": "example"
    },
    "responsibilities": "example",
    "tags": {
      "nodes": [
        {
          "id": "example",
          "key": "example",
          "value": "example"
        }
      ]
    }
  }
}

On this page