> ## Documentation Index
> Fetch the complete documentation index at: https://api-documentation.kare-app.fr/llms.txt
> Use this file to discover all available pages before exploring further.

# Get one report analysis and poll its status



## OpenAPI

````yaml /api/rs/openapi.json get /rs/report-analyses/v1/{id}
openapi: 3.0.3
info:
  title: KARE API
  description: Backend API for the KARE platform
  version: dev
servers:
  - url: http://localhost:3000
    description: Local dev
security: []
tags:
  - name: better-auth
    description: >-
      Better Auth's own endpoints (sign-in, session, MFA, password) - generated
      from the audience's live config via `generateOpenAPISchema()`, not
      hand-written.
paths:
  /rs/report-analyses/v1/{id}:
    get:
      tags:
        - report-analyses
      summary: Get one report analysis and poll its status
      operationId: getReportAnalysisRSV1
      parameters:
        - schema:
            type: array
            items:
              type: string
              enum:
                - result
              description: >-
                Extend options (JSON-encoded array, e.g.
                `?extend=["category"]`):

                - "result": The staged proposal produced by the analysis, plus
                its token/page usage.
          in: query
          name: extend
          required: false
        - schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          in: path
          name: id
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  inboxItemId:
                    nullable: true
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  reportId:
                    nullable: true
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  step:
                    type: string
                    enum:
                      - metadata
                      - anomalies
                      - comparison
                  status:
                    type: string
                    enum:
                      - pending
                      - running
                      - succeeded
                      - failed
                      - cancelled
                  trigger:
                    type: string
                    enum:
                      - manual
                      - auto
                  provider:
                    type: string
                    enum:
                      - anthropic
                      - mistral
                  model:
                    type: string
                    minLength: 1
                    maxLength: 100
                  error:
                    nullable: true
                    type: string
                    maxLength: 2000
                  attempts:
                    type: integer
                    minimum: 0
                    maximum: 3
                  startedAt:
                    nullable: true
                    type: string
                    format: date-time
                  finishedAt:
                    nullable: true
                    type: string
                    format: date-time
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  result:
                    nullable: true
                    type: object
                    additionalProperties: {}
                  usage:
                    nullable: true
                    type: object
                    additionalProperties: {}
                required:
                  - id
                  - inboxItemId
                  - reportId
                  - step
                  - status
                  - trigger
                  - provider
                  - model
                  - error
                  - attempts
                  - startedAt
                  - finishedAt
                  - createdAt
                  - updatedAt
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
                  details: {}
                required:
                  - error
                  - message
                  - requestId
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
                  details: {}
                required:
                  - error
                  - message
                  - requestId
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
                  details: {}
                required:
                  - error
                  - message
                  - requestId
                additionalProperties: false

````