---
title: "Paginated endpoint for fetching services for a given company"
method: GET
path: "/services/all-for-company"
tags: ["services"]
---

# Paginated endpoint for fetching services for a given company

`GET /services/all-for-company`

Requires the privilege [`DISASTER_RECOVERY_TESTS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)

## Query parameters

- `pageSize` integer
- `pageToken` string

## Response `default`

default response

- PagedResponseUserDefinedServiceResponse
  - `pageNumber` integer
  - `pageSize` integer — The size of the page requested. If none was supplied this is a default value (depending on the endpoint). If the length of items is less than this number that means there are _no_ more pages to request. NOTE: if the length *is* equal there may or may not be additional pages to request, it is unknowable until they are requested
  - `pageToken` string — Supply this token on successive requests to retrieve the next page if there is one
  - `items` UserDefinedServiceResponse[]
    - `teamId` string
    - `serviceId` string
    - `targetingStrategy` TargetingStrategy
      - `type` string, required
    - `applicationSelector` ApplicationSelector
      - `applicationName` string, required
    - `processId` string
    - `processName` string
    - `name` string
    - `description` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `modifiedDate` string, date-time
    - `statusCheckIds` string[]
    - `tags` object
    - `multiSelectTags` object
    - `serviceOwner` ServiceOwner
      - `identifier` string
    - `scheduleSettings` ScheduleSettings
      - `enabled` boolean
      - `scheduleType` 'OnlyOnce' | 'Random'
      - `triggerType` 'Passed' | 'RunOnce' | 'Always'
      - `triggers` Trigger[]
        - `dayOfWeek` 'M' | 'T' | 'W' | 'Th' | 'F' | 'S' | 'Su', required
        - `scheduleWindows` ScheduleWindow[], required
          - `start` string, required — Time in HH:mm format (24-hour)
          - `end` string, required — Time in HH:mm format (24-hour)
    - `schedulableTests` TestEligibleToRun[]
      - `reliabilityTestId` string
      - `dependencyId` string
      - `failureFlagName` string
      - `status` 'Passed' | 'RunOnce' | 'Always'
    - `autoCreatingJiraTicketsEnabled` boolean
    - `defaultJiraIssueFields` DefaultJiraIssueFields
      - `summary` string
      - `description` string
      - `issuetype` string, required
      - `assignee` string, required
      - `priority` string, required
      - `project` string, required
      - `labels` string[]
    - `jiraUserId` string
    - `loadGenerators` LoadGenerator[]
      - `identifier` string
      - `name` string
      - `webhookStartLoadTriggerId` string
      - `webhookStatusCheckId` string
      - `webhookStopLoadTriggerId` string
      - `active` boolean
      - `loadGeneratorWebhooks` string[]
    - `riskSummaryStats` RiskSummaryStats
      - `total` integer
      - `atRisk` integer
      - `previousIntervalAtRisk` integer
      - `evaluationState` 'RISKS_NOT_SUPPORTED' | 'NO_DEPLOYMENT_FOUND' | 'EVALUATED' | 'RISKS_NOT_INCLUDED'
    - `awsTargets` AwsTarget[]
      - `arn` string
      - `name` string
      - `resourceType` 'LOAD_BALANCER' | 'TARGET_GROUP' | 'AUTO_SCALING_GROUP'
      - `tags` object
      - `dnsName` string
      - `region` string
      - `suggested` boolean
    - `gcpTargets` GcpResourceResponse[]
      - `resourceId` string
      - `projectId` string
      - `name` string
      - `region` string
      - `resourceType` 'ForwardingRule' | 'UrlMap' | 'BackendService' | 'CloudRunService'
    - `azureTargets` AzureResourceResponse[]
      - `resourceId` string
      - `subscriptionId` string
      - `name` string
      - `resourceType` 'ApplicationGateway'
    - `teamOwningProcess` string
    - `cachedScore` number, double
    - `intelligentHealthCheckTargetIds` string[]
    - `eligibleForAWSIntelligentHealthCheck` boolean
    - `eligibleForAzureIntelligentHealthCheck` boolean
    - `eligibleForGCPIntelligentHealthCheck` boolean
    - `eligibleForFFProxyIntelligentHealthCheck` boolean
    - `eligibleForGremlinAwsStatusCheck` boolean
    - `enabledGremlinAwsStatusCheck` boolean
    - `createdFromOnboarding` boolean

## Other responses

- `401` — Authorization header missing or malformed. Please provide proper credentials in the authorization header.
- `403` — User requires privilege: DISASTER_RECOVERY_TESTS_WRITE

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/versions/36ee938323f0/schema)
