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

# Delete Agent

> Permanently deletes an agent. This action cannot be undone.



## OpenAPI

````yaml DELETE /v1/agents/{agentId}
openapi: 3.1.0
info:
  title: TalkifAI API
  version: 1.0.0
  description: Build and manage AI voice and chat agents programmatically.
servers:
  - url: https://api.talkifai.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Agents
    description: Create and manage voice and chat agents
  - name: Voice Calls
    description: Initiate outbound calls and retrieve call data
  - name: Text Chat
    description: Text chat sessions via REST + SSE
  - name: Batch Calling
    description: Run large-scale outbound call campaigns
paths:
  /v1/agents/{agentId}:
    delete:
      tags:
        - Agents
      summary: Delete Agent
      description: >-
        Permanently deletes an agent and all related data including subagents,
        knowledge base links, and FalkorDB memory graphs. **This action cannot
        be undone.**
      operationId: deleteAgent
      parameters:
        - name: agentId
          in: path
          required: true
          schema:
            type: string
          example: 01JK5XYZ...
      responses:
        '200':
          description: Agent deleted successfully
        '401':
          description: Invalid or missing API key
        '404':
          description: Agent not found
      security:
        - apiKeyHeader: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: tk_live_...
      description: Your TalkifAI API key. Get it from Studio â†’ Settings â†’ API Keys.
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your TalkifAI API key. Generate from Studio → Settings → API Keys.
        Format: `tk_live_...`

````