/** * This file was auto-generated by Fern from our API Definition. */ import * as Vectara from "../../../../index"; /** * @example * { * name: "name", * apiKeyRole: "serving" * } */ export interface CreateApiKeyRequest { /** * The API will make a best effort to complete the request in the specified seconds or time out. */ requestTimeout?: number; /** * The API will make a best effort to complete the request in the specified milliseconds or time out. */ requestTimeoutMillis?: number; /** The human-readable name of the API key. */ name: string; apiKeyRole: Vectara.ApiKeyRole; /** * Corpora this API key has roles on if it is not a Personal API key. * This property should be null or missing if this `api_key_role` is * `personal`. * */ corpusKeys?: Vectara.CorpusKey[]; }