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.

List all member-submitted scores for a team on a specific product. Use this to render the per-member scoring grid. POST to the same path to submit a score on behalf of the caller.
curl -X GET "https://app.dacard.ai/api/teams/tm_2x1B3y/scores?productId=prod_abc" \
  -H "Authorization: Bearer $DACARD_API_KEY"
PropertyValue
AuthRequired
Required scopeAccepted membership
IdempotentGET yes. POST replaces caller’s prior score for this product.

GET response

{
  "scores": [
    {
      "userId": "user_a",
      "productId": "prod_abc",
      "dimensions": [
        { "dimensionId": "decision_quality", "score": 4, "evidence": "..." }
      ],
      "submittedAt": "2026-05-04T12:00:00Z"
    }
  ]
}

POST body

{
  "productId": "prod_abc",
  "dimensions": [
    { "dimensionId": "decision_quality", "score": 4 }
  ]
}
POST recomputes the team composite and detects disagreements. The caller’s prior score on this product is replaced.

Errors

StatusCodeWhen
400productId query parameter is requiredGET without query.
401AUTH_REQUIREDNo session.
403Not a team memberNo accepted membership.
404Team not foundBad id.
500INTERNAL_ERRORWrite failed.