captures

Persist prose for background estimation

post/v1/captures

Request

  • Base URL: http://localhost:4318
  • URL: http://localhost:4318/v1/captures
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Unique key for a logical capture. Reuse on retry; different input conflicts.

Request body

descriptionstring required
eatenAtstring date-time required
mealType'breakfast' | 'lunch' | 'dinner' | 'snack'
source'app' | 'web' | 'siri' | 'notification' | 'mcp' | 'api' | 'widget'
savedMealIdstring uuid
correctionOfstring uuid
expectedRevisioninteger

Response

Success

idstring uuid
status'queued' | 'processing' | 'complete' | 'needs_review'
mealIdsstring[]
mealIdstring nullable
errorstring nullable
createdAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.