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

# Revise a report

> Rewrites the report using feedback and evidence uploaded by the caller.

People may use their own uploads; API keys may use only files uploaded by that key. An empty feedback string clears the custom brief.
Requires Idempotency-Key; unchanged retries return the accepted job.
New revisions wait until research finishes.



## OpenAPI

````yaml /openapi.json post /v1/atlas/investigations/{investigation_id}/report-revisions
openapi: 3.1.0
info:
  title: Sixtyfour API
  description: >-
    Intelligence API for people and companies: research agents that investigate,
    resolve identities, map relationships and surface risk signals.
  contact:
    name: Sixtyfour
    url: https://sixtyfour.ai/
    email: support@sixtyfour.ai
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api.sixtyfour.ai
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
tags:
  - name: Enrichment
    description: Find and enrich emails, phones, and LinkedIn for people and companies.
  - name: Search
    description: Run deep and filter searches over Sixtyfour's data.
  - name: Workflow
    description: Create, run, and manage enrichment workflows.
  - name: Workflow Schedules
    description: Create and manage recurring schedules for workflows.
  - name: Account
    description: Manage and inspect your account and credit balance.
  - name: Feedback
    description: >-
      Tell us a result was wrong, missing or outdated, and report problems with
      the API, the docs or a tool.
  - name: Intelligence
    description: Verify identity attributes such as age using high-tier OSINT research.
  - name: Atlas
    description: >-
      Start, continue and read Atlas investigations: attribution graph,
      workspace files, reports and exports.
paths:
  /v1/atlas/investigations/{investigation_id}/report-revisions:
    post:
      tags:
        - Atlas
      summary: Revise a report
      description: >-
        Rewrites the report using feedback and evidence uploaded by the caller.


        People may use their own uploads; API keys may use only files uploaded
        by that key. An empty feedback string clears the custom brief.

        Requires Idempotency-Key; unchanged retries return the accepted job.

        New revisions wait until research finishes.
      operationId: >-
        revise_report_v1_atlas_investigations__investigation_id__report_revisions_post
      parameters:
        - name: investigation_id
          in: path
          required: true
          schema:
            type: string
            description: Investigation id, as returned by list or by an xhigh enrichment.
            title: Investigation Id
          description: Investigation id, as returned by list or by an xhigh enrichment.
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 255
            description: >-
              Identifies a revision so an unchanged retry returns the same
              report job for 24 hours. Reusing a key with a different body
              returns 409.
            title: Idempotency-Key
          description: >-
            Identifies a revision so an unchanged retry returns the same report
            job for 24 hours. Reusing a key with a different body returns 409.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReportRevisionRequest'
            example:
              feedback: Lead with the subject's current role.
              evidence: []
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportJob'
              example:
                job_id: atlas-report-example
                status: pending
                byte_size: 0
                follow_up: false
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Unauthorized
        '402':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Payment Required
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
              example:
                detail: >-
                  This Idempotency-Key is already in use. Use a new key for a
                  new request.
                error_code: idempotency_key_reused
                request_id: enrich_3f8b2c1e-9d4a-4c1b-8e2f-6a7b5c4d3e21
                retryable: false
                param: null
          description: Conflict
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobValidationError'
          description: Unprocessable Entity
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Too Many Requests
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicJobError'
          description: Service Unavailable
components:
  schemas:
    ReportRevisionRequest:
      properties:
        feedback:
          type: string
          maxLength: 400000
          title: Feedback
          description: >-
            The corrections to use when rewriting the report. An empty string
            clears the custom brief.
        evidence:
          items:
            type: string
            maxLength: 200
          type: array
          maxItems: 5
          title: Evidence
          description: >-
            Uploaded file_<uuid> IDs or bare UUIDs to add as evidence. People
            may use their own uploads; API keys may use only files uploaded by
            that key. Default: no added files.
      additionalProperties: false
      type: object
      required:
        - feedback
      title: ReportRevisionRequest
    ReportJob:
      properties:
        job_id:
          type: string
          title: Job Id
        status:
          type: string
          enum:
            - pending
            - running
            - completed
            - failed
            - superseded
          title: Status
          description: >-
            `completed` means the PDF is downloadable; `superseded` means a
            revision replaced this job before it finished.
        workspace_hash:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Hash
          description: >-
            The workspace snapshot this report covers. Research that is still
            running moves on from it; the next report covers what it added.
        requested_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Requested At
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Completed At
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        cached:
          type: boolean
          title: Cached
          description: True when an up-to-date report already existed.
          default: false
        byte_size:
          type: integer
          title: Byte Size
          default: 0
        follow_up:
          type: boolean
          title: Follow Up
          description: >-
            True when this build covers findings from before your request: one
            more build, from the newest findings, starts when it ends.
          default: false
      type: object
      required:
        - job_id
        - status
      title: ReportJob
    PublicJobError:
      properties:
        detail:
          type: string
          title: Detail
          description: Human-readable explanation of why the request failed.
        error_code:
          $ref: '#/components/schemas/V1ErrorCode'
          description: >-
            Stable error code for handling the failure in code. Do not branch on
            the wording of `detail`.
        request_id:
          type: string
          title: Request Id
          description: >-
            Request identifier, equal to the X-Request-Id response header. Quote
            this value when contacting support.
        retryable:
          type: boolean
          title: Retryable
          description: >-
            If true, retrying the request can succeed without changing its
            inputs; respect Retry-After when present. If false, correct the
            request or resolve the reported condition before retrying.
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
          description: >-
            Dot-separated path to the parameter that caused the error, such as
            `body.lead` or `header.Idempotency-Key`. Null when the error is not
            tied to a parameter.
      type: object
      required:
        - detail
        - error_code
        - request_id
        - retryable
      title: PublicJobError
    PublicJobValidationError:
      properties:
        detail:
          type: string
          title: Detail
          description: Human-readable explanation of why the request failed.
        error_code:
          $ref: '#/components/schemas/V1ErrorCode'
          description: >-
            Stable error code for handling the failure in code. Do not branch on
            the wording of `detail`.
        request_id:
          type: string
          title: Request Id
          description: >-
            Request identifier, equal to the X-Request-Id response header. Quote
            this value when contacting support.
        retryable:
          type: boolean
          title: Retryable
          description: >-
            If true, retrying the request can succeed without changing its
            inputs; respect Retry-After when present. If false, correct the
            request or resolve the reported condition before retrying.
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
          description: >-
            Dot-separated path to the parameter that caused the error, such as
            `body.lead` or `header.Idempotency-Key`. Null when the error is not
            tied to a parameter.
        errors:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Errors
          description: >-
            Individual validation failures, each with a parameter location
            (`loc`), message (`msg`), and error type (`type`).
      type: object
      required:
        - detail
        - error_code
        - request_id
        - retryable
        - errors
      title: PublicJobValidationError
    V1ErrorCode:
      type: string
      enum:
        - invalid_cursor
        - request_in_progress
        - limit_exceeded
        - entity_type_mismatch
        - unsupported_file
        - invalid_upload
        - file_too_large
        - items_not_available
        - list_not_ready
        - job_not_finished
        - not_found
        - validation_error
        - rate_limited
        - internal_error
        - unavailable
        - unauthenticated
        - forbidden
        - insufficient_credits
        - idempotency_key_reused
        - export_source_changed
        - job_execution_changed
        - job_failed
        - item_failed
        - aborted
        - workflow_changed
        - workflow_locked
        - workflow_not_runnable
        - timed_out
      title: V1ErrorCode
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Sixtyfour API key.
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        An OAuth access token from `POST /oauth/token`, sent as `Authorization:
        Bearer <token>`. An API key sent as a bearer token is refused with 401.
        When both headers are sent, the bearer token is used.

````

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