---
updatedAt: 2025-05-19T20:07:41.000Z
agentTools:
  projectIndex: https://developer.ayyeka.com/llms.txt
---

# getStreamCustomAttributeValuesBySite stream

Get Custom Attributes of a Site's Streams

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "RESTAPI Service",
    "description": "RESTful API",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://restapi.ayyeka.com/v2.0"
    }
  ],
  "paths": {
    "/site/{siteId}/streams/customAttributes": {
      "get": {
        "tags": [
          "stream"
        ],
        "summary": "getStreamCustomAttributeValuesBySite stream",
        "description": "Get Custom Attributes of a Site's Streams",
        "operationId": "stream#getStreamCustomAttributeValuesBySite",
        "parameters": [
          {
            "name": "siteId",
            "in": "path",
            "description": "ID of the site whose streams' custom attributes should be returned",
            "required": true,
            "schema": {
              "type": "integer",
              "description": "ID of the site whose streams' custom attributes should be returned",
              "example": 123,
              "minimum": 1,
              "format": "int64"
            },
            "example": 123
          }
        ],
        "responses": {
          "200": {
            "description": "OK response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoredStreamCustomAttributeValueCollection"
                },
                "example": [
                  {
                    "display_name": "Tag",
                    "id": 123,
                    "parent_id": 24,
                    "value": "M4_20513021_940001_FI"
                  },
                  {
                    "display_name": "Tag",
                    "id": 123,
                    "parent_id": 24,
                    "value": "M4_20513021_940001_FI"
                  },
                  {
                    "display_name": "Tag",
                    "id": 123,
                    "parent_id": 24,
                    "value": "M4_20513021_940001_FI"
                  },
                  {
                    "display_name": "Tag",
                    "id": 123,
                    "parent_id": 24,
                    "value": "M4_20513021_940001_FI"
                  }
                ]
              }
            }
          },
          "400": {
            "description": "bad_request: Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "404": {
            "description": "not_found: Stream not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "429": {
            "description": "too_many_requests: Too many requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "500": {
            "description": "internal_server_error: System error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          }
        },
        "security": [
          {
            "jwt_header_Authorization": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AkapiStoredStreamCustomAttributeValue": {
        "type": "object",
        "properties": {
          "display_name": {
            "type": "string",
            "description": "Display name",
            "example": "Tag",
            "maxLength": 256
          },
          "id": {
            "type": "integer",
            "description": "ID is the unique id of the stream custom attribute value.",
            "example": 123,
            "format": "int64"
          },
          "parent_id": {
            "type": "integer",
            "description": "Parent ID",
            "example": 24,
            "minimum": 1
          },
          "value": {
            "type": "string",
            "description": "Value",
            "example": "M4_20513021_940001_FI",
            "maxLength": 256
          }
        },
        "example": {
          "display_name": "Tag",
          "id": 123,
          "parent_id": 24,
          "value": "M4_20513021_940001_FI"
        },
        "required": [
          "id",
          "parent_id",
          "display_name",
          "value"
        ]
      },
      "StoredStreamCustomAttributeValueCollection": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/AkapiStoredStreamCustomAttributeValue"
        },
        "example": [
          {
            "display_name": "Tag",
            "id": 123,
            "parent_id": 24,
            "value": "M4_20513021_940001_FI"
          },
          {
            "display_name": "Tag",
            "id": 123,
            "parent_id": 24,
            "value": "M4_20513021_940001_FI"
          },
          {
            "display_name": "Tag",
            "id": 123,
            "parent_id": 24,
            "value": "M4_20513021_940001_FI"
          }
        ]
      },
      "Unauthorized": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Message of error",
            "example": "incorrect credentials"
          },
          "request_id": {
            "type": "string",
            "description": "Request ID",
            "example": "uGv69FKl"
          }
        },
        "description": "Unauthorized",
        "example": {
          "message": "incorrect credentials",
          "request_id": "uGv69FKl"
        },
        "required": [
          "request_id",
          "message"
        ]
      }
    },
    "securitySchemes": {
      "jwt_header_Authorization": {
        "type": "http",
        "description": "Secures endpoint by requiring a valid JWT token retrieved via the signin endpoint.",
        "scheme": "bearer"
      }
    }
  },
  "tags": [
    {
      "name": "stream"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```