Error response model for the /api/ingest endpoint. Attributes ---------- error : str Error message describing what went wrong.
| 100 | |
| 101 | |
| 102 | class IngestErrorResponse(BaseModel): |
| 103 | """Error response model for the /api/ingest endpoint. |
| 104 | |
| 105 | Attributes |
| 106 | ---------- |
| 107 | error : str |
| 108 | Error message describing what went wrong. |
| 109 | |
| 110 | """ |
| 111 | |
| 112 | error: str = Field(..., description="Error message") |
| 113 | |
| 114 | |
| 115 | # Union type for API responses |
no outgoing calls
no test coverage detected