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

# Read a detection's result

> The state of a detection: `pending`, `processing`, `completed` or `failed`. A completed `result` says whether Simli generated the file (`generated_by_simli`) and what each technique found: the `watermark` in the pixels, and the signed `metadata` in the file (`valid`, `content_changed` when the video was re-encoded or edited after Simli made it or the metadata came from another file, `invalid_signature` when it is not signed by Simli, or `absent`). When Simli generated it, `details` names the provider and the model, and nothing else: not the avatar, the account or the session. `scope` states that the check covers the video only, never the audio, which Simli neither generates nor marks. For a request about a particular file, `contact` points to privacy@simli.com. One poll per minute per detection. Results are kept 48 hours; the uploaded file is deleted as soon as it has been read.



## OpenAPI

````yaml https://api.simli.ai/openapi.yaml get /transparency/detections/{detection_id}
openapi: 3.1.0
info:
  title: Simli
  version: 1.0.0
servers:
  - url: https://api.simli.ai/
    description: API server
security:
  - ApiKeyAuth: []
paths:
  /transparency/detections/{detection_id}:
    get:
      summary: Read a detection's result
      description: >-
        The state of a detection: `pending`, `processing`, `completed` or
        `failed`. A completed `result` says whether Simli generated the file
        (`generated_by_simli`) and what each technique found: the `watermark` in
        the pixels, and the signed `metadata` in the file (`valid`,
        `content_changed` when the video was re-encoded or edited after Simli
        made it or the metadata came from another file, `invalid_signature` when
        it is not signed by Simli, or `absent`). When Simli generated it,
        `details` names the provider and the model, and nothing else: not the
        avatar, the account or the session. `scope` states that the check covers
        the video only, never the audio, which Simli neither generates nor
        marks. For a request about a particular file, `contact` points to
        privacy@simli.com. One poll per minute per detection. Results are kept
        48 hours; the uploaded file is deleted as soon as it has been read.
      operationId: readDetection_transparency_detections_get
      parameters:
        - name: detection_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The detection
          content:
            application/json:
              schema:
                type: object
                properties:
                  detection_id:
                    type: string
                    format: uuid
                  status:
                    type: string
                    enum:
                      - pending
                      - processing
                      - completed
                      - failed
                  queue_position:
                    type:
                      - integer
                      - 'null'
                  result:
                    type:
                      - object
                      - 'null'
                    properties:
                      verdict:
                        type: string
                        enum:
                          - generated_by_simli
                          - not_found
                      generated_by_simli:
                        type: boolean
                      summary:
                        type: string
                      details:
                        type:
                          - object
                          - 'null'
                        properties:
                          provider:
                            type: string
                            example: Simli
                          model:
                            type: string
                            example: Trinity-2
                      scope:
                        type: string
                      contact:
                        type: string
                      techniques:
                        type: object
                        properties:
                          watermark:
                            type: object
                            properties:
                              checked:
                                type: boolean
                              found:
                                type: boolean
                              frames_checked:
                                type: integer
                          metadata:
                            type: object
                            properties:
                              checked:
                                type: boolean
                              found:
                                type:
                                  - boolean
                                  - 'null'
                              status:
                                type: string
                                enum:
                                  - valid
                                  - content_changed
                                  - invalid_signature
                                  - absent
                                  - not_checked
                      content_sha256:
                        type: string
                      detector:
                        type: string
                      timestamp:
                        type: string
                        format: date-time
                  failure:
                    type:
                      - object
                      - 'null'
                    properties:
                      reason:
                        type: string
                        enum:
                          - file_refused
                          - timed_out
                      detail:
                        type: string
                      retryable:
                        type: boolean
        '404':
          description: No such detection (or it has expired)
        '429':
          description: One poll per minute per detection; `Retry-After` says when
      security: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-simli-api-key

````

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