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

# Cancel session

> Cancel a running session.



## OpenAPI

````yaml /api-reference/openapi.json delete /api/sessions/{id}
openapi: 3.1.0
info:
  title: Friday Platform API
  description: >-
    The Friday daemon HTTP API for managing spaces, agents, sessions, and
    automations.
  version: 1.0.0
servers:
  - url: http://localhost:18080
    description: Local Friday daemon
security: []
tags:
  - name: Health
    description: Daemon health and status
  - name: Spaces
    description: Space management
  - name: Chat
    description: Conversational AI
  - name: Sessions
    description: Execution session management
  - name: Signals
    description: Trigger management
  - name: Agents
    description: Agent discovery and inspection
  - name: Artifacts
    description: File and data artifact management
  - name: Configuration
    description: Daemon configuration
paths:
  /api/sessions/{id}:
    delete:
      tags:
        - Sessions
      summary: Cancel session
      description: Cancel a running session.
      operationId: cancelSession
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Session cancelled
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  workspaceId:
                    type: string
        '404':
          description: Session not found
      x-codeSamples:
        - lang: bash
          label: cURL
          source: curl -X DELETE http://localhost:18080/api/sessions/sess-123

````