> ## 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'
            description: Category of the model.
            examples:
              - HRIS
          description: Category of the model.
        - name: model
          in: query
          required: true
          schema:
            type: string
            maxLength: 64
            pattern: ^[a-z][a-z0-9_-]*$
            description: Model slug whose raw payload should be returned.
            examples:
              - employee
            title: Model
          description: Model slug whose raw payload should be returned.
        - name: connector_token
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Connector token used to return the connector's latest synced row.
              Exactly one of `connector_token` or `integration_slug` is
              required.
            examples:
              - i5kqe8bSedEdPLX9pHhFojKdo7Uzvue0f7I4NVhaDfV0GTxF0uAgwa_COb3zZU3T
            title: Connector Token
          description: >-
            Connector token used to return the connector's latest synced row.
            Exactly one of `connector_token` or `integration_slug` is required.
        - name: integration_slug
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Integration slug used to return the canned integration sample.
              Exactly one of `connector_token` or `integration_slug` is
              required.
            examples:
              - workday
            title: Integration Slug
          description: >-
            Integration slug used to return the canned integration sample.
            Exactly one of `connector_token` or `integration_slug` is required.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                anyOf:
                  - additionalProperties: true
                    type: object
                  - type: 'null'
                title: Response Get Raw Data Api V1 Custom Fields Raw Data Get
        '401':
          description: Missing or invalid bearer authentication credentials.
          headers:
            WWW-Authenticate:
              description: Bearer authentication challenge.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: >-
            The credentials are valid but do not permit access to this resource,
            e.g. a connector token used on a different API category or a model
            whose writes are disabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: >-
            Request validation failed. Exactly one of `connector_token` or
            `integration_slug` must be provided.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limit exceeded.
          headers:
            X-RateLimit-Limit:
              description: Maximum requests allowed in the current window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests remaining in the current window.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: >-
                Unix timestamp (seconds since epoch) at which the current
                rate-limit window resets.
              schema:
                type: integer
            Retry-After:
              description: Seconds to wait before retrying the request.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    Category:
      type: string
      enum:
        - HRIS
        - ATS
        - LMS
      title: Category
    ErrorResponse:
      type: object
      required:
        - detail
      properties:
        detail:
          type: string
    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

````