# submitFeedback

Send our team a BUG report, FEATURE_REQUEST or QUESTION as the key owner: a one-line `title`, the `message` (10+ characters) and optional `details`. It lands on our board (added to the organization's open card for the same problem, when there is one); keep the returned `ticket` name to refer to it.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "submitFeedback", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `kind`: `ExternalFeedbackKind!` (required, one of `BUG`, `FEATURE_REQUEST`, `QUESTION`)
- `title`: `String!` (required)
- `message`: `String!` (required)
- `details`: `String`

## Response (data, an example)

```json
{
  "externalAgentChatMutation": {
    "submitFeedback": {
      "status": "FILED",
      "ticket": {
        "ticket": "…",
        "title": "…",
        "stage": "…"
      },
      "otherOpenTickets": [
        {
          "ticket": "…",
          "title": "…",
          "stage": "…"
        }
      ],
      "error": "…"
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "submitFeedback",
    "variables": {
      "kind": "BUG",
      "title": "<String>",
      "message": "<String>"
    }
  }'
```
