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

# Get Raw Data

> Inspect the raw upstream payload for a connector + (category, model). Use this to discover the field structure before writing a JMESPath. Provide exactly one of `connector_token` or `integration_slug`.



## OpenAPI

````yaml get /api/v1/custom-fields/raw-data
openapi: 3.1.0
info:
  title: Bindbee APIs
  version: 0.1.0
servers:
  - url: https://api.bindbee.dev
  - url: https://api-eu.bindbee.dev
security: []
paths:
  /api/v1/custom-fields/raw-data:
    get:
      tags:
        - Custom Fields
      summary: Get Raw Data
      description: >-
        Inspect the raw upstream payload for a connector + (category, model).
        Use this to discover the field structure before writing a JMESPath.
        Returns the latest synced row's raw_data; falls back to the
        integration's canned sample if the connector has never synced. Provide
        exactly one of `connector_token` or `integration_slug`.
      operationId: get_raw_data_api_v1_custom_fields_raw_data_get
      parameters:
        - name: category
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/Category'
            examples:
              - HRIS
        - name: model
          in: query
          required: true
          schema:
            type: string
            maxLength: 64
            pattern: ^[a-z][a-z0-9_-]*$
            examples:
              - employee
            title: Model
        - name: connector_token
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Connector token — returns the connector's latest synced row,
              falling back to integration sample.
            examples:
              - i5kqe8bSedEdPLX9pHhFojKdo7Uzvue0f7I4NVhaDfV0GTxF0uAgwa_COb3zZU3T
            title: Connector Token
          description: >-
            Connector token — returns the connector's latest synced row, falling
            back to integration sample.
        - name: integration_slug
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Integration slug — returns the integration's canned sample (no
              connector required).
            examples:
              - workday
            title: Integration Slug
          description: >-
            Integration slug — returns the integration's canned sample (no
            connector required).
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Get Raw Data Api V1 Custom Fields Raw Data Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    Category:
      type: string
      enum:
        - HRIS
        - ATS
        - LMS
      title: Category
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````