---
title: "getSchemaHead"
method: GET
path: "/v1/entity/schemas/{slug}/head"
tags: ["Schemas"]
---

# getSchemaHead

`GET /v1/entity/schemas/{slug}/head`

## Request

- Base URL: `https://entity.sls.epilot.io`
- URL: `https://entity.sls.epilot.io/v1/entity/schemas/{slug}/head`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-epilot-org-id`

Lightweight lookup of the schema version saves currently land on top of. Meant for editors
to detect that someone else saved while they were editing, without fetching the schema.

## Path parameters

- `slug` string, required: URL-friendly identifier for the entity schema

## Response `200`

Success

- SchemaHead
  - `slug` string, required: URL-friendly identifier for the entity schema
  - `id` string
  - `version` integer, required
  - `updated_at` string, date-time
  - `created_by` string: Who saved this version

## Other responses

- `404`: The requested resource was not found
- `429`: Too many requests

## Changes

- **2026-09-26** `a28eb90dccdd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/epilot/apis/entity-api/changes/v1/entity/schemas/:slug/head/get.md)

---

[API](https://skmtc.dev/epilot/apis/entity-api.md) - [All operations](https://skmtc.dev/epilot/apis/entity-api/llms.txt) - [OpenAPI document](https://skmtc.dev/epilot/apis/entity-api/revisions/b7d4f45d1518?raw)
