---
title: "Create Spec"
method: POST
path: "/v1/repos/{repository_id}/specs"
---

# Create Spec

`POST /v1/repos/{repository_id}/specs`

## Request

- Base URL: `https://api.graphify.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.graphify.com/v1/repos/{repository_id}/specs`
- Auth: HTTP bearer

Validate up to five English properties of one Python function.

## Path parameters

- `repository_id` string, uuid, required

## Headers

- `X-Graphify-Tenant-ID` string, required

## Request body

- SpecRequest
  - `path` string, required
  - `symbol` string, required
  - `line` integer, nullable
  - `properties` string[], required

## Response `202`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graphify/apis/graphify-control-plane.md) · [All operations](https://skmtc.dev/graphify/apis/graphify-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/graphify/apis/graphify-control-plane/revisions/0e75c82b5ea8?raw)
