@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
27 lines • 1.28 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type V2ApisGetApiResponseData = {
/**
* The unique identifier of this API within Unkey's system.
*
* @remarks
* Used in all operations related to this API including key creation, verification, and management.
* Always begins with 'api_' followed by alphanumeric characters and underscores.
* This identifier is permanent and never changes after API creation.
*/
id: string;
/**
* The internal name of this API as specified during creation.
*
* @remarks
* Used for organization and identification within your workspace.
* Helps distinguish between different environments, services, or access tiers.
* Not visible to end users - this is purely for administrative purposes.
*/
name: string;
};
/** @internal */
export declare const V2ApisGetApiResponseData$inboundSchema: z.ZodType<V2ApisGetApiResponseData, z.ZodTypeDef, unknown>;
export declare function v2ApisGetApiResponseDataFromJSON(jsonString: string): SafeParseResult<V2ApisGetApiResponseData, SDKValidationError>;
//# sourceMappingURL=v2apisgetapiresponsedata.d.ts.map