Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dacard.ai/llms.txt

Use this file to discover all available pages before exploring further.

Read the decision log, or record a new decision against a product. The decision log is the structured, queryable record DAC reads from for the “what did we decide” coaching surface.

List decisions

curl -X GET "https://app.dacard.ai/api/decisions?productId=prod_abc" \
  -H "Authorization: Bearer $DACARD_API_KEY"

Record a decision

curl -X POST https://app.dacard.ai/api/decisions \
  -H "Authorization: Bearer $DACARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "productId": "prod_abc",
    "title": "Move pricing page above the fold on /platform",
    "context": "PLG audit found the funnel split was kicking in too late.",
    "decisionType": "shipped",
    "linkedMoveId": "mv_xyz"
  }'
PropertyValue
AuthRequired
Required scopeAccount membership
IdempotentGET yes. POST no (creates new row each call).

POST body

FieldTypeRequiredNotes
productIdstringyesProduct the decision relates to.
titlestringyesShort label (≤120 chars).
contextstringnoFree text. Stored as markdown.
decisionTypeshipped | deferred | held | reversedyesWhat kind of decision.
linkedMoveIdstringnoThe move this decision settles, if any.

Errors

StatusCodeWhen
400productId, title, decisionType requiredBody invalid.
401AUTH_REQUIREDNo session.
403FORBIDDENCaller does not own the product.
500INTERNAL_ERRORWrite failed.