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

# Preview task



## OpenAPI

````yaml /openapi/task-service.yaml post /api/v1/tasks/{id}/preview
openapi: 3.0.3
info:
  title: Titan Task Service API
  description: Tasks, executions, templates, datasets, results, and media CDN.
  version: '1.0'
servers:
  - url: https://api.webscraping.titannet.io
    description: Production
security: []
tags:
  - name: Tasks
  - name: Executions
  - name: Templates
  - name: Media
paths:
  /api/v1/tasks/{id}/preview:
    post:
      tags:
        - Tasks
      summary: Preview task
      operationId: postTaskPreview
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskPreviewRunRequest'
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessEnvelope'
        '429':
          description: Preview quota exceeded (non-standard body)
        '501':
          description: Preview service not configured
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    TaskPreviewRunRequest:
      type: object
      properties:
        urls:
          type: array
          items:
            type: string
            format: uri
        proxy_locations:
          type: array
          items:
            type: string
    SuccessEnvelope:
      type: object
      properties:
        success:
          type: boolean
        data: {}
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````