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

# Recover Text Chat Session

> Find a session by the client-supplied request_id used during creation. A null result means that creation is not currently visible; it is not permission to create duplicate work blindly.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/workflow/{workflow_id}/text-chat/sessions/recovery/{request_id}
openapi: 3.1.0
info:
  title: Athena API
  version: 1.0.0
  description: >-
    Hosted Athena customer API. Authenticate backend management and call-trigger
    requests with X-API-Key. Website embeds and artifact playback use their own
    scoped tokens. Provider availability, feature settings, and verification
    limits are described in the guides.
servers:
  - url: https://athena.tryopencomputer.com
    description: Hosted Athena API
security: []
paths:
  /api/v1/workflow/{workflow_id}/text-chat/sessions/recovery/{request_id}:
    get:
      tags:
        - Workflow
      summary: Recover Text Chat Session
      description: >-
        Find a session by the client-supplied request_id used during creation. A
        null result means that creation is not currently visible; it is not
        permission to create duplicate work blindly.
      operationId: recoverTextChatSession
      parameters:
        - name: workflow_id
          in: path
          required: true
          schema:
            type: integer
            title: Workflow Id
        - name: request_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Request Id
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/WorkflowRunTextSessionResponse'
                  - type: 'null'
                title: Response Recovertextchatsession
        '401':
          description: Authentication is missing or invalid.
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    WorkflowRunTextSessionResponse:
      properties:
        workflow_run_id:
          type: integer
          title: Workflow Run Id
        workflow_id:
          type: integer
          title: Workflow Id
        name:
          type: string
          title: Name
        mode:
          type: string
          title: Mode
        state:
          type: string
          title: State
        is_completed:
          type: boolean
          title: Is Completed
        revision:
          type: integer
          title: Revision
        initial_context:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Initial Context
        gathered_context:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Gathered Context
        annotations:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Annotations
        session_data:
          additionalProperties: true
          type: object
          title: Session Data
        checkpoint:
          additionalProperties: true
          type: object
          title: Checkpoint
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
      type: object
      required:
        - workflow_run_id
        - workflow_id
        - name
        - mode
        - state
        - is_completed
        - revision
        - session_data
        - checkpoint
        - created_at
      title: WorkflowRunTextSessionResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.