Deepgram · Schema

KeyCreate

Artificial IntelligenceSpeech-To-TextText-To-SpeechTranscriptionVoice AI

Properties

Name Type Description
comment string Description or name for the API key.
scopes array Scopes to assign to this API key.
expiration_date string Optional expiration date for the key.
time_to_live_in_seconds integer Optional time-to-live in seconds for the key.
View JSON Schema on GitHub

JSON Schema

deepgram-keycreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/KeyCreate",
  "title": "KeyCreate",
  "type": "object",
  "required": [
    "comment",
    "scopes"
  ],
  "properties": {
    "comment": {
      "type": "string",
      "description": "Description or name for the API key."
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Scopes to assign to this API key."
    },
    "expiration_date": {
      "type": "string",
      "format": "date-time",
      "description": "Optional expiration date for the key."
    },
    "time_to_live_in_seconds": {
      "type": "integer",
      "description": "Optional time-to-live in seconds for the key."
    }
  }
}