# Scoring models from your code (/docs/qualify/scoring-models/api)

Authenticated with `?privateKey=YOUR_KEY` (see [Authentication](/docs/authentication)).

<Endpoints ops={["GET /admin/lead-scoring", "POST /admin/lead-scoring", "GET /admin/lead-scoring/{id}", "PUT /v3/lead-scoring/{modelId}", "DELETE /admin/lead-scoring/{id}"]} />

<ApiPlayground
  ops={["GET /admin/lead-scoring", "POST /admin/lead-scoring", "GET /admin/lead-scoring/{id}", "PUT /v3/lead-scoring/{modelId}", "DELETE /admin/lead-scoring/{id}"]}
  method="get"
  path="/admin/lead-scoring"
  tool="list_lead_scoring_models"
  args={`{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9"
}`}
/>

## Use case: Read a model’s rules [#use-case-read-a-models-rules]

`GET /admin/lead-scoring/{id}` returns its criteria; change them with `PUT /v3/lead-scoring/{modelId}` — each criterion you send replaces that criterion’s rules.
