> ## 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.

# How good the predictions of a task described in words are



## OpenAPI

````yaml /api-reference/openapi.json post /v1/databases/{database_id}/tasks/evaluate
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}/tasks/evaluate:
    post:
      summary: How good the predictions of a task described in words are
      operationId: evaluate_task_v1_databases__database_id__tasks_evaluate_post
      parameters:
        - name: database_id
          in: path
          required: true
          schema:
            type: string
            title: Database Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskEvaluateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TaskEvaluateRequest:
      properties:
        task:
          additionalProperties: true
          type: object
          title: Task
        at:
          anyOf:
            - type: string
            - type: 'null'
          title: At
        holdout:
          type: number
          maximum: 0.5
          minimum: 0.05
          title: Holdout
          default: 0.2
        n_dates:
          type: integer
          maximum: 64
          minimum: 1
          title: N Dates
          default: 12
      type: object
      required:
        - task
      title: TaskEvaluateRequest
    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.