---
updatedAt: 2026-04-20T19:21:28.000Z
---

# Get a site

This operation retrieves the details of a site.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Sites",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://{hostname}/api/infrastructure/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "oauth_v2": {
        "type": "oauth2",
        "description": "This API uses OAuth 2 with the implicit grant flow.\n",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "/api/identity/v1/oauth/authorize",
            "tokenUrl": "/api/identity/v1/oauth/token",
            "scopes": {
              "coblitz.co": "d",
              "coblitz.obs": "d",
              "infrastructure.admin": "d",
              "infrastructure.read": "d"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/sites": {
      "get": {
        "operationId": "get-sites",
        "summary": "List sites",
        "description": "This operation returns a list of all configured sites.",
        "parameters": [
          {
            "description": "The filter parameter may be used to filter the returned collection.\n",
            "in": "query",
            "name": "filter",
            "schema": {
              "type": "string",
              "example": "filter=name==foo"
            }
          },
          {
            "description": "The view parameter may be used to request that either the summary or detailed view be returned.\n",
            "in": "query",
            "name": "view",
            "schema": {
              "default": "summary",
              "type": "string"
            }
          },
          {
            "description": "The sortBy parameter may be used to specify the sort order of the returned collection.\n",
            "in": "query",
            "name": "sortBy",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The pageNumber parameter may be used to specify an offset into the results.  Useful to use in conjunction with pageSize.  Page number offset is 1-based.\n",
            "in": "query",
            "name": "pageNumber",
            "schema": {
              "default": 1,
              "minimum": 1,
              "type": "integer",
              "example": 2
            }
          },
          {
            "description": "The pageSize parameter may be used to specify the page size of the returned results.  Useful to use in conjunction with pageNumber.\n",
            "in": "query",
            "name": "pageSize",
            "schema": {
              "default": 100,
              "maximum": 1000,
              "minimum": 1,
              "type": "integer",
              "example": 50
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "page": {
                    "pageNumber": 1,
                    "pageSize": 100,
                    "totalPages": 1,
                    "totalResults": 1
                  },
                  "sites": [
                    {
                      "siteId": 1,
                      "name": "us-ma-east-1"
                    }
                  ]
                },
                "schema": {
                  "description": "Site collection.\n",
                  "properties": {
                    "sites": {
                      "items": {
                        "description": "Site summary view schema.\n",
                        "properties": {
                          "siteId": {
                            "$ref": "#/paths/~1sites~1%7BsiteId%7D/put/requestBody/content/application~1json/schema/properties/siteId"
                          },
                          "name": {
                            "$ref": "#/paths/~1sites/post/requestBody/content/application~1json/schema/properties/name"
                          }
                        },
                        "required": [
                          "siteId",
                          "name"
                        ]
                      },
                      "type": "array"
                    },
                    "page": {
                      "description": "Common page properties for search results.\n",
                      "properties": {
                        "pageNumber": {
                          "type": "integer",
                          "description": "Indicates the page number of the current results, given the page size.\n"
                        },
                        "pageSize": {
                          "type": "integer",
                          "description": "Indicates the page size for the current results.\n"
                        },
                        "totalPages": {
                          "type": "integer",
                          "description": "Indicates the total number of pages, taking the pages size into consideration.\n"
                        },
                        "totalResults": {
                          "type": "integer",
                          "description": "Indicates the total number of results from the search.\n"
                        }
                      },
                      "required": [
                        "pageNumber",
                        "pageSize"
                      ]
                    }
                  },
                  "required": [
                    "sites",
                    "page"
                  ]
                }
              }
            },
            "description": "Successful response\n"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Unauthorized access HTTP problem.\n",
                  "allOf": [
                    {
                      "description": "Base HTTP problem type.\n",
                      "properties": {
                        "status": {
                          "type": "integer",
                          "description": "Optionally specified HTTP status code.\n"
                        },
                        "type": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string",
                          "description": "Human readable title of the class of problem that occurred.\n"
                        },
                        "detail": {
                          "type": "string",
                          "description": "Human readable description of the class of problem that occurred.\n"
                        },
                        "instance": {
                          "type": "string",
                          "description": "Unique identifier for an instance of a problem.\n",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "type",
                        "instance"
                      ]
                    },
                    {
                      "properties": {
                        "entity": {
                          "description": "A summary of an entity involved in a problem.\n",
                          "properties": {
                            "entityType": {
                              "type": "string",
                              "description": "Name of the entity type.\n"
                            },
                            "entityId": {
                              "description": "Id of the entity in question.\n"
                            },
                            "entityName": {
                              "type": "string",
                              "description": "Human readable name of the entity, if provided by the entity type.\n"
                            },
                            "entityHref": {
                              "type": "string",
                              "format": "uri",
                              "description": "URI pointing to the entity.\n"
                            }
                          },
                          "required": [
                            "entityType",
                            "entityId",
                            "entityHref"
                          ]
                        },
                        "permission": {
                          "type": "string",
                          "description": "The permission required to access the entity.\n"
                        }
                      }
                    }
                  ],
                  "required": [
                    "type",
                    "instance",
                    "entity",
                    "permission"
                  ]
                }
              }
            },
            "description": "An HTTP 403 will be returned if the principal is not authorized to access the instance of node that the request was made against.\n"
          }
        },
        "security": [
          {
            "oauth_v2": [
              "coblitz.co",
              "coblitz.obs",
              "infrastructure.admin",
              "infrastructure.read"
            ]
          }
        ]
      },
      "post": {
        "operationId": "post-sites",
        "summary": "Create a new site",
        "description": "This operation creates a new site.",
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "name": "us-ma-east-1",
                "abbreviatedName": "usmae1"
              },
              "schema": {
                "description": "' A site assigns a name to a group of nodes.'\n",
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 254,
                    "description": "The unique name for this site.\n"
                  },
                  "abbreviatedName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 50,
                    "description": "A shortened name for this site.\n"
                  }
                },
                "required": [
                  "name",
                  "abbreviatedName"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "example": {
                  "$ref": "#/paths/~1sites/get/responses/200/content/application~1json/example"
                },
                "schema": {
                  "description": "Site detailed read schema.\n",
                  "properties": {
                    "siteId": {
                      "$ref": "#/paths/~1sites~1%7BsiteId%7D/put/requestBody/content/application~1json/schema/properties/siteId"
                    },
                    "name": {
                      "$ref": "#/paths/~1sites/post/requestBody/content/application~1json/schema/properties/name"
                    },
                    "abbreviatedName": {
                      "$ref": "#/paths/~1sites/post/requestBody/content/application~1json/schema/properties/abbreviatedName"
                    }
                  },
                  "required": [
                    "siteId",
                    "name",
                    "abbreviatedName"
                  ]
                }
              }
            },
            "description": "An HTTP 201 will be returned if the request is successfully processed, and a new site object is created.  The location of the new object will be specified in the `Location` header.\n",
            "headers": {
              "Location": {
                "description": "The `Location` header specifies a URL pointing to the newly created resource.\n",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "example": {
                  "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/errors#core.constraint-violation",
                  "title": "The request entity is invalid",
                  "detail": "Constraint violations were detected",
                  "instance": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/v1/nodes#7284f092-f2f1-4131-a9dc-f8a5b7b6980f",
                  "violations": [
                    {
                      "property": "#/hostname",
                      "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/errors#core.not-null-violation",
                      "detail": "may not be null"
                    }
                  ]
                },
                "schema": {
                  "description": "An HTTP 400 will be returned if the request is badly formed or has constraint violations\n",
                  "anyOf": [
                    {
                      "description": "Invalid path param HTTP problem.  Used when the server can't process a path param due to incorrect type/formatting.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "pathParamName": {
                              "type": "string"
                            },
                            "pathParamValue": {
                              "description": "The value supplied in the request.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "pathParamName",
                        "pathParamValue"
                      ]
                    },
                    {
                      "description": "JSON mapping HTTP problem.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "property": {
                              "type": "string"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "property"
                      ]
                    },
                    {
                      "$ref": "#/paths/~1sites/post/responses/400/content/application~1json/schema/anyOf/0"
                    },
                    {
                      "description": "Path-param/entity-field mismatch HTTP problem.  In many situations, we have entities referenced via a URI that includes their identifier.  That identifier may also be in the body.  If they don't match, it's unclear what the intended operation is, so this error is used.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "uriParameterName": {
                              "type": "string",
                              "description": "The name of the URI parameter.\n"
                            },
                            "uriParameterValue": {
                              "description": "The supplied value of the URI parameter.\n"
                            },
                            "property": {
                              "type": "string",
                              "description": "The name of the field in the entity that must match the URI param.\n"
                            },
                            "propertyValue": {
                              "description": "The supplied value of the field.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "uriParameterName",
                        "uriParameterValue",
                        "property",
                        "propertyValue"
                      ]
                    },
                    {
                      "description": "Invalid parameter HTTP problem.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "parameter": {
                              "type": "string",
                              "description": "The parameter that is in error.\n"
                            },
                            "value": {
                              "description": "The value that was provided.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "parameter",
                        "value"
                      ]
                    },
                    {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "violations": {
                              "type": "array",
                              "items": {
                                "anyOf": [
                                  {
                                    "allOf": [
                                      {
                                        "properties": {
                                          "property": {
                                            "type": "string",
                                            "description": "The property in the request that has caused a violation.\n"
                                          },
                                          "value": {
                                            "description": "The value in the request that has caused a violation.\n"
                                          },
                                          "type": {
                                            "type": "string",
                                            "format": "uri",
                                            "description": "Uniquely identifies this HTTP problem.\n"
                                          },
                                          "detail": {
                                            "type": "string",
                                            "description": "Human readable description of the problem.\n"
                                          }
                                        },
                                        "required": [
                                          "property",
                                          "type"
                                        ]
                                      }
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1sites/post/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "min": {
                                            "type": "integer",
                                            "description": "Specifies the minimum allowable value for the given property.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "min"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1sites/post/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "min": {
                                            "type": "integer",
                                            "description": "Specifies the maximum allowable value for the given property.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "max"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1sites/post/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "min": {
                                            "type": "integer",
                                            "description": "Specifies the maximum allowable size for the given property.  For strings this is the string length.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "size"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1sites/post/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "pattern": {
                                            "type": "string",
                                            "description": "Specifies the allowable pattern for a property.  This would usually be a regular expression.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "pattern"
                                    ]
                                  },
                                  {
                                    "allOf": [
                                      {
                                        "$ref": "#/paths/~1sites/post/responses/400/content/application~1json/schema/anyOf/5/allOf/1/properties/violations/items/anyOf/0/allOf/0"
                                      },
                                      {
                                        "properties": {
                                          "requiredValue": {
                                            "type": "boolean",
                                            "description": "Specifies the allowable condition value for a property.\n"
                                          }
                                        }
                                      }
                                    ],
                                    "required": [
                                      "property",
                                      "type",
                                      "value",
                                      "requiredValue"
                                    ]
                                  }
                                ]
                              }
                            }
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            },
            "description": "An HTTP 400 will be returned if the request is badly formed or has constraint violations\n"
          },
          "403": {
            "$ref": "#/paths/~1sites/get/responses/403"
          },
          "409": {
            "content": {
              "application/json": {
                "example": {
                  "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/errors#core.entity-property-conflict",
                  "title": "The request has conflicting properties with existing configuration",
                  "detail": "An entity with property 'hostname' of 'test.akamai.com' already exists",
                  "instance": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/v1/nodes#a4e84e37-ec37-4a13-83d7-ba1d75a36029",
                  "conflictingProperty": "#/hostname",
                  "conflictingValue": "test.akamai.com",
                  "conflictingEntity": {
                    "entityHref": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/v1/nodes/1",
                    "entityType": "Node",
                    "entityId": 1
                  }
                },
                "schema": {
                  "description": "Super type to enumerate 409 class errors.\n",
                  "anyOf": [
                    {
                      "description": "Entity property conflict HTTP problem.  Used when an attempt is made to set a property on an entity that would cause conflict with an existent entity.  For example, attempting to set duplicate surrogate identifiers.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "conflictingProperty": {
                              "type": "string"
                            },
                            "conflictingValue": {
                              "description": "The supplied value.\n"
                            },
                            "conflictingEntity": {
                              "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/1/properties/entity",
                              "description": "The existing entity which the proposed change is in conflict with.\n"
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "conflictingProperty",
                        "conflictingValue",
                        "conflictingEntity"
                      ]
                    },
                    {
                      "description": "Entity referenced HTTP problem.  Used in cases where an attempt is made to delete an entity that other entities are referring to, and simply removing the reference would not lead to a valid state.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "referencedEntity": {
                              "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/1/properties/entity"
                            },
                            "referringEntities": {
                              "type": "array",
                              "items": {
                                "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/1/properties/entity"
                              }
                            }
                          }
                        }
                      ],
                      "required": [
                        "type",
                        "instance",
                        "referencedEntity",
                        "referringEntities"
                      ]
                    },
                    {
                      "description": "Non-existent reference HTTP problem.  Used when a mutable operation attempts to refer to another resource that does not exist.\n",
                      "allOf": [
                        {
                          "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/0"
                        },
                        {
                          "properties": {
                            "referencedType": {
                              "type": "string",
                              "description": "The type of the object that was referenced.\n"
                            },
                            "referencedId": {
                              "description": "The Id of the object that was referenced.\n"
                            }
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            },
            "description": "An HTTP 409 will be returned if the node offered for create/update would lead to a conflicting state.\n"
          }
        },
        "security": [
          {
            "oauth_v2": [
              "coblitz.co",
              "infrastructure.admin"
            ]
          }
        ]
      }
    },
    "/sites/{siteId}": {
      "get": {
        "operationId": "get-site",
        "summary": "Get a site",
        "description": "This operation retrieves the details of a site.",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "$ref": "#/paths/~1sites~1%7BsiteId%7D/put/requestBody/content/application~1json/example"
                },
                "schema": {
                  "$ref": "#/paths/~1sites/post/responses/201/content/application~1json/schema"
                }
              }
            },
            "description": "Successful response\n"
          },
          "403": {
            "$ref": "#/paths/~1sites/get/responses/403"
          },
          "404": {
            "description": "An HTTP 404 will be returned if the node with the specified entityId is not found.\n",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Entity not found HTTP problem.  Used when an attempt is made against an entity that does not exist.\n",
                  "allOf": [
                    {
                      "$ref": "#/paths/~1sites/get/responses/403/content/application~1json/schema/allOf/0"
                    },
                    {
                      "properties": {
                        "entityType": {
                          "type": "string",
                          "description": "The type of entity.\n"
                        },
                        "entityId": {
                          "description": "The Id of the referenced entity.\n"
                        }
                      }
                    }
                  ],
                  "required": [
                    "type",
                    "instance",
                    "entityType",
                    "entityId"
                  ]
                },
                "example": {
                  "type": "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/infrastructure/errors#core.entity-not-found",
                  "title": "The requested entity could not be found",
                  "detail": "Node 1 does not exist",
                  "entityType": "Node",
                  "entityId": 1
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth_v2": [
              "coblitz.co",
              "coblitz.obs",
              "infrastructure.admin",
              "infrastructure.read"
            ]
          }
        ]
      },
      "parameters": [
        {
          "description": "Uniquely identifies a site.\n",
          "in": "path",
          "name": "siteId",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 1
          }
        }
      ]
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Remove a site](https://techdocs.akamai.com/aura-infrastructure/reference/delete-site.md)
* [Update a site](https://techdocs.akamai.com/aura-infrastructure/reference/put-site.md)