{"openapi":"3.0.3","info":{"title":"Looking Glass API","description":"This REST API is used for internal Looking Glass services. For external use, please use the <a href=\"https://blocks.glass/api/graphql\">public GraphQL API</a></b>.","version":"0.2.0"},"servers":[{"url":"https://blocks.glass/api"}],"paths":{"/account":{"get":{"operationId":"User-account","summary":"Get details about the users account","description":"","tags":["User"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User-accountResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/user/rpm":{"patch":{"operationId":"User-updateRpmID","security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User-updateRpmIDBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User-updateRpmIDResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/user/delete":{"delete":{"operationId":"User-delete","security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User-deleteResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/user/getUserByEmail":{"get":{"operationId":"User-getUserByEmail","security":[{"Authorization":[]}],"parameters":[{"name":"email","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User-getUserByEmailResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/hologram/{id}/asset":{"get":{"operationId":"Hologram-getAssetById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hologram-getAssetByIdResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/display/{id}":{"get":{"operationId":"Displays-getDisplayInfo","security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Displays-getDisplayInfoResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}},"patch":{"operationId":"Displays-customizeDisplay","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Displays-customizeDisplayBody"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Displays-customizeDisplayResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/displays/updateDisplayInfo":{"post":{"operationId":"Displays-updateDisplayInfo","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Displays-updateDisplayInfoBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Displays-updateDisplayInfoResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/displays/sync":{"post":{"operationId":"Displays-updateSyncItems","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Displays-updateSyncItemsBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Displays-updateSyncItemsResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/displays/playlist":{"get":{"operationId":"Playlist-getPlaylistToSync","parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Playlist-getPlaylistToSyncResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/usage":{"get":{"operationId":"Liteforms-usage","summary":"Get usage","description":"Get the user's current Liteform usage.","tags":["Liteforms"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-usageResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/chat_proxy":{"post":{"operationId":"Liteforms-chatProxy","summary":"Create chat completion (proxy)","description":"Sends a message to the OpenAI chat completions endpoint, waits for the response to resolve, and returns the response. This will fail if the user has exceeded their usage limit.\n\t\t\t\t\n1:1 proxy with OpenAI's completion endpoint https://platform.openai.com/docs/api-reference/chat/create","tags":["Liteforms"],"security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-chatProxyBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-chatProxyResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/chat_proxy_stream":{"post":{"operationId":"Liteforms-chatProxyStream","summary":"Create chat completion (proxy stream)","description":"Sends a message to the OpenAI chat completions endpoint. Partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#event_stream_format\">server-sent events</a> as they become available, with the stream terminated by a data: [DONE] message.","tags":["Liteforms"],"security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-chatProxyStreamBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-chatProxyStreamResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/images_create":{"post":{"operationId":"Liteforms-imagesCreate","summary":"Creates an image given a prompt.","description":"Given a prompt and/or an input image, the model will generate a new image.","tags":["Liteforms"],"security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-imagesCreateBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-imagesCreateResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/character/{id}":{"get":{"operationId":"Liteforms-characters-getCharacter","security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-characters-getCharacterResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}},"patch":{"operationId":"Liteforms-characters-updateCharacter","security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-characters-updateCharacterBody"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-characters-updateCharacterResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}},"delete":{"operationId":"Liteforms-characters-deleteCharacter","security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-characters-deleteCharacterResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/character":{"post":{"operationId":"Liteforms-characters-createCharacter","security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-characters-createCharacterBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-characters-createCharacterResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/documents/{id}":{"get":{"operationId":"Liteforms-documents-getDocument","security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-documents-getDocumentResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}},"patch":{"operationId":"Liteforms-documents-updateDocument","security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-documents-updateDocumentBody"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-documents-updateDocumentResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}},"delete":{"operationId":"Liteforms-documents-deleteDocument","security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-documents-deleteDocumentResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/avatar/upload":{"post":{"operationId":"Liteforms-models-upload","security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-models-uploadBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-models-uploadResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/avatar":{"post":{"operationId":"Liteforms-models-create","security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-models-createBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-models-createResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}},"get":{"operationId":"Liteforms-models-getByUser","security":[{"Authorization":[]}],"parameters":[{"name":"userId","in":"query","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-models-getByUserResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/avatar/{id}":{"get":{"operationId":"Liteforms-models-read","security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-models-readResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}},"patch":{"operationId":"Liteforms-models-update","security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-models-updateBody"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-models-updateResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}},"delete":{"operationId":"Liteforms-models-delete","security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-models-deleteResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/speech_token":{"get":{"operationId":"Liteforms-speechToken","summary":"Get speech token","description":"Get a Microsoft speech token for the user in order to use TTS and STT speech services. This token expires after 10 minutes and must be refreshed. This will fail if the user has exceeded their usage limit.","tags":["Liteforms"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-speechTokenResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/add_stt_usage":{"post":{"operationId":"Liteforms-addSTTUsage","summary":"Add STT usage","description":"Adds time to the user's account by incrementing the number of seconds of STT usage. Be sure to throttle this endpoint by only calling every 5 seconds or so.","tags":["Liteforms"],"security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-addSTTUsageBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-addSTTUsageResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/liteforms/add_tts_usage":{"post":{"operationId":"Liteforms-addTTSUsage","summary":"Add TTS usage","description":"Adds time to the user's account by incrementing the number of seconds of TTS usage. Be sure to throttle this endpoint by only calling every 5 seconds or so.","tags":["Liteforms"],"security":[{"Authorization":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-addTTSUsageBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Liteforms-addTTSUsageResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/fragments":{"get":{"operationId":"Fragments-getFragments","security":[{"Authorization":[]}],"parameters":[{"name":"documentId","in":"query","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fragments-getFragmentsResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}},"/fragments/searchByPrompt":{"post":{"operationId":"Fragments-searchByPrompt","description":"Uses a prompt to find chunks of relevant text from a document specified by document ID","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fragments-searchByPromptBody"}}}},"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fragments-searchByPromptResponse"}}}},"401":{"$ref":"#/components/responses/error401"},"408":{"$ref":"#/components/responses/error408"},"412":{"$ref":"#/components/responses/error412"},"500":{"$ref":"#/components/responses/error500"}}}}},"components":{"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}},"responses":{"error":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false}}}},"error500":{"description":"An unspecified error occurred.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnknownError"}}}},"error401":{"description":"Invalid authentication credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"error412":{"description":"Usage has exceeded the monthly limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageExceededError"}}}},"error408":{"description":"The server timed out waiting for the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeoutError"}}}}},"schemas":{"User-accountResponse":{"type":"object","properties":{"id":{"type":"number"},"email":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"picture":{"type":"string"},"isSubscribed":{"type":"boolean"},"entitlements":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["LITEFORMS_BASIC","LITEFORMS_PLUS","LITEFORMS_CREATOR","LITEFORMS_PRO"]},"subscriptionId":{"type":"string","nullable":true},"period":{"type":"string","enum":["MONTH","YEAR"],"nullable":true},"source":{"type":"string","enum":["SHOPIFY","CHARGEBEE","RECHARGE"],"nullable":true}},"required":["type","subscriptionId","period"],"additionalProperties":false}},"rpmId":{"type":"string","nullable":true},"rpmToken":{"type":"string","nullable":true},"liteformsCharacters":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"voice":{"type":"object","properties":{"languageTag":{"type":"string"},"voiceName":{"type":"string"},"speakingStyle":{"type":"string"},"pitch":{"type":"string"},"rate":{"type":"string"}},"required":["languageTag","voiceName","speakingStyle","pitch","rate"],"additionalProperties":false,"nullable":true},"sceneId":{"type":"string"},"pronouns":{"type":"string","enum":["HE","SHE","THEY"]},"environmentID":{"type":"string","default":""},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"fragmentsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"metadata":{"nullable":true},"documentId":{"type":"number"}},"required":["id","content","documentId"],"additionalProperties":false}},"liteformsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"userId":{"type":"number"}},"required":["id","name","userId"],"additionalProperties":false}}},"additionalProperties":false}},"avatar_id":{"type":"number","nullable":true}},"additionalProperties":false}}},"required":["id","email","username","displayName","picture","isSubscribed","entitlements","liteformsCharacters"],"additionalProperties":false},"User-updateRpmIDResponse":{"enum":["null"],"nullable":true},"User-updateRpmIDBody":{"type":"object","properties":{"id":{"type":"string","nullable":true},"token":{"type":"string","nullable":true}},"additionalProperties":false},"User-deleteResponse":{"type":"number"},"User-getUserByEmailResponse":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"email":{"type":"string","nullable":true},"provider":{"type":"string"},"displayName":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"hologramCount":{"type":"number","nullable":true}},"required":["id","email","provider","displayName","username","hologramCount"],"additionalProperties":false}},"Hologram-getAssetByIdResponse":{},"Displays-getDisplayInfoResponse":{},"Displays-customizeDisplayResponse":{},"Displays-customizeDisplayBody":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9-_ ]{4,16}$"}},"required":["name"],"additionalProperties":false},"Displays-updateDisplayInfoResponse":{},"Displays-updateDisplayInfoBody":{"type":"object","properties":{"totalStorage":{"type":"number"},"remainingStorage":{"type":"number"},"firmwareVersion":{"type":"string"}},"required":["totalStorage","remainingStorage","firmwareVersion"],"additionalProperties":false},"Displays-updateSyncItemsResponse":{},"Displays-updateSyncItemsBody":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string","enum":["SYNCING","UNSYNCED","SYNCED"]}},"required":["id","status"],"additionalProperties":false}},"syncStatus":{"type":"string","enum":["SYNCING","SYNCED"]},"remainingStorage":{"type":"number"}},"additionalProperties":false},"Playlist-getPlaylistToSyncResponse":{"type":"object","properties":{"playlistId":{"type":"number","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"credentials":{}},"required":["playlistId","updatedAt"],"additionalProperties":false},"Liteforms-usageResponse":{"type":"object","properties":{"account":{"type":"object","properties":{"id":{"type":"number"},"email":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"picture":{"type":"string"},"isSubscribed":{"type":"boolean"},"entitlements":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["LITEFORMS_BASIC","LITEFORMS_PLUS","LITEFORMS_CREATOR","LITEFORMS_PRO"]},"subscriptionId":{"type":"string","nullable":true},"period":{"type":"string","enum":["MONTH","YEAR"],"nullable":true},"source":{"type":"string","enum":["SHOPIFY","CHARGEBEE","RECHARGE"],"nullable":true}},"required":["type","subscriptionId","period"],"additionalProperties":false}},"rpmId":{"type":"string","nullable":true},"rpmToken":{"type":"string","nullable":true},"liteformsCharacters":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"voice":{"type":"object","properties":{"languageTag":{"type":"string"},"voiceName":{"type":"string"},"speakingStyle":{"type":"string"},"pitch":{"type":"string"},"rate":{"type":"string"}},"required":["languageTag","voiceName","speakingStyle","pitch","rate"],"additionalProperties":false,"nullable":true},"sceneId":{"type":"string"},"pronouns":{"type":"string","enum":["HE","SHE","THEY"]},"environmentID":{"type":"string","default":""},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"fragmentsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"metadata":{"nullable":true},"documentId":{"type":"number"}},"required":["id","content","documentId"],"additionalProperties":false}},"liteformsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"userId":{"type":"number"}},"required":["id","name","userId"],"additionalProperties":false}}},"additionalProperties":false}},"avatar_id":{"type":"number","nullable":true}},"additionalProperties":false}}},"required":["id","email","username","displayName","picture","isSubscribed","entitlements","liteformsCharacters"],"additionalProperties":false},"usage":{"type":"object","properties":{"totalSeconds":{"type":"number","description":"The number of seconds of usage so far."},"totalSecondsRemaining":{"type":"number","description":"The number of seconds remaining. Once this value equals zero, the rest of the API calls will fail."},"totalGPTTokens":{"type":"number","description":"The number of GPT tokens used so far."},"totalSTTSeconds":{"type":"number","description":"The number of STT seconds used so far."},"totalTTSSeconds":{"type":"number","description":"The number of TTS seconds used so far."},"totalTTSChars":{"type":"number","description":"The number of TTS characters used so far."},"totalImagesCreated":{"type":"number","description":"The number of images created."},"startedAt":{"type":"string","format":"date-time","description":"The date the usage period started."},"resetsAt":{"type":"string","format":"date-time","description":"The date the usage period will reset."}},"required":["totalSeconds","totalSecondsRemaining","totalGPTTokens","totalSTTSeconds","totalTTSChars","totalImagesCreated","startedAt","resetsAt"],"additionalProperties":false}},"required":["account","usage"],"additionalProperties":false},"Liteforms-chatProxyResponse":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"created":{"type":"number"},"model":{"type":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"message":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"}},"required":["role"],"additionalProperties":false},"finish_reason":{"type":"string"},"index":{"type":"number"}},"additionalProperties":false}},"usage":{"type":"object","properties":{"total_tokens":{"type":"number"},"completion_tokens":{"type":"number"},"prompt_tokens":{"type":"number"}},"required":["total_tokens","completion_tokens","prompt_tokens"],"additionalProperties":false}},"required":["id","object","created","model","choices"],"additionalProperties":false},"response":{"type":"object","properties":{"dbLoadTime":{"type":"number"},"chatgptLoadTime":{"type":"number"},"totalTime":{"type":"number"}},"required":["dbLoadTime","chatgptLoadTime","totalTime"],"additionalProperties":false},"usage":{"type":"object","properties":{"totalSeconds":{"type":"number","description":"The number of seconds of usage so far."},"totalSecondsRemaining":{"type":"number","description":"The number of seconds remaining. Once this value equals zero, the rest of the API calls will fail."},"totalGPTTokens":{"type":"number","description":"The number of GPT tokens used so far."},"totalSTTSeconds":{"type":"number","description":"The number of STT seconds used so far."},"totalTTSSeconds":{"type":"number","description":"The number of TTS seconds used so far."},"totalTTSChars":{"type":"number","description":"The number of TTS characters used so far."},"totalImagesCreated":{"type":"number","description":"The number of images created."},"startedAt":{"type":"string","format":"date-time","description":"The date the usage period started."},"resetsAt":{"type":"string","format":"date-time","description":"The date the usage period will reset."}},"required":["totalSeconds","totalSecondsRemaining","totalGPTTokens","totalSTTSeconds","totalTTSChars","totalImagesCreated","startedAt","resetsAt"],"additionalProperties":false}},"required":["data","response","usage"],"additionalProperties":false},"Liteforms-chatProxyBody":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-3.5-turbo","gpt-3.5-turbo-0613","gpt-4","gpt-4-0613","gpt-4-32k","gpt-4-32k-0613","gpt-4o"],"description":"The OpenAI model to use.","default":"gpt-4o"},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user","assistant","function"]},"content":{"type":"string","description":"The content of the message."},"name":{"type":"string","description":"The name of the author of this message. May contain a-z, A-Z, 0-9, and underscores, with a maximum length of 64 characters."}},"required":["role","content"],"additionalProperties":false}},"presence_penalty":{"type":"number","description":"Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics."},"frequency_penalty":{"type":"number","description":"Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim."},"temperature":{"type":"number","description":"The temperature of the model. Must be between 0 and 1.","default":1},"top_p":{"type":"number","description":"The top_p of the model. Must be between 0 and 1.","default":1},"max_tokens":{"type":"number","description":"The maximum number of tokens to return."}},"required":["messages"],"additionalProperties":false},"Liteforms-chatProxyStreamResponse":{},"Liteforms-chatProxyStreamBody":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-3.5-turbo","gpt-3.5-turbo-0613","gpt-4","gpt-4-0613","gpt-4-32k","gpt-4-32k-0613","gpt-4o"],"description":"The OpenAI model to use.","default":"gpt-4o"},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user","assistant","function"]},"content":{"type":"string","description":"The content of the message."},"name":{"type":"string","description":"The name of the author of this message. May contain a-z, A-Z, 0-9, and underscores, with a maximum length of 64 characters."}},"required":["role","content"],"additionalProperties":false}},"presence_penalty":{"type":"number","description":"Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics."},"frequency_penalty":{"type":"number","description":"Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim."},"temperature":{"type":"number","description":"The temperature of the model. Must be between 0 and 1.","default":1},"top_p":{"type":"number","description":"The top_p of the model. Must be between 0 and 1.","default":1},"max_tokens":{"type":"number","description":"The maximum number of tokens to return."}},"required":["messages"],"additionalProperties":false},"Liteforms-imagesCreateResponse":{"type":"object","properties":{"created":{"type":"number"},"data":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"b64":{"type":"string"}},"additionalProperties":false}},"usage":{"type":"object","properties":{"totalSeconds":{"type":"number","description":"The number of seconds of usage so far."},"totalSecondsRemaining":{"type":"number","description":"The number of seconds remaining. Once this value equals zero, the rest of the API calls will fail."},"totalGPTTokens":{"type":"number","description":"The number of GPT tokens used so far."},"totalSTTSeconds":{"type":"number","description":"The number of STT seconds used so far."},"totalTTSSeconds":{"type":"number","description":"The number of TTS seconds used so far."},"totalTTSChars":{"type":"number","description":"The number of TTS characters used so far."},"totalImagesCreated":{"type":"number","description":"The number of images created."},"startedAt":{"type":"string","format":"date-time","description":"The date the usage period started."},"resetsAt":{"type":"string","format":"date-time","description":"The date the usage period will reset."}},"required":["totalSeconds","totalSecondsRemaining","totalGPTTokens","totalSTTSeconds","totalTTSChars","totalImagesCreated","startedAt","resetsAt"],"additionalProperties":false}},"required":["created","data","usage"],"additionalProperties":false},"Liteforms-imagesCreateBody":{"type":"object","properties":{"prompt":{"type":"string","maxLength":1000,"description":"A text description of the desired image(s). The maximum length is 1000 characters."},"n":{"type":"number","minimum":1,"maximum":10,"description":"The number of images to generate. Must be between 1 and 10.","default":1},"size":{"type":"string","enum":["256x256","512x512","1024x1024"],"description":"The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.","default":"256x256"},"response_format":{"type":"string","enum":["url","b64_json"],"description":"The format in which the generated images are returned. Must be one of url or b64_json","default":"url"},"user":{"type":"string","description":"A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse."}},"required":["prompt"],"additionalProperties":false},"Liteforms-characters-getCharacterResponse":{"anyOf":[{"not":{}},{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"voice":{"type":"object","properties":{"languageTag":{"type":"string"},"voiceName":{"type":"string"},"speakingStyle":{"type":"string"},"pitch":{"type":"string"},"rate":{"type":"string"}},"required":["languageTag","voiceName","speakingStyle","pitch","rate"],"additionalProperties":false,"nullable":true},"sceneId":{"type":"string"},"pronouns":{"type":"string","enum":["HE","SHE","THEY"]},"environmentID":{"type":"string","default":""},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"fragmentsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"metadata":{"nullable":true},"documentId":{"type":"number"}},"required":["id","content","documentId"],"additionalProperties":false}},"liteformsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"userId":{"type":"number"}},"required":["id","name","userId"],"additionalProperties":false}}},"additionalProperties":false}},"avatar_id":{"type":"number","nullable":true}},"additionalProperties":false,"nullable":true}]},"Liteforms-characters-updateCharacterResponse":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"voice":{"type":"object","properties":{"languageTag":{"type":"string"},"voiceName":{"type":"string"},"speakingStyle":{"type":"string"},"pitch":{"type":"string"},"rate":{"type":"string"}},"required":["languageTag","voiceName","speakingStyle","pitch","rate"],"additionalProperties":false,"nullable":true},"sceneId":{"type":"string"},"pronouns":{"type":"string","enum":["HE","SHE","THEY"]},"environmentID":{"type":"string","default":""},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"fragmentsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"metadata":{"nullable":true},"documentId":{"type":"number"}},"required":["id","content","documentId"],"additionalProperties":false}},"liteformsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"userId":{"type":"number"}},"required":["id","name","userId"],"additionalProperties":false}}},"additionalProperties":false}},"avatar_id":{"type":"number","nullable":true}},"additionalProperties":false},"Liteforms-characters-updateCharacterBody":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"voice":{"type":"object","properties":{"languageTag":{"type":"string"},"voiceName":{"type":"string"},"speakingStyle":{"type":"string"},"pitch":{"type":"string"},"rate":{"type":"string"}},"additionalProperties":false,"nullable":true},"sceneId":{"type":"string"},"pronouns":{"type":"string","enum":["HE","SHE","THEY"]},"environmentID":{"type":"string","default":""},"documents":{"type":"array","items":{"type":"number"}},"avatar_id":{"type":"number","nullable":true}},"additionalProperties":false},"Liteforms-characters-deleteCharacterResponse":{"type":"number","description":"The ID that was deleted"},"Liteforms-characters-createCharacterResponse":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"voice":{"type":"object","properties":{"languageTag":{"type":"string"},"voiceName":{"type":"string"},"speakingStyle":{"type":"string"},"pitch":{"type":"string"},"rate":{"type":"string"}},"required":["languageTag","voiceName","speakingStyle","pitch","rate"],"additionalProperties":false,"nullable":true},"sceneId":{"type":"string"},"pronouns":{"type":"string","enum":["HE","SHE","THEY"]},"environmentID":{"type":"string","default":""},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"fragmentsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"metadata":{"nullable":true},"documentId":{"type":"number"}},"required":["id","content","documentId"],"additionalProperties":false}},"liteformsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"userId":{"type":"number"}},"required":["id","name","userId"],"additionalProperties":false}}},"additionalProperties":false}},"avatar_id":{"type":"number","nullable":true}},"additionalProperties":false},"Liteforms-characters-createCharacterBody":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"voice":{"type":"object","properties":{"languageTag":{"type":"string"},"voiceName":{"type":"string"},"speakingStyle":{"type":"string"},"pitch":{"type":"string"},"rate":{"type":"string"}},"required":["languageTag","voiceName","speakingStyle","pitch","rate"],"additionalProperties":false,"nullable":true},"sceneId":{"type":"string"},"pronouns":{"type":"string","enum":["HE","SHE","THEY"]},"environmentID":{"type":"string","default":""},"documents":{"type":"array","items":{"type":"number"}},"avatar_id":{"type":"number","nullable":true}},"required":["name","description","voice","pronouns"],"additionalProperties":false},"Liteforms-documents-getDocumentResponse":{"type":"object","properties":{"id":{"type":"number"},"fragmentsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"metadata":{"nullable":true},"documentId":{"type":"number"}},"required":["id","content","documentId"],"additionalProperties":false}},"liteformsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"userId":{"type":"number"}},"required":["id","name","userId"],"additionalProperties":false}}},"required":["id","fragmentsCollection","liteformsCollection"],"additionalProperties":false},"Liteforms-documents-updateDocumentResponse":{"type":"object","properties":{"id":{"type":"number"},"fragmentsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"metadata":{"nullable":true},"documentId":{"type":"number"}},"required":["id","content","documentId"],"additionalProperties":false}},"liteformsCollection":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"userId":{"type":"number"}},"required":["id","name","userId"],"additionalProperties":false}}},"required":["id","fragmentsCollection","liteformsCollection"],"additionalProperties":false},"Liteforms-documents-updateDocumentBody":{"type":"object","properties":{"body":{"type":"string"},"embeddingOptions":{"type":"object","properties":{"model":{"type":"string","enum":["text-embedding-3-small","text-embedding-3-large","text-embedding-ada-002"],"default":"text-embedding-3-small"},"chunkSize":{"type":"number","default":1000},"chunkOverlap":{"type":"number","default":100},"separators":{"type":"array","items":{"type":"string"},"default":["---"]}},"additionalProperties":false,"default":{}}},"required":["body"],"additionalProperties":false},"Liteforms-documents-deleteDocumentResponse":{"type":"number"},"Liteforms-models-uploadResponse":{"type":"object","properties":{"uploadUrl":{"type":"string"},"uploadForm":{"type":"object","additionalProperties":{"type":"string"}},"avatarId":{"type":"number"},"uploadHash":{"type":"string"}},"required":["uploadUrl","uploadForm","avatarId","uploadHash"],"additionalProperties":false},"Liteforms-models-uploadBody":{"type":"object","properties":{"model_type":{"type":"string","enum":["VRM","RPM"],"default":"VRM"},"avatar_id":{"type":"number"},"name":{"type":"string","nullable":true}},"additionalProperties":false},"Liteforms-models-createResponse":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string","nullable":true},"user_id":{"type":"number"},"url":{"type":"string"},"file_size":{"type":"number"},"updated_at":{"type":"string","format":"date-time"},"model_type":{"type":"string","enum":["VRM","RPM"]},"upload_hash":{"type":"string","nullable":true},"scale":{"type":"number"},"armSpacing":{"type":"number"},"legSpacing":{"type":"number"},"rootHeight":{"type":"number"},"animations":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"frequency":{"type":"number"},"intensity":{"type":"number"}},"required":["name","frequency","intensity"],"additionalProperties":false}},"nullable":true}},"required":["id","user_id","url","file_size","updated_at","model_type","upload_hash"],"additionalProperties":false},"Liteforms-models-createBody":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"scale":{"type":"number"},"armSpacing":{"type":"number"},"legSpacing":{"type":"number"},"rootHeight":{"type":"number"},"animations":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"frequency":{"type":"number"},"intensity":{"type":"number"}},"required":["name","frequency","intensity"],"additionalProperties":false}},"nullable":true}},"required":["name","url"],"additionalProperties":false},"Liteforms-models-getByUserResponse":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string","nullable":true},"user_id":{"type":"number"},"url":{"type":"string"},"file_size":{"type":"number"},"updated_at":{"type":"string","format":"date-time"},"model_type":{"type":"string","enum":["VRM","RPM"]},"upload_hash":{"type":"string","nullable":true},"scale":{"type":"number"},"armSpacing":{"type":"number"},"legSpacing":{"type":"number"},"rootHeight":{"type":"number"},"animations":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"frequency":{"type":"number"},"intensity":{"type":"number"}},"required":["name","frequency","intensity"],"additionalProperties":false}},"nullable":true}},"required":["id","user_id","url","file_size","updated_at","model_type","upload_hash"],"additionalProperties":false}},"Liteforms-models-readResponse":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string","nullable":true},"user_id":{"type":"number"},"url":{"type":"string"},"file_size":{"type":"number"},"updated_at":{"type":"string","format":"date-time"},"model_type":{"type":"string","enum":["VRM","RPM"]},"upload_hash":{"type":"string","nullable":true},"scale":{"type":"number"},"armSpacing":{"type":"number"},"legSpacing":{"type":"number"},"rootHeight":{"type":"number"},"animations":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"frequency":{"type":"number"},"intensity":{"type":"number"}},"required":["name","frequency","intensity"],"additionalProperties":false}},"nullable":true}},"required":["id","user_id","url","file_size","updated_at","model_type","upload_hash"],"additionalProperties":false},"Liteforms-models-updateResponse":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string","nullable":true},"user_id":{"type":"number"},"url":{"type":"string"},"file_size":{"type":"number"},"updated_at":{"type":"string","format":"date-time"},"model_type":{"type":"string","enum":["VRM","RPM"]},"upload_hash":{"type":"string","nullable":true},"scale":{"type":"number"},"armSpacing":{"type":"number"},"legSpacing":{"type":"number"},"rootHeight":{"type":"number"},"animations":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"frequency":{"type":"number"},"intensity":{"type":"number"}},"required":["name","frequency","intensity"],"additionalProperties":false}},"nullable":true}},"required":["id","user_id","url","file_size","updated_at","model_type","upload_hash"],"additionalProperties":false},"Liteforms-models-updateBody":{"type":"object","properties":{"name":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"file_size":{"type":"number","nullable":true},"uploadHash":{"type":"string","nullable":true},"scale":{"type":"number"},"armSpacing":{"type":"number"},"legSpacing":{"type":"number"},"rootHeight":{"type":"number"},"animations":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"frequency":{"type":"number"},"intensity":{"type":"number"}},"required":["name","frequency","intensity"],"additionalProperties":false}},"nullable":true}},"additionalProperties":false},"Liteforms-models-deleteResponse":{"enum":["null"],"nullable":true},"Liteforms-speechTokenResponse":{"type":"object","properties":{"token":{"type":"string","description":"The speech token to be used for Microsoft speech services."},"region":{"type":"string","description":"The region of the speech token."},"usage":{"type":"object","properties":{"totalSeconds":{"type":"number","description":"The number of seconds of usage so far."},"totalSecondsRemaining":{"type":"number","description":"The number of seconds remaining. Once this value equals zero, the rest of the API calls will fail."},"totalGPTTokens":{"type":"number","description":"The number of GPT tokens used so far."},"totalSTTSeconds":{"type":"number","description":"The number of STT seconds used so far."},"totalTTSSeconds":{"type":"number","description":"The number of TTS seconds used so far."},"totalTTSChars":{"type":"number","description":"The number of TTS characters used so far."},"totalImagesCreated":{"type":"number","description":"The number of images created."},"startedAt":{"type":"string","format":"date-time","description":"The date the usage period started."},"resetsAt":{"type":"string","format":"date-time","description":"The date the usage period will reset."}},"required":["totalSeconds","totalSecondsRemaining","totalGPTTokens","totalSTTSeconds","totalTTSChars","totalImagesCreated","startedAt","resetsAt"],"additionalProperties":false}},"required":["token","region","usage"],"additionalProperties":false},"Liteforms-addSTTUsageResponse":{"type":"object","properties":{"seconds":{"type":"number","description":"The number of seconds of STT usage"},"usage":{"type":"object","properties":{"totalSeconds":{"type":"number","description":"The number of seconds of usage so far."},"totalSecondsRemaining":{"type":"number","description":"The number of seconds remaining. Once this value equals zero, the rest of the API calls will fail."},"totalGPTTokens":{"type":"number","description":"The number of GPT tokens used so far."},"totalSTTSeconds":{"type":"number","description":"The number of STT seconds used so far."},"totalTTSSeconds":{"type":"number","description":"The number of TTS seconds used so far."},"totalTTSChars":{"type":"number","description":"The number of TTS characters used so far."},"totalImagesCreated":{"type":"number","description":"The number of images created."},"startedAt":{"type":"string","format":"date-time","description":"The date the usage period started."},"resetsAt":{"type":"string","format":"date-time","description":"The date the usage period will reset."}},"required":["totalSeconds","totalSecondsRemaining","totalGPTTokens","totalSTTSeconds","totalTTSChars","totalImagesCreated","startedAt","resetsAt"],"additionalProperties":false}},"required":["seconds","usage"],"additionalProperties":false},"Liteforms-addSTTUsageBody":{"type":"object","properties":{"seconds":{"type":"number","description":"The number of seconds of STT usage"}},"required":["seconds"],"additionalProperties":false},"Liteforms-addTTSUsageResponse":{"type":"object","properties":{"seconds":{"type":"number","description":"The total number of seconds of TTS usage"},"usage":{"type":"object","properties":{"totalSeconds":{"type":"number","description":"The number of seconds of usage so far."},"totalSecondsRemaining":{"type":"number","description":"The number of seconds remaining. Once this value equals zero, the rest of the API calls will fail."},"totalGPTTokens":{"type":"number","description":"The number of GPT tokens used so far."},"totalSTTSeconds":{"type":"number","description":"The number of STT seconds used so far."},"totalTTSSeconds":{"type":"number","description":"The number of TTS seconds used so far."},"totalTTSChars":{"type":"number","description":"The number of TTS characters used so far."},"totalImagesCreated":{"type":"number","description":"The number of images created."},"startedAt":{"type":"string","format":"date-time","description":"The date the usage period started."},"resetsAt":{"type":"string","format":"date-time","description":"The date the usage period will reset."}},"required":["totalSeconds","totalSecondsRemaining","totalGPTTokens","totalSTTSeconds","totalTTSChars","totalImagesCreated","startedAt","resetsAt"],"additionalProperties":false}},"required":["seconds","usage"],"additionalProperties":false},"Liteforms-addTTSUsageBody":{"type":"object","properties":{"seconds":{"type":"number","description":"The number of seconds of TTS usage"},"characters":{"type":"number","description":"The number of characters of TTS usage"}},"required":["seconds"],"additionalProperties":false},"Fragments-getFragmentsResponse":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"metadata":{"nullable":true},"documentId":{"type":"number"}},"additionalProperties":false}},"Fragments-searchByPromptResponse":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"metadata":{"nullable":true},"documentId":{"type":"number"}},"required":["id","content","documentId"],"additionalProperties":false}},"Fragments-searchByPromptBody":{"type":"object","properties":{"documentId":{"type":"number"},"content":{"type":"string"},"model":{"type":"string","enum":["text-embedding-3-small","text-embedding-3-large","text-embedding-ada-002"],"default":"text-embedding-3-small"},"matchCount":{"type":"number","default":3},"matchThreshold":{"type":"number","default":0.6}},"required":["documentId","content"],"additionalProperties":false},"UnknownError":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"description":"An unspecified error occurred."},"UnauthorizedError":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"description":"Invalid authentication credentials."},"UsageExceededError":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"description":"Usage has exceeded the monthly limit."},"TimeoutError":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"description":"The server timed out waiting for the request."}}},"externalDocs":{"url":"https://api.blocks.glass"}}