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 coaching layer for a product. Returns the active set of moves, the evidence chain behind each (signals, scores, prior cycles), and effort estimates. Used by the coaching drawer and the moves rail.
curl -X GET "https://app.dacard.ai/api/intelligence/coaching?productId=prod_abc" \
  -H "Authorization: Bearer $DACARD_API_KEY"
PropertyValue
AuthRequired
Required scopeCaller must own the product
IdempotentYes

Query

FieldTypeRequiredNotes
productIdstringyesThe product whose moves are returned.
dimensionIdstringnoFilter to one dimension’s moves.
aperturestringnoAperture preset id. Narrows what counts as relevant.

Response

Returns the active moves grouped by function, each with evidence citations and an effort estimate. The exact shape mirrors what the coaching drawer renders. See apps/web/src/app/api/intelligence/coaching/route.ts for the canonical shape until the OpenAPI source is regenerated.

Errors

StatusCodeWhen
400productId requiredQuery missing.
401AUTH_REQUIREDNo session.
403FORBIDDENCaller does not own the product.
404Product not foundBad productId.
500INTERNAL_ERRORRead failed.