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

# Unified Reset

> Reset completo e unificado: remove todo o histórico (prompts, configs e versões)
e recria valores padrão com versionamento limpo.

Args:
    agent_type: Tipo do agente para resetar

Returns:
    UnifiedResetResponse: Resultado da operação



## OpenAPI

````yaml https://services.staging.app.dados.rio/eai-agent/openapi.json delete /api/v1/unified-reset
openapi: 3.1.0
info:
  title: Agentic Search API
  description: >-
    API que gerencia os fluxos e ferramentas dos agentes de IA da Prefeitura do
    Rio de Janeiro
  version: 0.1.0
servers:
  - url: https://services.staging.app.dados.rio/eai-agent
    description: Staging
security: []
paths:
  /api/v1/unified-reset:
    delete:
      tags:
        - Unified Reset
      summary: Unified Reset
      description: >-
        Reset completo e unificado: remove todo o histórico (prompts, configs e
        versões)

        e recria valores padrão com versionamento limpo.


        Args:
            agent_type: Tipo do agente para resetar

        Returns:
            UnifiedResetResponse: Resultado da operação
      operationId: unified_reset_api_v1_unified_reset_delete
      parameters:
        - name: agent_type
          in: query
          required: true
          schema:
            type: string
            description: Tipo do agente para resetar
            title: Agent Type
          description: Tipo do agente para resetar
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnifiedResetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    UnifiedResetResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Status geral da operação
        agent_type:
          type: string
          title: Agent Type
          description: Tipo do agente resetado
        unified_version:
          anyOf:
            - type: integer
            - type: 'null'
          title: Unified Version
          description: Número da versão unificada criada
        version_display:
          anyOf:
            - type: string
            - type: 'null'
          title: Version Display
          description: Nome da versão no padrão eai-YYYY-MM-DD-vX
        prompt_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Prompt Id
          description: ID do prompt padrão criado
        config_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Config Id
          description: ID da configuração padrão criada
        message:
          type: string
          title: Message
          description: Mensagem informativa sobre a operação
      type: object
      required:
        - success
        - agent_type
        - message
      title: UnifiedResetResponse
      description: Schema para resposta do reset unificado.
      example:
        agent_type: agentic_search
        config_id: a1b2c3d4-1234-5678-9abc-def0123456789
        message: Reset unificado concluído com sucesso
        prompt_id: f47ac10b-58cc-4372-a567-0e02b2c3d479
        success: true
        unified_version: 1
        version_display: eai-2025-06-26-v1
    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:
    HTTPBearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.