GET
/
v1
/
segments
/
{id}
cURL
curl --request GET \
  --url https://api.pelanor.io/v1/segments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "bulk_creation_relational_filters": [
    {
      "filters": [
        {
          "operator": "Equals",
          "property": {
            "type": "Region"
          },
          "values": [
            "<string>"
          ]
        }
      ]
    }
  ],
  "cost_timeseries": [
    {
      "timestamp": "<string>",
      "value": 123
    }
  ],
  "created_at": "<string>",
  "dimension_id": "<string>",
  "dimension_name": "<string>",
  "id": "<string>",
  "is_custom": true,
  "last_30_days_cost": 123,
  "manual_relational_filters": [
    {
      "filters": [
        {
          "operator": "Equals",
          "property": {
            "type": "Region"
          },
          "values": [
            "<string>"
          ]
        }
      ]
    }
  ],
  "name": "<string>",
  "priority": 123,
  "properties_values": [
    {
      "property_id": "<string>",
      "values": [
        "<string>"
      ]
    }
  ],
  "workspace_id": "<string>",
  "workspace_name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

The response is of type object.