# ApiKeyCreateRequest

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/http-api/schemas/apikeycreaterequest/
> Summary: OpenAPI request or response schema for ApiKeyCreateRequest, including required fields, defaults, constraints, and linked nested types.

[← All HTTP schemas](/http-api/schemas/)

The request body for creating an API key.

**Shape:** `object`

| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
| `name` | no | `string` | Gets the name that lets the operator identify the key. | — |
| `scopes` | no | `array` | Gets the set of scopes. Cannot be empty; an unknown value is rejected. | — |
| `expiresAt` | no | `string (date-time)` | Gets the expiration time. If not given, the key never expires. | — |
