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

# The same, with the examples as a CSV or Parquet file



## OpenAPI

````yaml /api-reference/openapi.json post /v1/databases/{database_id}/evaluate-file
openapi: 3.1.0
info:
  title: tabSutra API
  version: '1.0'
  description: >-
    One pretrained model for forecasting, classification, regression and
    recommendation on tables and databases.
servers:
  - url: https://api.tabsutra.com
security:
  - bearerAuth: []
paths:
  /v1/databases/{database_id}/evaluate-file:
    post:
      summary: The same, with the examples as a CSV or Parquet file
      operationId: evaluate_database_file_v1_databases__database_id__evaluate_file_post
      parameters:
        - name: database_id
          in: path
          required: true
          schema:
            type: string
            title: Database Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Body_evaluate_database_file_v1_databases__database_id__evaluate_file_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_evaluate_database_file_v1_databases__database_id__evaluate_file_post:
      properties:
        examples:
          type: string
          contentMediaType: application/octet-stream
          title: Examples
        holdout:
          type: number
          title: Holdout
          default: 0.2
        entity_table:
          type: string
          title: Entity Table
        entity_column:
          type: string
          title: Entity Column
        time_column:
          type: string
          title: Time Column
        target:
          type: string
          title: Target
        task:
          type: string
          enum:
            - classification
            - regression
          title: Task
        window_days:
          type: number
          title: Window Days
        exclude_columns:
          anyOf:
            - type: string
            - type: 'null'
          title: Exclude Columns
          description: JSON list, for example ["customers.ltv"]
      type: object
      required:
        - examples
        - entity_table
        - entity_column
        - time_column
        - target
        - task
        - window_days
      title: >-
        Body_evaluate_database_file_v1_databases__database_id__evaluate_file_post
    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:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key, sent as ''Authorization: Bearer <key>''.'

````

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