Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/apptio:apptio-environment-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
contact: {}
license: {}
title: Apptio Environment API
description: Operations for Environments
tags:
- name: Environment
description: Operations for Environments
paths:
/api/v2/environments/cascade/delete:
delete:
tags:
- Environment
summary: Delete an environment, all its children, and optionally, its parents
description: 'Allows the deletion of an environment and all its children. Can also specify to delete the parent customer and domain if they are empty.
JSON Parameters:
Id: (Key) Id of the Environment
Permissions:
To cascade delete an Environment, the logged in User must have FDProvisioner on the frontdoor environment.'
operationId: cacadeDeleteEnvironment
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Environment'
required: true
responses:
'200':
description: Environment Deleted
content:
application/json:
schema:
$ref: '#/components/schemas/Environment'
'403':
description: You don't have the required permissions to perform this operation.
'404':
description: Environment to delete not found.
/api/v2/environments:
get:
tags:
- Environment
summary: Gets all environments
description: 'Gets a paginated list of all Environments.
Optional Query Parameters:
start: Index at which to get the next page of results. Defaults to 0
pageSize: Number of Environments to return. Defaults to 100
environmentCategory: When set,limits the results to the supplied category, defaults to blank string. Valid values listed below
TRAINING, POV, PARTNER, SKIP_AUTHZ
PAID_SUBSCRIPTION, SANDBOX
TESTING, TEMP, INTERNAL_SANDBOX
INTERNAL_RESTRICTED, INTERNAL_TEMP
MSP_PROVIDER
external: flag to fetch internal or external environments, defaults to no value
default: returns both internal and external
false: returns internal
true: returns external
mspConsumer: If set, fetch env type of PAID_SUBSCRIPTION, parent domain type of MSP_CONSUMER, defaults to false
Permissions:
The logged in User must have Frontdoor level permissions of readEnvironment or manageEnvironment and manageExternal and manageProduction to perform this operation.'
operationId: getAllEnvironments
parameters:
- name: start
in: query
schema:
type: object
properties:
asInt:
type: integer
format: int32
empty:
type: boolean
present:
type: boolean
default: '0'
- name: pageSize
in: query
schema:
type: object
properties:
asInt:
type: integer
format: int32
empty:
type: boolean
present:
type: boolean
default: '100'
- name: environmentCategory
in: query
schema:
type: string
default: ''
- name: external
in: query
schema:
type: boolean
- name: mspConsumer
in: query
schema:
type: boolean
default: false
responses:
'200':
description: Environments found
content:
application/json:
schema:
$ref: '#/components/schemas/Environment'
'400':
description: Invalid request. Can not filter on mspConsumer true and environment Category of MSP_PROVIDER
/api/v2/environments/applicationentitlementstatus/{statuses}:
get:
tags:
- Environment
summary: Gets Environments by ApplicationEntitlementStatus
description: 'Gets a list of all Environments that have at least one Application entitled having one of the given ApplicationEntitlementStatus.
URL Path Parameters:
statuses: comma separated list of ApplicationEntitlementStatus for which Environments are entitled to at least one application of at least one specified status
Optional Query Parameters:
excludeExternal: If true, returns only matching internal environments. Defaults to false
start: Index at which to get the next page of results. Defaults to 0
pageSize: Number of Environments to return. Defaults to 100
Returns:
List of Environments that are entitled to an application having the specified status
Permissions:
The logged in User must have Frontdoor level permissions of readEnvironment or manageEnvironment and manageExternal and manageProduciton perform this operation.'
operationId: getEnvironmentsByApplicationEntitlementStatus
parameters:
- name: statuses
in: path
required: true
schema:
$ref: '#/components/schemas/StringListParam'
- name: excludeExternal
in: query
schema:
type: boolean
default: false
- name: start
in: query
schema:
type: object
properties:
asInt:
type: integer
format: int32
empty:
type: boolean
present:
type: boolean
default: '0'
- name: pageSize
in: query
schema:
type: object
properties:
asInt:
type: integer
format: int32
empty:
type: boolean
present:
type: boolean
default: '100'
responses:
'200':
description: Environments found
content:
application/json:
schema:
$ref: '#/components/schemas/Environment'
'400':
description: Invalid request. ApplicationEntitlementStatus specified not valid
'403':
description: You don't have the required permissions to perform this operation.
/api/v2/environments/applicationtype/{appType}:
get:
tags:
- Environment
summary: Gets Environments by ApplicationType
description: 'Gets a list of all Environments that have at least one Application entitled of the given ApplicationType.
URL Path Parameters:
appType: ApplicationType which Environments are entitled to
Optional Query Parameters:
detailedApps: If true, returns the full details of the Entitled Applications. Defaults to false
start: Index at which to get the next page of results. Defaults to 0
pageSize: Number of Environments to return. Defaults to 100
Returns:
List of Environments that are entitled to the specified application type
Permissions:
The logged in User must have Frontdoor level permissions of readEnvironment or manageEnvironment and manageExternal and manageProduciton perform this operation.'
operationId: getEnvironmentsByApplicationType_1
parameters:
- name: appType
in: path
required: true
schema:
maxLength: 80
minLength: 1
type: string
- name: detailedApps
in: query
schema:
type: boolean
- name: start
in: query
schema:
type: object
properties:
asInt:
type: integer
format: int32
empty:
type: boolean
present:
type: boolean
default: '0'
- name: pageSize
in: query
schema:
type: object
properties:
asInt:
type: integer
format: int32
empty:
type: boolean
present:
type: boolean
default: '100'
responses:
'200':
description: Environments found
content:
application/json:
schema:
$ref: '#/components/schemas/Environment'
'403':
description: You don't have the required permissions to perform this operation.
'404':
description: ApplicationType not found
/api/v2/environments/application/{appId}:
get:
tags:
- Environment
summary: Gets Environments by Application
description: 'Gets a list of all Environments that are entitled to the specified Application.
URL Path Parameters:
appId: The id of the Application which Environments are entitled to
Returns:
List of Environments whom are entitled to the specified application
Permissions:
The logged in User must have Frontdoor level permissions of readEnvironment or manageEnvironment and manageExternal and manageProduciton to perform this operation.'
operationId: getEnvironmentsByApplication_1
parameters:
- name: appId
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Environments found
content:
application/json:
schema:
$ref: '#/components/schemas/Environment'
'400':
description: Invalid request. Application specified NOT found
'403':
description: You don't have the required permissions to perform this operation.
'404':
description: Application not found
/api/v2/environments/customer/{customer}:
get:
tags:
- Environment
summary: Gets Environments by Customer
description: 'Gets a list of all Environments who share the specified Customer.
URL Path Parameters:
customer: Name of the Customer to read
Optional Query Parameters:
aaaAccess: If true and User is an Apptio User, return non frontdoor-managed Environments foundinside Customers
showAuxiliaryEnvironments: If true will show external Users Testing Environments (can view for audit)
Returns:
List of Environments who belong to the specified Customer
Permissions:
The logged in User must be able to READ the Environment. A User can READ an Environment if they have any Role granted in the Environment or have the MSP Admin role on the MSP Provider environment in the parent domain.
Additionally, Frontdoor level permissions allow for READ on the following sets of Environments.
- manageEnvironment or readEnvironment allows for READ on any internal Environment
- manageEnvironment or readEnvironment and manageExternal allows for READ on any Environment (internal or external)
- manageEnvironment or readEnvironment, manageExternal and manageProduction allows for READ on all Environments'
operationId: getEnvironmentsByCustomer_1
parameters:
- name: customer
in: path
required: true
schema:
maxLength: 80
minLength: 1
type: string
- name: aaaAccess
in: query
description: Include Environments that are not Frontdoor managed
schema:
type: boolean
default: false
- name: showAuxEnvironments
in: query
description: Show external user testing environments
schema:
type: boolean
responses:
'200':
description: Environments found
content:
application/json:
schema:
$ref: '#/components/schemas/Environment'
'400':
description: Invalid request. Customer specified NOT found
'403':
description: You don't have the required permissions to perform this operation.
'404':
description: Customer not found
/api/v2/environments/domain/{domain}:
get:
tags:
- Environment
summary: Gets Environments by Domain
description: 'Gets a list of all Environments who share the specified Domain.
URL Path Parameters:
customer: Name of the Domain to read
Optional Query Parameters:
showAuxiliaryEnvironments: If true will show external Users Testing Environments (can view for audit)
Returns:
List of Environments who belong to the specified Domain
Permissions:
No permissions are needed to READ the logged in User''s own authentication Domain.
A User of a different authentication Domain can read the specified authentication Domain if they havereadDomainUsers or manageDomainUsers permission on any environment belonging to the Customer''s authentication Domain or have the MSP Admin role on the MSP Provider environment in the parent domain.
Additionally, Frontdoor level permissions allow for READ on the following sets of authentication Domains.
- manageDomain or readDomain allows for READ of any internal authentication Domain
- manageDomain or readDomain and manageExternal allows for READ of any authentication Domain (internal or external)'
operationId: getEnvironmentsByDomain
parameters:
- name: domain
in: path
required: true
schema:
maxLength: 80
minLength: 1
type: string
- name: showAuxEnvironments
in: query
description: Show external user testing environments
schema:
type: boolean
responses:
'200':
description: Environments found
content:
application/json:
schema:
$ref: '#/components/schemas/Environment'
'404':
description: Domain not found
components:
schemas:
ApplicationEndpointGroup:
required:
- environmentId
- id
- name
type: object
properties:
id:
type: string
format: uuid
name:
maxLength: 80
minLength: 1
type: string
description:
type: string
environmentId:
type: string
format: uuid
Role:
required:
- name
type: object
properties:
id:
type: string
format: uuid
name:
maxLength: 50
minLength: 1
type: string
permissions:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/Permission'
description:
type: string
external:
type: boolean
grantable_by:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/Role'
role_filtering:
type: string
roleAlwaysShown:
type: boolean
applicationTypes:
uniqueItems: true
type: array
items:
type: string
oauthSupportedScope:
type: string
enum:
- ROLE_ONLY
- ROLE_AND_SCOPE
EnvironmentApplication:
type: object
properties:
internalName:
type: string
applicationEntitlementStatus:
type: string
id:
type: string
format: uuid
applicationId:
type: string
format: uuid
name:
maxLength: 80
minLength: 1
type: string
description:
type: string
url:
type: string
hidden:
type: boolean
applicationType:
type: string
applicationEndpoints:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/ApplicationEndpoint'
endpointGroup:
$ref: '#/components/schemas/ApplicationEndpointGroup'
entitlement_status:
type: string
provisioningMetadata:
type: object
additionalProperties:
type: string
hideNoAccess:
type: boolean
softDeleteDate:
type: string
format: date-time
features:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/Feature'
StringListParam:
type: object
CustomRole:
type: object
properties:
id:
type: string
format: uuid
name:
maxLength: 50
minLength: 1
type: string
permissions:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/Permission'
description:
type: string
environment:
type: string
format: uuid
Environment:
type: object
properties:
updatedBy:
type: string
id:
type: string
format: uuid
name:
maxLength: 80
minLength: 1
type: string
applications:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/EnvironmentApplication'
customRoles:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/CustomRole'
customer:
type: string
createdBy:
type: string
external:
type: boolean
production:
type: boolean
ignoreDomainDefaultRole:
type: boolean
endpointGroups:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/ApplicationEndpointGroup'
environment_category:
type: string
category:
type: string
supportedLangs:
uniqueItems: true
type: array
readOnly: true
items:
type: string
lastAccessed:
type: string
format: date-time
oauthEnabled:
type: boolean
preventAuthorizedAccess:
type: boolean
Feature:
required:
- name
type: object
properties:
name:
maxLength: 80
minLength: 1
type: string
applicationTypes:
uniqueItems: true
type: array
items:
type: string
ApplicationEndpoint:
type: object
properties:
visibleDefaultRoles:
uniqueItems: true
type: array
writeOnly: true
items:
$ref: '#/components/schemas/Role'
visibleCustomRoles:
uniqueItems: true
type: array
writeOnly: true
items:
$ref: '#/components/schemas/CustomRole'
id:
type: string
format: uuid
url:
type: string
name:
maxLength: 80
minLength: 1
type: string
environment_application_id:
type: string
format: uuid
environment_id:
type: string
format: uuid
application_id:
type: string
format: uuid
sequence:
type: integer
format: int32
visibleRoles:
uniqueItems: true
type: array
items:
type: string
hiddenFromNav:
type: boolean
endpointGroup:
$ref: '#/components/schemas/ApplicationEndpointGroup'
Permission:
type: object
properties:
validBefore:
type: string
name:
maxLength: 80
minLength: 1
type: string
description:
type: string
validFrom:
type: string
applicationTypes:
uniqueItems: true
type: array
items:
type: string
external:
type: boolean
defaultRoleOnly:
type: boolean