> ## 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.

# Post applications aievidence proposal



## OpenAPI

````yaml /spec.json post /applications/{id}/ai/evidence-proposal
openapi: 3.1.1
info:
  title: Reactive Resume
  version: 6.0.10
  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:
  /applications/{id}/ai/evidence-proposal:
    post:
      tags:
        - Applications
        - AI
      operationId: applications.ai.proposeEvidence
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                factId:
                  type: string
              required:
                - factId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  resumeId:
                    type: string
                  name:
                    type: string
                  reviewRequired:
                    const: true
                  generationStatus:
                    enum:
                      - ready
                      - interrupted
                    type: string
                  conversation:
                    type: object
                    properties:
                      thread:
                        type: object
                        properties:
                          id:
                            type: string
                          title:
                            type: string
                          firstMessage:
                            anyOf:
                              - type: string
                              - type: 'null'
                          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
                      history:
                        type: object
                        properties:
                          cutoffAt:
                            anyOf:
                              - type: string
                                format: date-time
                                x-native-type: date
                              - type: 'null'
                          withheld:
                            type: array
                            items:
                              type: string
                        required:
                          - cutoffAt
                          - withheld
                      interrupted:
                        type: array
                        items:
                          type: string
                    required:
                      - thread
                      - messages
                      - attachments
                      - document
                      - isReadOnly
                required:
                  - resumeId
                  - name
        '400':
          description: '400'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: BAD_REQUEST
                      status:
                        const: 400
                      message:
                        type: string
                        default: >-
                          The application or AI request isn't valid. Check the
                          details and try again.
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
        '502':
          description: '502'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: BAD_GATEWAY
                      status:
                        const: 502
                      message:
                        type: string
                        default: >-
                          The AI provider returned an error or couldn't be
                          reached. Try again, or check its settings.
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
        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 --request POST
            "https://rxresu.me/api/openapi/applications/<id>/ai/evidence-proposal"
            --header "x-api-key: <api-key>" --header "Content-Type:
            application/json" --data '{
              "factId": "<string>"
            }'
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.