Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2026-07-15/reference/get_segment.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_segment.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-07-15

You're reading the reference for API revision 2026-07-15. The latest revision is 2026-10-15. See this page in the latest revision.

Get Segment

GEThttps://a.klaviyo.com/api/segments/{id}

Get a segment with the given segment ID.

Revision header
revision: 2026-07-15required
Scopes
segments:read
Rate limits
Burst: 75/sSteady: 750/m

Rate limits when using the additional-fields[segment]=profile_count parameter in your API request:
Burst: 1/s
Steady: 15/m

To learn more about how the additional-fields parameter impacts rate limits, check out our Rate limits, status codes, and errors guide.

Path parameters

  • id#stringrequired

Query parameters

  • additional-fields[segment]#string[]

    Request additional fields not included by default in the response. Supported values: 'profile_count'

    Allowed values:
    • profile_count
  • fields[flow]#string[]

    For more information please visit API overview

    Allowed values:
    • archived
    • created
    • id
    • name
    • status
    • trigger_type
    • updated
  • fields[segment]#string[]

    For more information please visit API overview

    Show 10 allowed values
    • created
    • definition
    • definition.condition_groups
    • id
    • is_active
    • is_processing
    • is_starred
    • name
    • profile_count
    • updated
  • fields[tag]#string[]

    For more information please visit API overview

    Allowed values:
    • id
    • name
  • include#string[]

    For more information please visit API overview

    Allowed values:
    • flow-triggers
    • tags

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2026-07-15

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • segment
    • id#stringrequired
    • attributes#objectrequired
      Show 1 field
      • profile_count#integernullable
    • relationships#object
      Show 3 fields
      • profiles#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • profile
          • id#stringrequired
      • tags#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • tag
          • id#stringrequired
      • flow-triggers#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • flow
          • id#stringrequired
  • included#oneOf[]

    One of:

    1. Option 1: TagResponseObjectResource
      • type#stringrequired
        Allowed values:
        • tag
      • id#stringrequired

        The Tag ID

        Example: abcd1234-ef56-gh78-ij90-abcdef123456

      • attributes#objectrequired
        Show 1 field
        • name#stringrequired

          The Tag name

          Example: My Tag

      • relationships#object
        Show 5 fields
        • tag-group#object
          Show 2 fields
          • data#object
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • tag-group
            • id#stringrequired
        • lists#object
          Show 2 fields
          • data#object[]
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • list
            • id#stringrequired
        • segments#object
          Show 2 fields
          • data#object[]
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • segment
            • id#stringrequired
        • campaigns#object
          Show 2 fields
          • data#object[]
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • campaign
            • id#stringrequired
        • flows#object
          Show 2 fields
          • data#object[]
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • flow
            • id#stringrequired
    2. Option 2: FlowResponseObjectResource
      • type#stringrequired
        Allowed values:
        • flow
      • id#stringrequired
      • attributes#objectrequired
        Show 6 fields
        • name#stringnullable
        • status#stringnullable
        • archived#booleannullable
        • created#string<date-time>nullable

          Example: 2022-11-08T00:00:00+00:00

        • updated#string<date-time>nullable

          Example: 2022-11-08T00:00:00+00:00

        • trigger_type#stringnullable

          Corresponds to the object which triggered the flow.

          Allowed values:
          • Added to List
          • Date Based
          • Low Inventory
          • Metric
          • Price Drop
          • Unconfigured
      • relationships#object
        Show 2 fields
        • flow-actions#object
          Show 2 fields
          • data#object[]
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • flow-action
            • id#stringrequired
        • tags#object
          Show 2 fields
          • data#object[]
            Show 2 fields
            • type#stringrequired
              Allowed values:
              • tag
            • id#stringrequired
  • meta#object

    Response-level metadata

    Show 1 field
    • agent_hints#object

      Optional hints emitted by the API for agent callers

      Show 1 field
      • next_steps#string[]

        Suggested follow-up actions for agents to take after this response

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string