# Submit AgentObservation

feedback.now v1 receiver. Private untrusted reports, inline evidence, 90-day retention; never changes public content. HTTP and MCP writes share 60 submissions/hour per source and 240/hour site-wide. Obtain user approval when required by your host. Receipt IDs are bearer references; receipts contain status only. Acceptance means stored, not verified. No automatic submission retries.

Operation: postAgentObservation
POST /api/v1/observations

Access: anonymous. Automatic retries: none. Redirects: manual. Request body limit: 48000 bytes.
Default timeout: 30 seconds. Response limit: 16 MiB. Pagination is opt-in and bounded; an exhausted bound reports incomplete execution.

[HTML reference](/developers/api/postAgentObservation) · [Authoritative schemas](/api/openapi.json)

## Wire contract

```json
{
  "operationId": "postAgentObservation",
  "summary": "Submit AgentObservation",
  "tags": [
    "Agent feedback"
  ],
  "description": "feedback.now v1 receiver. Private untrusted reports, inline evidence, 90-day retention; never changes public content. HTTP and MCP writes share 60 submissions/hour per source and 240/hour site-wide. Obtain user approval when required by your host. Receipt IDs are bearer references; receipts contain status only. Acceptance means stored, not verified. No automatic submission retries.",
  "x-public-access": "anonymous",
  "x-public-side-effect": "coordination",
  "x-public-body-limit": 48000,
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "surface": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512
            },
            "domain": {
              "type": "string",
              "minLength": 1,
              "maxLength": 253
            },
            "agent_vendor": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "agent_product": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "category": {
              "type": "string",
              "enum": [
                "bug",
                "docs_mismatch",
                "friction",
                "feature_gap",
                "quality_degradation",
                "other"
              ]
            },
            "severity": {
              "type": "string",
              "enum": [
                "critical",
                "high",
                "medium",
                "low"
              ]
            },
            "confidence": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "summary": {
              "type": "string",
              "minLength": 0,
              "maxLength": 4096
            }
          },
          "required": [
            "surface",
            "domain",
            "agent_vendor",
            "agent_product"
          ],
          "additionalProperties": false
        }
      }
    }
  },
  "responses": {
    "201": {
      "description": "Feedback protocol response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "receipt": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^(?:fb|obs|rcpt)_[a-f0-9]{32}$"
                  },
                  "feedback_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^(?:fb|obs|rcpt)_[a-f0-9]{32}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "observation_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^(?:fb|obs|rcpt)_[a-f0-9]{32}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "accepted",
                      "needs_more_evidence",
                      "duplicate",
                      "rejected",
                      "queued"
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "quality_score": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "duplicate_of": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "budget_remaining": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "budget_delta": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "evidence_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "id",
                  "feedback_id",
                  "observation_id",
                  "status",
                  "created_at",
                  "quality_score",
                  "duplicate_of",
                  "budget_remaining",
                  "budget_delta",
                  "evidence_ids"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "receipt"
            ],
            "additionalProperties": false
          }
        }
      }
    },
    "400": {
      "description": "Feedback request failed. Errors contain error and message. Never automatically retry submissions.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "error",
              "message"
            ],
            "properties": {
              "error": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Feedback request failed. Errors contain error and message. Never automatically retry submissions.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "error",
              "message"
            ],
            "properties": {
              "error": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Feedback request failed. Errors contain error and message. Never automatically retry submissions.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "error",
              "message"
            ],
            "properties": {
              "error": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Feedback request failed. Errors contain error and message. Never automatically retry submissions.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "error",
              "message"
            ],
            "properties": {
              "error": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Feedback request failed. Errors contain error and message. Never automatically retry submissions.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "error",
              "message"
            ],
            "properties": {
              "error": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Feedback request failed. Errors contain error and message. Never automatically retry submissions.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "error",
              "message"
            ],
            "properties": {
              "error": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Feedback request failed. Errors contain error and message. Never automatically retry submissions.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "error",
              "message"
            ],
            "properties": {
              "error": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

## Synthetic examples

### curl

```bash
curl --fail-with-body --max-time 30 --max-filesize 16777216 --request POST 'https://irvinebroque.com/api/v1/observations' --header 'Accept: application/json' --header 'Content-Type: application/json' --data-binary @request.json
```

### TypeScript

```typescript
import { PublicApi } from '@irvinebroque/public-api';
const api = new PublicApi();
const result = await api.feedback.observe({
  "body": {
    "surface": "fixture",
    "domain": "irvinebroque.com",
    "agent_vendor": "fixture",
    "agent_product": "fixture"
  }
});
console.log(result.status, result.headers.get('content-type')); // Keep transient capabilities in memory.
```

### CLI

```bash
irvinebroque feedback observe --body-file request.json
```

### request.json

```json
{
  "surface": "fixture",
  "domain": "irvinebroque.com",
  "agent_vendor": "fixture",
  "agent_product": "fixture"
}
```
