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

# Task Logs

> Execution history for an agent's tasks.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/bot/tasks/logs
openapi: 3.0.0
info:
  title: BoostGPT API
  version: 1.0.0
  description: API for managing AI agents with memory capabilities
servers:
  - url: https://api.boostgpt.co
    description: Production server
security:
  - BearerAuth: []
tags:
  - name: Agent
    description: Operations for managing AI agents
  - name: Memory
    description: Operations for managing agent memory sources
  - name: Chat
    description: Operations for chatting with agents and managing conversations
  - name: Subscribers
    description: Operations for managing subscribers and leads
  - name: Tools
    description: Operations for managing agent tools and MCP server integrations
  - name: Analytics
    description: Operations for retrieving agent statistics and analytics
  - name: Tasks
    description: >-
      Scheduled tasks — recurring work an agent performs on its own. Replaces
      the Heartbeat API.
  - name: Email
    description: Operations for managing agent email functionality
  - name: Workflows
    description: Operations for managing agent workflow automations
  - name: Workspace
    description: Operations for managing agent workspaces and files
paths:
  /v1/bot/tasks/logs:
    get:
      tags:
        - Tasks
      summary: Task Logs
      description: Execution history for an agent's tasks.
      parameters:
        - name: project_id
          in: query
          required: true
          schema:
            type: string
          description: Project ID
        - name: bot_id
          in: query
          required: true
          schema:
            type: string
          description: Agent ID
        - name: task_id
          in: query
          required: false
          schema:
            type: string
          description: Task UUID — omit for all tasks
        - name: page
          in: query
          required: false
          schema:
            type: string
          description: Page number
        - name: per_page
          in: query
          required: false
          schema:
            type: string
          description: Results per page
      responses:
        '200':
          description: Paged execution logs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskLogsResponse'
components:
  schemas:
    TaskLogsResponse:
      type: object
      properties:
        total:
          type: integer
        logs:
          type: array
          items:
            $ref: '#/components/schemas/TaskLogObject'
        pagination:
          type: object
          properties:
            page:
              type: integer
            per_page:
              type: integer
            total:
              type: integer
            total_pages:
              type: integer
    TaskLogObject:
      type: object
      properties:
        id:
          type: integer
        task_uuid:
          type: string
        status:
          type: string
        reason:
          type: string
        credits_used:
          type: integer
        created_at:
          type: string
          format: date-time
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Enter your API key

````