"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
import pydantic
from typing_extensions import Annotated, TypedDict
from unkey.py.types import BaseModel


class V2ApisCreateAPIResponseDataTypedDict(TypedDict):
    api_id: str
    r"""The unique identifier assigned to the newly created API.
    Use this ID for all subsequent operations including key creation, verification, and API management.
    Always begins with 'api_' followed by a unique alphanumeric sequence.

    Store this ID securely as it's required when:
    - Creating API keys within this namespace
    - Verifying keys associated with this API
    - Managing API settings and metadata
    - Listing keys belonging to this API

    This identifier is permanent and cannot be changed after creation.

    """


class V2ApisCreateAPIResponseData(BaseModel):
    api_id: Annotated[str, pydantic.Field(alias="apiId")]
    r"""The unique identifier assigned to the newly created API.
    Use this ID for all subsequent operations including key creation, verification, and API management.
    Always begins with 'api_' followed by a unique alphanumeric sequence.

    Store this ID securely as it's required when:
    - Creating API keys within this namespace
    - Verifying keys associated with this API
    - Managing API settings and metadata
    - Listing keys belonging to this API

    This identifier is permanent and cannot be changed after creation.

    """
