---
title: API キーオブジェクト | RunAPI
description: RunAPI リクエストを認証できる標準 API キーです。その平文の値はこの再利用可能なオブジェクトには含まれません。
url: https://runapi.ai/ja/docs/api/management/keys/object.md
canonical: https://runapi.ai/ja/docs/api/management/keys/object
locale: ja
---

> HTML 版: https://runapi.ai/ja/docs/api/management/keys/object
> エージェント向けサイトインデックス: https://runapi.ai/llms.txt

# API キーオブジェクト

RunAPI リクエストを認証できる標準 API キーです。その平文の値はこの再利用可能なオブジェクトには含まれません。

## オブジェクトフィールド

リソースの再利用可能オブジェクトで共有される安定したフィールド。

### API キー

```json
{
  "allowed_models": {
    "description": "オプションのモデル許可リスト。",
    "required": true,
    "type": "array | null"
  },
  "created_at": {
    "description": "キーが作成された時刻。",
    "required": true,
    "type": "string"
  },
  "credit_limit_cents": {
    "description": "USD セント単位のオプションのキー支出上限。",
    "required": true,
    "type": "integer | null"
  },
  "credit_limit_reset_interval": {
    "description": "オプションのキー支出上限リセット周期。",
    "enum": [
      "daily",
      "weekly",
      "monthly",
      null
    ],
    "required": true,
    "type": "string | null"
  },
  "credit_limit_windows": {
    "description": "サポートされているウィンドウ期間をキーとするローリング支出上限。",
    "properties": {
      "1d": {
        "description": "",
        "properties": {
          "limit_cents": {
            "description": "このローリングウィンドウの支出上限（USD セント単位）。",
            "required": true,
            "type": "integer"
          }
        },
        "required": false,
        "type": "credit_limit_window"
      },
      "1h": {
        "description": "",
        "properties": {
          "limit_cents": {
            "description": "このローリングウィンドウの支出上限（USD セント単位）。",
            "required": true,
            "type": "integer"
          }
        },
        "required": false,
        "type": "credit_limit_window"
      },
      "7d": {
        "description": "",
        "properties": {
          "limit_cents": {
            "description": "このローリングウィンドウの支出上限（USD セント単位）。",
            "required": true,
            "type": "integer"
          }
        },
        "required": false,
        "type": "credit_limit_window"
      }
    },
    "required": true,
    "type": "credit_limit_windows"
  },
  "enabled": {
    "description": "キーがリクエストを認証できるかどうか。",
    "required": true,
    "type": "boolean"
  },
  "guardrail_id": {
    "description": "関連付けられたガードレールのプレフィックス ID",
    "required": true,
    "type": "string | null"
  },
  "id": {
    "description": "API キーのプレフィックス ID。",
    "required": true,
    "type": "string"
  },
  "last_used_at": {
    "description": "キーが最後に使用された時刻",
    "required": true,
    "type": "string | null"
  },
  "masked_token": {
    "description": "マスクされたAPIキーの値。",
    "required": true,
    "type": "string"
  },
  "name": {
    "description": "わかりやすい API キー名。",
    "required": true,
    "type": "string"
  }
}
```

## 関連リファレンス

- [API キー](https://runapi.ai/ja/docs/api/management/keys.md)
- [APIキーの一覧取得](https://runapi.ai/ja/docs/api/management/keys/list.md)
- [APIキーを取得する](https://runapi.ai/ja/docs/api/management/keys/retrieve.md)
- [APIキーを作成する](https://runapi.ai/ja/docs/api/management/keys/create.md)
- [APIキーを更新](https://runapi.ai/ja/docs/api/management/keys/update.md)
- [APIキーの削除](https://runapi.ai/ja/docs/api/management/keys/delete.md)

---

## RunAPI のその他の情報

- [ホーム](https://runapi.ai/ja/.md)
- [モデルカタログ](https://runapi.ai/ja/models.md)
- [料金](https://runapi.ai/ja/pricing.md)
- [プロバイダー](https://runapi.ai/ja/models)
- [ドキュメント](https://runapi.ai/ja/docs/guides)
- [SDK](https://runapi.ai/ja/sdk.md)
- [CLI](https://runapi.ai/ja/cli.md)
- [MCP Server](https://runapi.ai/ja/mcp.md)
- [Claude Code と Cursor](https://runapi.ai/ja/claude-code-vs-cursor.md)
- [Cursor API セットアップ](https://runapi.ai/ja/cursor-api-setup.md)
- [RunAPI と OpenRouter の比較](https://runapi.ai/ja/openrouter-alternative.md)
- [エンタープライズ](https://runapi.ai/ja/contact.md)
- [お問い合わせ](https://runapi.ai/ja/contact.md)
- [利用規約](https://runapi.ai/ja/terms.md)
- [プライバシー](https://runapi.ai/ja/privacy.md)
- [エージェント向けサイトインデックス](https://runapi.ai/llms.txt)

お問い合わせ: contact@runapi.ai

## 構造化データ

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "ja",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/ja",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/ja/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ja",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/ja",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/jaicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ja",
    "@type": "TechArticle",
    "headline": "API キーオブジェクト",
    "description": "RunAPI リクエストを認証できる標準 API キーです。その平文の値はこの再利用可能なオブジェクトには含まれません。",
    "url": "https://runapi.ai/ja/docs/api/management/keys/object",
    "mainEntityOfPage": "https://runapi.ai/ja/docs/api/management/keys/object"
  }
]
```
