{meta.title} {meta.description}
{#if keyQuery.isLoading}
{:else} {/if} {#if keyQuery.data} {#if apiKeyInfoResource.loading}
{:else if apiKeyInfoResource.current} {#if apiKeyInfoResource.current.usage !== undefined && apiKeyInfoResource.current.limit_remaining !== undefined} ${apiKeyInfoResource.current.usage.toFixed(3)} used ・ ${apiKeyInfoResource.current.limit_remaining.toFixed( 3 )} remaining {:else} ✅ API key is valid {/if} {:else} We encountered an error while trying to check your usage. Please try again later. {/if} {:else} Get your API key from {meta.title} {/if}
{#each toasts.toasts as toast (toast)}
{toast.data.content}
{/each}