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

# Export Report

> B5 — Create and return an export job linked to a report.

Body: {format: 'csv'|'xlsx'|'pdf', filters?: dict}

Returns an export job object immediately (status: 'queued').
The job transitions to 'succeeded' once the artifact is ready.



## OpenAPI

````yaml /openapi.json post /v1/reports/{report_id}/export
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/reports/{report_id}/export:
    post:
      tags:
        - reports
      summary: Export Report
      description: |-
        B5 — Create and return an export job linked to a report.

        Body: {format: 'csv'|'xlsx'|'pdf', filters?: dict}

        Returns an export job object immediately (status: 'queued').
        The job transitions to 'succeeded' once the artifact is ready.
      operationId: export_report_v1_reports__report_id__export_post
      parameters:
        - in: path
          name: report_id
          required: true
          schema:
            title: Report Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              title: Body
              type: object
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Export Report V1 Reports  Report Id  Export Post
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````