本文へ移動
使い方

ドキュメントを検索

検索はブラウザー内で行われ、入力した語句は送信・保存されません。認証情報は入力しないでください。

検索データを読み込み中…

Tab または矢印キーで移動 · Enter で開く · Esc で閉じる
ドキュメントを探す

アカウントと上限を取得

GET /accountの認証、フィールド、応答、エラー、安全な運用をソースから生成した参考資料です。

公開ベータAPI v1 · 1.4.0最終確認
このページの目次

操作

GET /account

operationId: account_v1_account_get

認証中のアカウント、開発者の利用段階、購読期間、キーの主体と権限、アカウント全体の上限を取得します。秘密キーは返されません。購読は上限を上げますが、アクセス自体には不要です。結果不明の作成を復旧するときは同じキー主体を保ってください。

認証と副作用

サーバー側のBearer APIキーを使います。必要な権限:animations:read

有料生成は始めません。ほかの状態変更は上記を確認してください。

パラメータ

パス、クエリ、操作固有のヘッダーパラメータはありません。

応答

HTTP 本文 説明
200 AccountResponse Successful public response. Example values are illustrative.
400 APIErrorEnvelope Invalid input; correct the request before retrying.
401 APIErrorEnvelope Missing, expired, or revoked API key.
403 APIErrorEnvelope Account eligibility, account status, or key scope does not allow this operation.
404 APIErrorEnvelope Resource is unavailable, not owned, or its signature is invalid/expired.
429 APIErrorEnvelope Account-wide rate or queue limit; wait for Retry-After.
500 APIErrorEnvelope Internal failure; preserve the task/key and retry only when marked retryable.
503 APIErrorEnvelope Service/provider unavailable; retry only when error.retryable is true.

応答ヘッダー

HTTP ヘッダー 型 説明
429 Retry-After integer Suggested wait in seconds; respect the server value and an overall deadline.
503 Retry-After integer Suggested wait in seconds; respect the server value and an overall deadline.

応答例

json
{
  "api_key": {
    "id": "00000000-0000-4000-8000-000000000005",
    "scopes": [
      "animations:read",
      "animations:write"
    ]
  },
  "id": "00000000-0000-4000-8000-000000000004",
  "limits": {
    "concurrency": 1,
    "create_per_minute": 3,
    "other_per_minute": 60,
    "queue": 3
  },
  "object": "account",
  "plan": {
    "cancel_at_period_end": false,
    "code": "registered",
    "current_period_end": null
  }
}

関連ガイド

状態確認とダウンロード · エラーと安全な再試行

この記事は役に立ちましたか?

検索語句、コード、自由記述は収集しません。この設定はドキュメントの操作イベントのみを制御します。 プライバシーポリシー

お困りですか?サポートへ