---
title: "spec(at:)"
framework: usdkit
role: symbol
role_heading: Instance Method
path: "usdkit/usdprim/spec/spec(at:)"
---

# spec(at:)

Returns the spec at the given path within this prim.

## Declaration

```swift
func spec(at path: USDLayer.Path) -> USDLayer.Spec?
```

## Parameters

- `path`: The path to look up.

## Return Value

Return Value The spec, or nil if no spec is authored at path.
