openapi: 3.0.0 info: title: CleverAgents API (Plandex Migration) version: 1.0.0 description: API specification extracted from Plandex server for CleverAgents migration servers: - url: http://localhost:8080 description: Local development server paths: /health: get: summary: '' operationId: HealthHandler tags: - System responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error /version: get: summary: '' operationId: VersionHandler tags: - System responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error /accounts/sign_in: post: summary: '' operationId: SignInHandler tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error /projects/{projectId}/plans/{planId}: get: summary: '' operationId: GetPlanHandler tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string - name: planId in: path required: true schema: type: string security: - sessionAuth: [] /projects/{projectId}/plans/{planId}/stream: get: summary: '' operationId: PlanStreamHandler tags: - Plans responses: '200': description: Successful response content: text/event-stream: schema: type: string description: Server-sent events stream '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string - name: planId in: path required: true schema: type: string security: - sessionAuth: [] x-streaming: true /projects/{projectId}/models: get: summary: '' operationId: ListModelsHandler tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /models: get: summary: '' operationId: ModelsListHandler tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/1: get: summary: '' operationId: PlansHandler1 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/2: get: summary: '' operationId: ProjectsHandler2 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/3: post: summary: '' operationId: ModelsHandler3 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/4: get: summary: '' operationId: AuthenticationHandler4 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/{planId}/5: get: summary: '' operationId: PlansHandler5 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string - name: planId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/6: post: summary: '' operationId: ProjectsHandler6 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/7: get: summary: '' operationId: ModelsHandler7 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/8: get: summary: '' operationId: AuthenticationHandler8 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/9: post: summary: '' operationId: PlansHandler9 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/10: get: summary: '' operationId: ProjectsHandler10 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/11: get: summary: '' operationId: ModelsHandler11 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/12: post: summary: '' operationId: AuthenticationHandler12 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/13: get: summary: '' operationId: PlansHandler13 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/14: get: summary: '' operationId: ProjectsHandler14 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/15: post: summary: '' operationId: ModelsHandler15 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/16: get: summary: '' operationId: AuthenticationHandler16 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/17: get: summary: '' operationId: PlansHandler17 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/18: post: summary: '' operationId: ProjectsHandler18 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/19: get: summary: '' operationId: ModelsHandler19 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/20: get: summary: '' operationId: AuthenticationHandler20 tags: - Authentication responses: '200': description: Successful response content: text/event-stream: schema: type: string description: Server-sent events stream '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] x-streaming: true /api/plans/{projectId}/21: post: summary: '' operationId: PlansHandler21 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/22: get: summary: '' operationId: ProjectsHandler22 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/23: get: summary: '' operationId: ModelsHandler23 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/24: post: summary: '' operationId: AuthenticationHandler24 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/{planId}/25: get: summary: '' operationId: PlansHandler25 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string - name: planId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/26: get: summary: '' operationId: ProjectsHandler26 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/27: post: summary: '' operationId: ModelsHandler27 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/28: get: summary: '' operationId: AuthenticationHandler28 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/29: get: summary: '' operationId: PlansHandler29 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/30: post: summary: '' operationId: ProjectsHandler30 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/31: get: summary: '' operationId: ModelsHandler31 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/32: get: summary: '' operationId: AuthenticationHandler32 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/33: post: summary: '' operationId: PlansHandler33 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/34: get: summary: '' operationId: ProjectsHandler34 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/35: get: summary: '' operationId: ModelsHandler35 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/36: post: summary: '' operationId: AuthenticationHandler36 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/37: get: summary: '' operationId: PlansHandler37 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/38: get: summary: '' operationId: ProjectsHandler38 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/39: post: summary: '' operationId: ModelsHandler39 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/40: get: summary: '' operationId: AuthenticationHandler40 tags: - Authentication responses: '200': description: Successful response content: text/event-stream: schema: type: string description: Server-sent events stream '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] x-streaming: true /api/plans/{projectId}/41: get: summary: '' operationId: PlansHandler41 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/42: post: summary: '' operationId: ProjectsHandler42 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/43: get: summary: '' operationId: ModelsHandler43 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/44: get: summary: '' operationId: AuthenticationHandler44 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/{planId}/45: post: summary: '' operationId: PlansHandler45 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string - name: planId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/46: get: summary: '' operationId: ProjectsHandler46 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/47: get: summary: '' operationId: ModelsHandler47 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/48: post: summary: '' operationId: AuthenticationHandler48 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/49: get: summary: '' operationId: PlansHandler49 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/50: get: summary: '' operationId: ProjectsHandler50 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/51: post: summary: '' operationId: ModelsHandler51 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/52: get: summary: '' operationId: AuthenticationHandler52 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/53: get: summary: '' operationId: PlansHandler53 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/54: post: summary: '' operationId: ProjectsHandler54 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/55: get: summary: '' operationId: ModelsHandler55 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/56: get: summary: '' operationId: AuthenticationHandler56 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/57: post: summary: '' operationId: PlansHandler57 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/58: get: summary: '' operationId: ProjectsHandler58 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/59: get: summary: '' operationId: ModelsHandler59 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/60: post: summary: '' operationId: AuthenticationHandler60 tags: - Authentication responses: '200': description: Successful response content: text/event-stream: schema: type: string description: Server-sent events stream '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] x-streaming: true /api/plans/{projectId}/61: get: summary: '' operationId: PlansHandler61 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/62: get: summary: '' operationId: ProjectsHandler62 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/63: post: summary: '' operationId: ModelsHandler63 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/64: get: summary: '' operationId: AuthenticationHandler64 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/{planId}/65: get: summary: '' operationId: PlansHandler65 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string - name: planId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/66: post: summary: '' operationId: ProjectsHandler66 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/67: get: summary: '' operationId: ModelsHandler67 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/68: get: summary: '' operationId: AuthenticationHandler68 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/69: post: summary: '' operationId: PlansHandler69 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/70: get: summary: '' operationId: ProjectsHandler70 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/71: get: summary: '' operationId: ModelsHandler71 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/authentication/72: post: summary: '' operationId: AuthenticationHandler72 tags: - Authentication responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] /api/plans/{projectId}/73: get: summary: '' operationId: PlansHandler73 tags: - Plans responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/projects/{projectId}/74: get: summary: '' operationId: ProjectsHandler74 tags: - Projects responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error parameters: - name: projectId in: path required: true schema: type: string security: - sessionAuth: [] /api/models/75: post: summary: '' operationId: ModelsHandler75 tags: - Models responses: '200': description: Successful response '401': description: Unauthorized '500': description: Internal server error security: - sessionAuth: [] components: securitySchemes: sessionAuth: type: apiKey in: header name: Authorization