---
title: "List Fastly services"
method: GET
path: "/api/v2/integrations/fastly/accounts/{account_id}/services"
tags: ["Fastly Integration"]
---

# List Fastly services

`GET /api/v2/integrations/fastly/accounts/{account_id}/services`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/integrations/fastly/accounts/{account_id}/services`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

List Fastly services for an account.

## Path parameters

- `account_id` string, required

## Response `200`

OK

- FastlyServicesResponse: The expected response schema when getting Fastly services.
  - `data` FastlyServiceData[]: The JSON:API data schema.
    - `attributes` FastlyServiceAttributes: Attributes object for Fastly service requests.
      - `tags` string[]: A list of tags for the Fastly service.
    - `id` string, required: The ID of the Fastly service.
    - `type` 'fastly-services', required: The JSON:API type for this API. Should always be `fastly-services`.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
