Initial GeoIntel V1 foundation
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-16 23:36:32 +02:00
commit 6ea3586a3e
605 changed files with 45284 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
# API Response and Error Contract
## Standard error
All API errors must use:
```json
{
"error": {
"code": "STRING_CODE",
"message": "Human readable message.",
"details": {}
}
}
```
## Job response
Long-running operations return:
```json
{
"job_id": "uuid",
"analysis_run_id": "uuid",
"status": "queued",
"status_url": "/analysis-runs/{id}"
}
```
## Resource metadata
Resources should include:
```json
{
"id": "uuid",
"created_at": "ISO-8601",
"updated_at": "ISO-8601"
}
```
## Pagination
List endpoints use:
```json
{
"items": [],
"total": 0,
"limit": 50,
"offset": 0
}
```