> ## Documentation Index
> Fetch the complete documentation index at: https://docs.together.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a shadow experiment target

> Retrieves one target configured to receive mirrored requests from a shadow experiment.



## OpenAPI

````yaml GET /projects/{projectId}/endpoints/{endpointId}/shadowExperiments/{experimentId}/targets/{id}
openapi: 3.1.0
info:
  title: Together APIs
  description: The Together REST API. See https://docs.together.ai for more details.
  version: 2.0.0
  termsOfService: https://www.together.ai/terms-of-service
  contact:
    name: Together Support
    url: https://www.together.ai/contact
  license:
    name: MIT
    url: https://github.com/togethercomputer/openapi/blob/main/LICENSE
servers:
  - url: https://api.together.ai/v1
    description: Default environment for APIs
  - url: https://api-inference.together.ai/v2
    description: Optimized environment for inference
security:
  - bearerAuth: []
paths:
  /projects/{projectId}/endpoints/{endpointId}/shadowExperiments/{experimentId}/targets/{id}:
    get:
      tags:
        - ShadowExperimentService
      summary: Get a shadow experiment target
      description: >-
        Retrieves one target configured to receive mirrored requests from a
        shadow experiment.
      operationId: ShadowExperimentService_GetTarget
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            description: Project identifier.
            type: string
        - name: endpointId
          in: path
          required: true
          schema:
            description: Endpoint identifier.
            type: string
        - name: experimentId
          in: path
          required: true
          schema:
            description: Shadow experiment identifier.
            type: string
        - name: id
          in: path
          required: true
          schema:
            description: Shadow experiment target identifier.
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DE.ShadowExperimentTarget'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorData'
        default:
          description: Default error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorData'
      servers:
        - url: https://api.together.ai/v2
components:
  schemas:
    DE.ShadowExperimentTarget:
      type: object
      description: Deployment that receives mirrored traffic for a shadow experiment.
      required:
        - id
        - experimentId
        - name
        - targetDeploymentId
        - createdAt
        - updatedAt
        - etag
      properties:
        id:
          type: string
          description: Output only. Unique shadow experiment target identifier.
          readOnly: true
        experimentId:
          type: string
          description: Output only. Shadow experiment this target belongs to.
          readOnly: true
        name:
          type: string
          description: >-
            Human-readable target name, unique within the shadow experiment. At
            most 256 characters.
        targetDeploymentId:
          type: string
          description: >-
            Deployment under the parent endpoint that receives mirrored traffic.
            Shadow targets should be excluded from the endpoint's live traffic
            split.
        description:
          type: string
          description: Optional free-form target description.
        createdAt:
          type: string
          description: Output only. Timestamp when the target was created.
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          description: Output only. Timestamp when the target was last updated.
          format: date-time
          readOnly: true
        etag:
          type: string
          description: >-
            Opaque version tag for optimistic concurrency control. Returned on
            read; set it on update or delete requests for consistent
            read-modify-write.
    ErrorData:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              nullable: false
            type:
              type: string
              nullable: false
            param:
              type: string
              nullable: true
              default: null
            code:
              type: string
              nullable: true
              default: null
          required:
            - type
            - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      x-bearer-format: bearer
      x-default: default

````