---
title: "Cleanup Service Result Endpoint"
method: POST
path: "/api/cleanup-service-result"
---

# Cleanup Service Result Endpoint

`POST /api/cleanup-service-result`

## Request

- Base URL: `https://petprojectcofounder.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://petprojectcofounder.ai/api/cleanup-service-result`
- Auth: none declared

## Headers

- `origin` string, nullable

## Request body

- CleanupServiceResultRequest
  - `service_name` string, required
  - `raw_text` string, required
  - `analytics_token` string, nullable

## Response `200`

Successful Response

- CleanupServiceResultResponse
  - `cleaned_text` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-04** `7c808d7171bb`: 1 info
  - added the new optional request property `analytics_token`

[Operation history](https://skmtc.dev/petprojectcofounder/apis/petprojectcofounder-api/changes/api/cleanup-service-result/post.md)

---

[API](https://skmtc.dev/petprojectcofounder/apis/petprojectcofounder-api.md) - [All operations](https://skmtc.dev/petprojectcofounder/apis/petprojectcofounder-api/llms.txt) - [OpenAPI document](https://skmtc.dev/petprojectcofounder/apis/petprojectcofounder-api/revisions/7c808d7171bb?raw)
