Adobe Experience Cloud · Capability

Adobe Experience Cloud Adobe Analytics 2.0 API — Segments

Adobe Experience Cloud Adobe Analytics 2.0 API — Segments. 5 operations. Lead operation: Adobe Analytics Adobe Experience Cloud List Segments. Self-contained Naftiko capability covering one Adobe Experience Cloud business surface.

Run with Naftiko Adobe Experience CloudSegments

What You Can Do

GET
Listsegments — Adobe Analytics Adobe Experience Cloud List Segments
/v1/api/{companyid}/segments
POST
Createsegment — Adobe Analytics Adobe Experience Cloud Create a Segment
/v1/api/{companyid}/segments
GET
Getsegment — Adobe Analytics Adobe Experience Cloud Get a Segment
/v1/api/{companyid}/segments/{segmentid}
PUT
Updatesegment — Adobe Analytics Adobe Experience Cloud Update a Segment
/v1/api/{companyid}/segments/{segmentid}
DELETE
Deletesegment — Adobe Analytics Adobe Experience Cloud Delete a Segment
/v1/api/{companyid}/segments/{segmentid}

MCP Tools

adobe-analytics-adobe-experience-cloud

Adobe Analytics Adobe Experience Cloud List Segments

read-only idempotent
adobe-analytics-adobe-experience-cloud-2

Adobe Analytics Adobe Experience Cloud Create a Segment

adobe-analytics-adobe-experience-cloud-3

Adobe Analytics Adobe Experience Cloud Get a Segment

read-only idempotent
adobe-analytics-adobe-experience-cloud-4

Adobe Analytics Adobe Experience Cloud Update a Segment

idempotent
adobe-analytics-adobe-experience-cloud-5

Adobe Analytics Adobe Experience Cloud Delete a Segment

idempotent

Capability Spec

adobe-analytics-segments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Adobe Experience Cloud Adobe Analytics 2.0 API — Segments
  description: 'Adobe Experience Cloud Adobe Analytics 2.0 API — Segments. 5 operations. Lead operation: Adobe Analytics Adobe
    Experience Cloud List Segments. Self-contained Naftiko capability covering one Adobe Experience Cloud business surface.'
  tags:
  - Adobe Experience Cloud
  - Segments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADOBE_EXPERIENCE_CLOUD_API_KEY: ADOBE_EXPERIENCE_CLOUD_API_KEY
capability:
  consumes:
  - type: http
    namespace: adobe-analytics-segments
    baseUri: https://analytics.adobe.io
    description: Adobe Experience Cloud Adobe Analytics 2.0 API — Segments business capability. Self-contained, no shared
      references.
    resources:
    - name: api-companyId-segments
      path: /api/{companyId}/segments
      operations:
      - name: listsegments
        method: GET
        description: Adobe Analytics Adobe Experience Cloud List Segments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: companyId
          in: path
          type: string
          description: The global company ID.
          required: true
        - name: rsids
          in: query
          type: string
          description: Comma-separated list of report suite IDs to filter segments.
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return.
        - name: page
          in: query
          type: integer
          description: Page number for pagination.
      - name: createsegment
        method: POST
        description: Adobe Analytics Adobe Experience Cloud Create a Segment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: companyId
          in: path
          type: string
          description: The global company ID.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-companyId-segments-segmentId
      path: /api/{companyId}/segments/{segmentId}
      operations:
      - name: getsegment
        method: GET
        description: Adobe Analytics Adobe Experience Cloud Get a Segment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: companyId
          in: path
          type: string
          required: true
        - name: segmentId
          in: path
          type: string
          description: The segment ID.
          required: true
      - name: updatesegment
        method: PUT
        description: Adobe Analytics Adobe Experience Cloud Update a Segment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: companyId
          in: path
          type: string
          required: true
        - name: segmentId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletesegment
        method: DELETE
        description: Adobe Analytics Adobe Experience Cloud Delete a Segment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: companyId
          in: path
          type: string
          required: true
        - name: segmentId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.ADOBE_EXPERIENCE_CLOUD_API_KEY}}'
  exposes:
  - type: rest
    namespace: adobe-analytics-segments-rest
    port: 8080
    description: REST adapter for Adobe Experience Cloud Adobe Analytics 2.0 API — Segments. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/{companyid}/segments
      name: api-companyid-segments
      description: REST surface for api-companyId-segments.
      operations:
      - method: GET
        name: listsegments
        description: Adobe Analytics Adobe Experience Cloud List Segments
        call: adobe-analytics-segments.listsegments
        with:
          companyId: rest.companyId
          rsids: rest.rsids
          limit: rest.limit
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsegment
        description: Adobe Analytics Adobe Experience Cloud Create a Segment
        call: adobe-analytics-segments.createsegment
        with:
          companyId: rest.companyId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/{companyid}/segments/{segmentid}
      name: api-companyid-segments-segmentid
      description: REST surface for api-companyId-segments-segmentId.
      operations:
      - method: GET
        name: getsegment
        description: Adobe Analytics Adobe Experience Cloud Get a Segment
        call: adobe-analytics-segments.getsegment
        with:
          companyId: rest.companyId
          segmentId: rest.segmentId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatesegment
        description: Adobe Analytics Adobe Experience Cloud Update a Segment
        call: adobe-analytics-segments.updatesegment
        with:
          companyId: rest.companyId
          segmentId: rest.segmentId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletesegment
        description: Adobe Analytics Adobe Experience Cloud Delete a Segment
        call: adobe-analytics-segments.deletesegment
        with:
          companyId: rest.companyId
          segmentId: rest.segmentId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: adobe-analytics-segments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Adobe Experience Cloud Adobe Analytics 2.0 API — Segments. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: adobe-analytics-adobe-experience-cloud
      description: Adobe Analytics Adobe Experience Cloud List Segments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: adobe-analytics-segments.listsegments
      with:
        companyId: tools.companyId
        rsids: tools.rsids
        limit: tools.limit
        page: tools.page
      outputParameters:
      - type: object
        mapping: $.
    - name: adobe-analytics-adobe-experience-cloud-2
      description: Adobe Analytics Adobe Experience Cloud Create a Segment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: adobe-analytics-segments.createsegment
      with:
        companyId: tools.companyId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: adobe-analytics-adobe-experience-cloud-3
      description: Adobe Analytics Adobe Experience Cloud Get a Segment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: adobe-analytics-segments.getsegment
      with:
        companyId: tools.companyId
        segmentId: tools.segmentId
      outputParameters:
      - type: object
        mapping: $.
    - name: adobe-analytics-adobe-experience-cloud-4
      description: Adobe Analytics Adobe Experience Cloud Update a Segment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: adobe-analytics-segments.updatesegment
      with:
        companyId: tools.companyId
        segmentId: tools.segmentId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: adobe-analytics-adobe-experience-cloud-5
      description: Adobe Analytics Adobe Experience Cloud Delete a Segment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: adobe-analytics-segments.deletesegment
      with:
        companyId: tools.companyId
        segmentId: tools.segmentId
      outputParameters:
      - type: object
        mapping: $.