Files
crucible-agent-build-lightw…/docs/api-contract.md

551 B
Raw Blame History

API contract

All successful task responses use the TaskRead schema. status is one of pending, in_progress, or completed. IDs are UUID strings and timestamps are ISO-8601 values emitted by Pydantic. Create requires a non-blank title; update is partial and rejects an empty title. Query limit is 1100 and skip is non-negative.

Errors are always wrapped as { "error": { "code", "message", "details" } }. Validation errors are 422, missing tasks are 404, delete success is 204 with no body, and database readiness failures are 503.