---
updatedAt: 2025-09-10T01:20:50.000Z
agentTools:
  projectIndex: https://support.speedcurve.com/llms.txt
---

# Get all deployments

Get list of deployments.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "speedcurve-api-v2-beta",
    "version": "2.1.0"
  },
  "servers": [
    {
      "url": "https://api.speedcurve.com/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/accounts/{account_id}/deployments": {
      "get": {
        "summary": "Get all deployments",
        "description": "Get list of deployments.",
        "operationId": "get-all-deployments",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "Account ID",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          },
          {
            "name": "start_timestamp",
            "in": "query",
            "description": "UNIX timestamp (seconds), max 12 months ago",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "end_timestamp",
            "in": "query",
            "description": "UNIX timestamp (seconds), max 12 months ago",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "site_id",
            "in": "query",
            "description": "Site ID (get via Get all sites endpoint - GET /accounts/{account_id}/sites)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number for paginated request",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "description": "How many deploys are returned per page, maximum 1000",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"data\": [\n    {\n      \"deploy_id\": 123456789,\n      \"name\": \"Test deploy name 1710798056\",\n      \"description\": \"Test deploy description 1710798056\",\n      \"timestamp\": 1710798059,\n      \"snapshots\": [\n        {\n          \"snapshot_id\": 123456789,\n          \"site_id\": 123,\n          \"timestamp\": 1710798059\n        }\n      ]\n    },\n    {\n      \"deploy_id\": 1234567,\n      \"name\": \"Test deploy name 1710798056\",\n      \"description\": \"Test deploy description 1710798056\",\n      \"timestamp\": 1710798059,\n      \"snapshots\": [\n        {\n          \"snapshot_id\": 123456789,\n          \"site_id\": 123,\n          \"timestamp\": 1710798059\n        }\n      ]\n    }\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```