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 composite score and alignment opportunities for a team on a specific product. Composite emerges once at least two members have submitted scores. Viewers see only the overall score; admins and scorers see dimension-level disagreements.
curl -X GET "https://app.dacard.ai/api/teams/tm_2x1B3y/composite?productId=prod_abc" \
  -H "Authorization: Bearer $DACARD_API_KEY"
PropertyValue
AuthRequired
Required scopeAccepted membership in the team
IdempotentYes

Query

FieldTypeRequiredNotes
productIdstringyesThe product ID the composite is computed against.

Response

200 OK (admins and scorers)
{
  "composite": {
    "teamId": "tm_2x1B3y",
    "productId": "prod_abc",
    "compositeScores": { "decision_quality": 3.4, "...": 0 },
    "disagreements": [
      {
        "dimensionId": "decision_quality",
        "spread": 2,
        "scores": [{ "userId": "user_a", "score": 4 }, { "userId": "user_b", "score": 2 }]
      }
    ]
  }
}
200 OK (viewers): only the overall composite is returned, no dimension breakdown or disagreements.

Errors

StatusCodeWhen
400productId query parameter is requiredMissing query.
401AUTH_REQUIREDNo session.
403Not a team memberNo accepted membership.
404Team not foundBad id.
404No composite score yetFewer than 2 members have scored this product.
500INTERNAL_ERRORRead failed.