---
title: "Cancel a persona's personal agent request"
method: POST
path: "/api/v1/personas/{personaId}/personal-agents/{agent}"
tags: ["Personas"]
---

# Cancel a persona's personal agent request

`POST /api/v1/personas/{personaId}/personal-agents/{agent}`

## Request

- Base URL: `https://app.promptingco.com`
- URL: `https://app.promptingco.com/api/v1/personas/{personaId}/personal-agents/{agent}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

Cancels a requested Grok Bot or Muse on a persona. The response is the new request status and never includes accounts, profiles, or connection details.

## Path parameters

- `personaId` string, required
- `agent` 'grok-bot' | 'muse', required

## Request body

- object
  - `action` 'cancel', required

## Response `200`

Successful response

- object
  - `ok` true, required
  - `data` unknown

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Not found
- `422`: Validation failed
- `500`: Internal server error

---

[API](https://skmtc.dev/promptingcompany/apis/the-prompting-company-api.md) - [All operations](https://skmtc.dev/promptingcompany/apis/the-prompting-company-api/llms.txt) - [OpenAPI document](https://skmtc.dev/promptingcompany/apis/the-prompting-company-api/revisions/c0451ea10e9a?raw)
