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

# Get agent thread



## OpenAPI

````yaml /spec.json get /agent/threads/{id}
openapi: 3.1.1
info:
  title: Reactive Resume
  version: 6.0.3
  description: >-
    Reactive Resume API. Mutations do not support Idempotency-Key. Do not
    automatically retry POST, PUT, PATCH or DELETE requests after a timeout:
    first read the resource to determine whether the operation succeeded.
    Existing enum values and response shapes are retained for compatibility.
  license:
    name: MIT
    url: https://github.com/reactive-resume/reactive-resume/blob/main/LICENSE
  contact:
    name: Amruth Pillai
    email: amruth@rxresu.me
    url: https://amruthpillai.com
servers:
  - url: https://rxresu.me/api/openapi
security:
  - apiKey: []
  - bearerAuth: []
  - cookieAuth: []
externalDocs:
  url: https://docs.rxresu.me
  description: Reactive Resume Documentation
paths:
  /agent/threads/{id}:
    get:
      tags:
        - Agent
      summary: Get agent thread
      operationId: getAgentThread
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  thread:
                    type: object
                    properties:
                      id:
                        type: string
                      title:
                        type: string
                      status:
                        type: string
                      scope:
                        enum:
                          - document
                          - application
                          - career
                        type: string
                      applicationId:
                        anyOf:
                          - type: string
                          - type: 'null'
                      sourceResumeId:
                        anyOf:
                          - type: string
                          - type: 'null'
                      workingResumeId:
                        anyOf:
                          - type: string
                          - type: 'null'
                      coverLetterId:
                        anyOf:
                          - type: string
                          - type: 'null'
                      aiProviderId:
                        anyOf:
                          - type: string
                          - type: 'null'
                      resumeName:
                        anyOf:
                          - type: string
                          - type: 'null'
                      coverLetterName:
                        anyOf:
                          - type: string
                          - type: 'null'
                      providerLabel:
                        anyOf:
                          - type: string
                          - type: 'null'
                      editsProposed:
                        type: number
                      editsAccepted:
                        type: number
                      activeRunId:
                        anyOf:
                          - type: string
                          - type: 'null'
                      lastMessageAt:
                        type: string
                        format: date-time
                        x-native-type: date
                      archivedAt:
                        anyOf:
                          - type: string
                            format: date-time
                            x-native-type: date
                          - type: 'null'
                      deletedAt:
                        anyOf:
                          - type: string
                            format: date-time
                            x-native-type: date
                          - type: 'null'
                      createdAt:
                        type: string
                        format: date-time
                        x-native-type: date
                      updatedAt:
                        type: string
                        format: date-time
                        x-native-type: date
                    required:
                      - id
                      - title
                      - status
                      - scope
                      - applicationId
                      - sourceResumeId
                      - workingResumeId
                      - coverLetterId
                      - aiProviderId
                      - resumeName
                      - coverLetterName
                      - providerLabel
                      - editsProposed
                      - editsAccepted
                      - activeRunId
                      - lastMessageAt
                      - archivedAt
                      - deletedAt
                      - createdAt
                      - updatedAt
                  messages:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        role:
                          enum:
                            - system
                            - user
                            - assistant
                          type: string
                        parts:
                          type: array
                          items:
                            type: object
                            properties:
                              type:
                                type: string
                            required:
                              - type
                            additionalProperties: {}
                        metadata: {}
                      required:
                        - id
                        - role
                        - parts
                  attachments:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        threadId:
                          type: string
                        messageId:
                          anyOf:
                            - type: string
                            - type: 'null'
                        filename:
                          type: string
                        mediaType:
                          type: string
                        size:
                          type: number
                        storagePath:
                          type: string
                        createdAt:
                          type: string
                          format: date-time
                          x-native-type: date
                      required:
                        - id
                        - threadId
                        - messageId
                        - filename
                        - mediaType
                        - size
                        - createdAt
                  document:
                    anyOf:
                      - type: object
                        properties:
                          kind:
                            enum:
                              - resume
                              - letter
                            type: string
                          id:
                            type: string
                          name:
                            type: string
                          locked:
                            type: boolean
                        required:
                          - kind
                          - id
                          - name
                          - locked
                      - type: 'null'
                  isReadOnly:
                    type: boolean
                required:
                  - thread
                  - messages
                  - attachments
                  - document
                  - isReadOnly
        default:
          description: >-
            Structured API error. See status and code; do not branch on message
            text.
          content:
            application/json:
              schema:
                type: object
                required:
                  - defined
                  - code
                  - status
                  - message
                properties:
                  defined:
                    type: boolean
                  code:
                    type: string
                  status:
                    type: integer
                  message:
                    type: string
                  data: {}
      security:
        - apiKey: []
        - bearerAuth: []
        - cookieAuth: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: >-
            curl "https://rxresu.me/api/openapi/agent/threads/<id>" --header
            "x-api-key: <api-key>"
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
      description: The API key to authenticate requests.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: An OAuth access token issued by this instance for its API/MCP resource.
    cookieAuth:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: >-
        Browser session (secure deployments use the __Secure- prefix). Cookie
        requests must originate from this instance.

````

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