# com.emdashcms.experimental.labeler.getCurrentAssessment

> Published by [emdashcms.com](https://lexicon.garden/identity/did:plc:ilznslhspsvk6naatedr66pi)

✓ This is the authoritative definition for this NSID.

## Description

Fetch the effective assessment and signed label state for an exact package-profile or release revision. EXPERIMENTAL.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ilznslhspsvk6naatedr66pi/com.emdashcms.experimental.labeler.getCurrentAssessment)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ilznslhspsvk6naatedr66pi/com.emdashcms.experimental.labeler.getCurrentAssessment/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ilznslhspsvk6naatedr66pi/com.emdashcms.experimental.labeler.getCurrentAssessment/examples)

## Definitions

### `com.emdashcms.experimental.labeler.getCurrentAssessment`

**Type**: `query`

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `kind` | `string` | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |

#### Output

**Encoding**: `application/json`

#### Errors

- **InvalidRequest**: The subject kind, URI, or CID is invalid or inconsistent.
- **NotFound**: No public assessment exists for this exact record revision.
- **ConflictingLabels**: The winning signed label state contains conflicting events and is withheld.

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "description": "The subject kind, URI, or CID is invalid or inconsistent.",
          "name": "InvalidRequest"
        },
        {
          "description": "No public assessment exists for this exact record revision.",
          "name": "NotFound"
        },
        {
          "description": "The winning signed label state contains conflicting events and is withheld.",
          "name": "ConflictingLabels"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "com.emdashcms.experimental.labeler.defs#currentAssessmentView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "cid": {
            "format": "cid",
            "type": "string"
          },
          "kind": {
            "knownValues": [
              "profile",
              "release"
            ],
            "type": "string"
          },
          "uri": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "uri",
          "cid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Fetch the effective assessment and signed label state for an exact package-profile or release revision. EXPERIMENTAL.",
  "id": "com.emdashcms.experimental.labeler.getCurrentAssessment",
  "lexicon": 1
}
```
