---
title: "Run a change the assistant proposed"
method: POST
path: "/api/v1/ask/actions"
tags: ["Dardaris"]
---

# Run a change the assistant proposed

`POST /api/v1/ask/actions`

## Request

- Base URL: `http://localhost:5180`
- URL: `http://localhost:5180/api/v1/ask/actions`
- Auth: API key in cookie `better-auth.session_token`

The person confirmed it. The action runs through the same endpoint a browser would call, with the caller’s own session, so the team check, the budget and the validation are that endpoint’s, and an accepted one is written to the activity log as confirmed in the chat. Only an action that changes something is run here; a read never needed confirming.

## Request body

- object
  - `action` string, required: The `action.action` the answer proposed.
  - `path` object
  - `query` object
  - `body` unknown

## Response `200`

What the endpoint said.

- object
  - `ok` unknown, required
  - `data` object, required
    - `ok` boolean, required: Whether the endpoint accepted it.
    - `status` number, required: What the endpoint answered.
    - `message` string, nullable, required: The endpoint’s own refusal, when it refused.
  - `meta` object, required
    - `requestId` string, required: Echoed in the x-request-id header. Quote it in a bug report.

## Other responses

- `400`: No such action, a read, or a missing argument.

---

[API](https://skmtc.dev/dardaris/apis/dardaris-api.md) · [All operations](https://skmtc.dev/dardaris/apis/dardaris-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dardaris/apis/dardaris-api/revisions/4aff33835c73?raw)
