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

# Send feedback to the Akua team

Sends a message to the Akua team. It is attributed to the person the credential belongs to, never to a user named in the request. The message is delivered to a private team channel with your user ID, your account email and the `User-Agent` of your client (for the Akua CLI: its version, your operating system and architecture, and the Bun version); nothing else is attached. Each person may send a few messages per minute.

`POST https://api.akua.dev/v1/feedback`

## Authorizations

- `Authorization: Bearer <token>` (BearerAuth): Bearer token for the authenticated caller.

## Body

Required.

`application/json`: `CreateFeedbackRequest`

- `message` (string, required): What happened, or what you would like to see. The Akua team reads it in a private channel together with your user ID, the email of your account and the `User-Agent` of the client you sent it with (for the Akua CLI: its version, your operating system and architecture). Required string length: `1 - 1500`. Example: `"akua clusters list is slow for workspaces with many clusters"`.

## Response

### 201: The message reached the Akua team. The receipt shows what was sent.

`application/json`: `FeedbackReceipt`

- `message` (string, required): The message as delivered, without leading or trailing whitespace. The team channel shows it with @ and mention forms made inert.
- `user_id` (string, required): The user the message is attributed to: the person the credential belongs to.
- `email` (string | null, required): The account email sent with the message, or null if the credential has none.
- `client` (string | null, required): The client identification sent with the message: the `User-Agent` header, at most 200 characters, or null if the request had none. Example: `"akua-cli/0.13.9 (darwin; arm64) bun/1.4.4"`.

### 400: The request is malformed.

`application/json`: `ApiBadRequest`

- `_tag` (enum<string>, required): Available options: `"Validation"`.
- `success` (enum<boolean>, required): Available options: `false`.
- `errors` (object[], required): Minimum array length: `1 element`.
  - `code` (integer, required): Machine-readable error code. Required range: `-9007199254740991 <= x <= 9007199254740991`. Example: `7002`.
  - `message` (string, required): Human-readable error message. Example: `"Resource not found"`.
  - `path` (string[]): Field path that caused the error, when applicable. Example: `["body","name"]`.
  - `metadata` (record<string, string>)
- `result` (object, required)

### 401: Missing, invalid or expired credential.

`application/json`: `ApiUnauthorized`

- `_tag` (enum<string>, required): Available options: `"Unauthorized"`.
- `success` (enum<boolean>, required): Available options: `false`.
- `errors` (object[], required): Minimum array length: `1 element`.
  - `code` (integer, required): Machine-readable error code. Required range: `-9007199254740991 <= x <= 9007199254740991`. Example: `7002`.
  - `message` (string, required): Human-readable error message. Example: `"Resource not found"`.
  - `path` (string[]): Field path that caused the error, when applicable. Example: `["body","name"]`.
  - `metadata` (record<string, string>)
- `result` (object, required)

### 403: The credential may not act in this workspace.

`application/json`: `ApiForbidden`

- `_tag` (enum<string>, required): Available options: `"Forbidden"`.
- `success` (enum<boolean>, required): Available options: `false`.
- `errors` (object[], required): Minimum array length: `1 element`.
  - `code` (integer, required): Machine-readable error code. Required range: `-9007199254740991 <= x <= 9007199254740991`. Example: `7002`.
  - `message` (string, required): Human-readable error message. Example: `"Resource not found"`.
  - `path` (string[]): Field path that caused the error, when applicable. Example: `["body","name"]`.
  - `metadata` (record<string, string>)
- `result` (object, required)

### 429: The caller is over a rate budget, or a resource it adds to is at its limit (resource exhausted).

`application/json`: `ApiTooManyRequests`

- `_tag` (enum<string>, required): Available options: `"TooManyRequests"`.
- `success` (enum<boolean>, required): Available options: `false`.
- `errors` (object[], required): Minimum array length: `1 element`.
  - `code` (integer, required): Machine-readable error code. Required range: `-9007199254740991 <= x <= 9007199254740991`. Example: `7002`.
  - `message` (string, required): Human-readable error message. Example: `"Resource not found"`.
  - `path` (string[]): Field path that caused the error, when applicable. Example: `["body","name"]`.
  - `metadata` (record<string, string>)
- `result` (object, required)

### 503: The service is temporarily unavailable.

`application/json`: `ApiServiceUnavailable`

- `_tag` (enum<string>, required): Available options: `"ServiceUnavailable"`.
- `success` (enum<boolean>, required): Available options: `false`.
- `errors` (object[], required): Minimum array length: `1 element`.
  - `code` (integer, required): Machine-readable error code. Required range: `-9007199254740991 <= x <= 9007199254740991`. Example: `7002`.
  - `message` (string, required): Human-readable error message. Example: `"Resource not found"`.
  - `path` (string[]): Field path that caused the error, when applicable. Example: `["body","name"]`.
  - `metadata` (record<string, string>)
- `result` (object, required)

## Example request

```bash
curl --request POST \
  --url 'https://api.akua.dev/v1/feedback' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "message": "akua clusters list is slow for workspaces with many clusters"
  }'
```

## Example response

`201` `application/json`

```json
{
  "message": "<string>",
  "user_id": "<string>",
  "email": "<string>",
  "client": "akua-cli/0.13.9 (darwin; arm64) bun/1.4.4"
}
```
