# at.inlay.endpoint

> Published by [inlay.at](https://lexicon.garden/identity/did:plc:mdg3w2kpadcyxy33pizokzf3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mdg3w2kpadcyxy33pizokzf3/at.inlay.endpoint)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mdg3w2kpadcyxy33pizokzf3/at.inlay.endpoint/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mdg3w2kpadcyxy33pizokzf3/at.inlay.endpoint/examples)

## Definitions

### `at.inlay.endpoint`

**Type**: `record`

Endpoint record. Declares that a DID serves a given XRPC method. The rkey is the method NSID.

**Key**: `nsid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | DID of the service that handles this XRPC method. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "at.inlay.endpoint",
  "defs": {
    "main": {
      "key": "nsid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "did",
          "createdAt"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "DID of the service that handles this XRPC method."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "Endpoint record. Declares that a DID serves a given XRPC method. The rkey is the method NSID."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
