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

# GET /sessions/{uid}/data/sse

> Obtains model data for a session via SSE events. Events either start from the given data sid or from the lowest data sid currently available for the session.




## OpenAPI

````yaml docs/granta-mi/granta-mi-connected-materials/api/integration_service.yaml GET /sessions/{uid}/data/sse
openapi: 3.0.0
info:
  version: 1.0.0
  title: Granta Integration Service
  description: Integration Service OpenAPI
servers:
  - url: https://integration.service/api/v1/
security:
  - OpenId:
      - is_read
      - is_write
      - is_read_write
paths:
  /sessions/{uid}/data/sse:
    get:
      description: >
        Obtains model data for a session via SSE events. Events either start
        from the given data sid or from the lowest data sid currently available
        for the session.
      operationId: sessions-uid-data-sse-get
      parameters:
        - $ref: '#/components/parameters/SessionUid'
        - $ref: '#/components/parameters/DataSid'
      responses:
        '200':
          description: Successfully obtained session data
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/SequencedData'
        '400':
          description: Malformed session UUID or data sid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '403':
          description: Session is not owned by user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '404':
          description: Session not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
components:
  parameters:
    SessionUid:
      description: Universally Unique identifier for a session.
      name: uid
      in: path
      required: true
      schema:
        type: string
        format: uuid
    DataSid:
      description: Sequence identifier for a session data message.
      name: id
      in: query
      schema:
        type: integer
  schemas:
    SequencedData:
      description: >-
        Result of a GET sessions data request. This is the session data tagged
        with a sequence id.
      allOf:
        - $ref: '#/components/schemas/Data'
        - type: object
          required:
            - id
          properties:
            id:
              description: >-
                Sequence identity. Message count value used to diffentiate
                messages for a given session.
              type: integer
    HttpError:
      description: >-
        Returned by requests if an error occurs. Holds HTTP status code and
        message
      type: object
      required:
        - error
      properties:
        error:
          description: Fixed field indicating this is an error
          type: object
          required:
            - code
            - message
          properties:
            code:
              description: Text representation of Http status code category
              type: string
            message:
              description: A string describing the specific error that occurred.
              type: string
    Data:
      description: >-
        Holds Session data uploaded by the Granta Material Picker via a Sessions
        data POST request
      type: object
      required:
        - value
      properties:
        value:
          description: >-
            JSON string holding the data. For the Granta Integration Service,
            this is currently JSON object text.
          type: string
  securitySchemes:
    OpenId:
      type: openIdConnect
      openIdConnectUrl: https://azeww22wpoidc01.win.ansys.com/

````