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

# Export records

> Export a table's records as a CSV file. Reflects the same `status` and `search` filters as the list endpoint. Synchronous and capped: over the limit the request is rejected with `EXPORT/OVER_SYNC_LIMIT`.



## OpenAPI

````yaml https://api.useinvent.com/openapi.json get /orgs/{org_id}/tables/{table_id}/records/export
openapi: 3.1.0
info:
  version: 1.0.0
  title: Invent API
servers:
  - url: https://api.useinvent.com
security:
  - bearerAuth: []
tags:
  - name: Inbox
  - name: Chats
  - name: Messages
  - name: Contacts
  - name: Custom channels
  - name: Segments
  - name: Suppressions
  - name: Assistants
  - name: Agents
  - name: Skills
  - name: Knowledge
  - name: AI
  - name: Broadcasts
  - name: Email sending
  - name: WhatsApp
  - name: WhatsApp Meta agent
  - name: Tables
  - name: Records
  - name: Views
  - name: Pages
  - name: Connections
  - name: Workspace
  - name: Sub-organizations
  - name: Analytics and logs
  - name: Workflows
paths:
  /orgs/{org_id}/tables/{table_id}/records/export:
    get:
      tags:
        - Tables
      summary: Export records
      description: >-
        Export a table's records as a CSV file. Reflects the same `status` and
        `search` filters as the list endpoint. Synchronous and capped: over the
        limit the request is rejected with `EXPORT/OVER_SYNC_LIMIT`.
      parameters:
        - schema:
            type: string
          required: true
          description: Org ID
          name: org_id
          in: path
        - schema:
            type: string
          required: true
          description: Table ID
          name: table_id
          in: path
        - schema:
            $ref: '#/components/schemas/TableStatusSchema'
          required: false
          description: >-
            Filter by visibility. `ACTIVE` excludes archived (default),
            `ARCHIVED` returns only archived, `ALL` returns both.
          name: status
          in: query
        - schema:
            type: string
            maxLength: 256
            title: Search
            description: Restrict the export to records matching this search.
          required: false
          description: Restrict the export to records matching this search.
          name: search
          in: query
        - schema:
            type: string
            enum:
              - csv
            description: Export format. Only `csv` is currently supported.
          required: false
          description: Export format. Only `csv` is currently supported.
          name: format
          in: query
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: 'null'
components:
  schemas:
    TableStatusSchema:
      type: string
      enum:
        - ACTIVE
        - ARCHIVED
        - ALL
      options:
        ACTIVE:
          label: Active
        ARCHIVED:
          label: Archived
        ALL:
          label: All
      title: Status
      description: >-
        Filter by visibility. `ACTIVE` excludes archived (default), `ARCHIVED`
        returns only archived, `ALL` returns both.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Bearer token authentication using your API key

````