---
title: Obiekt klucza API | RunAPI
description: Standardowy klucz API umożliwiający uwierzytelnianie żądań RunAPI. Jego
  wartość w postaci zwykłego tekstu nie jest częścią tego obiektu wielokrotnego użytku.
url: https://runapi.ai/pl/docs/api/management/keys/object.md
canonical: https://runapi.ai/pl/docs/api/management/keys/object
locale: pl
---

> Wersja HTML: https://runapi.ai/pl/docs/api/management/keys/object
> Indeks witryny dla agentów: https://runapi.ai/llms.txt

# Obiekt klucza API

Standardowy klucz API umożliwiający uwierzytelnianie żądań RunAPI. Jego wartość w postaci zwykłego tekstu nie jest częścią tego obiektu wielokrotnego użytku.

## Pola obiektu

Stabilne pola współdzielone przez obiekt wielokrotnego użytku zasobu.

### Klucze API

```json
{
  "allowed_models": {
    "description": "Opcjonalna lista dozwolonych modeli.",
    "required": true,
    "type": "array | null"
  },
  "created_at": {
    "description": "Czas utworzenia klucza.",
    "required": true,
    "type": "string"
  },
  "credit_limit_cents": {
    "description": "Opcjonalny limit wydatków klucza w centach USD.",
    "required": true,
    "type": "integer | null"
  },
  "credit_limit_reset_interval": {
    "description": "Opcjonalny cykl resetowania limitu wydatków klucza.",
    "enum": [
      "daily",
      "weekly",
      "monthly",
      null
    ],
    "required": true,
    "type": "string | null"
  },
  "credit_limit_windows": {
    "description": "Kroczące limity wydatków identyfikowane przez obsługiwany czas trwania okna.",
    "properties": {
      "1d": {
        "description": "",
        "properties": {
          "limit_cents": {
            "description": "Limit wydatków dla tego kroczącego okna w centach USD.",
            "required": true,
            "type": "integer"
          }
        },
        "required": false,
        "type": "credit_limit_window"
      },
      "1h": {
        "description": "",
        "properties": {
          "limit_cents": {
            "description": "Limit wydatków dla tego kroczącego okna w centach USD.",
            "required": true,
            "type": "integer"
          }
        },
        "required": false,
        "type": "credit_limit_window"
      },
      "7d": {
        "description": "",
        "properties": {
          "limit_cents": {
            "description": "Limit wydatków dla tego kroczącego okna w centach USD.",
            "required": true,
            "type": "integer"
          }
        },
        "required": false,
        "type": "credit_limit_window"
      }
    },
    "required": true,
    "type": "credit_limit_windows"
  },
  "enabled": {
    "description": "Czy klucz może uwierzytelniać żądania.",
    "required": true,
    "type": "boolean"
  },
  "guardrail_id": {
    "description": "Prefiks ID dołączonej bariery ochronnej (guardrail)",
    "required": true,
    "type": "string | null"
  },
  "id": {
    "description": "Prefiks ID klucza API.",
    "required": true,
    "type": "string"
  },
  "last_used_at": {
    "description": "Czas ostatniego użycia klucza",
    "required": true,
    "type": "string | null"
  },
  "masked_token": {
    "description": "Zamaskowana wartość klucza API.",
    "required": true,
    "type": "string"
  },
  "name": {
    "description": "Przyjazna nazwa klucza API.",
    "required": true,
    "type": "string"
  }
}
```

## Powiązane materiały referencyjne

- [Klucze API](https://runapi.ai/pl/docs/api/management/keys.md)
- [Wyświetl listę kluczy API](https://runapi.ai/pl/docs/api/management/keys/list.md)
- [Pobierz klucz API](https://runapi.ai/pl/docs/api/management/keys/retrieve.md)
- [Tworzenie klucza API](https://runapi.ai/pl/docs/api/management/keys/create.md)
- [Aktualizuj Klucz API](https://runapi.ai/pl/docs/api/management/keys/update.md)
- [Usuń klucz API](https://runapi.ai/pl/docs/api/management/keys/delete.md)

---

## Więcej od RunAPI

- [Strona główna](https://runapi.ai/pl/.md)
- [Katalog modeli](https://runapi.ai/pl/models.md)
- [Cennik](https://runapi.ai/pl/pricing.md)
- [Dostawcy](https://runapi.ai/pl/models)
- [Dokumentacja](https://runapi.ai/pl/docs/guides)
- [SDK](https://runapi.ai/pl/sdk.md)
- [CLI](https://runapi.ai/pl/cli.md)
- [Serwer MCP](https://runapi.ai/pl/mcp.md)
- [Claude Code vs Cursor](https://runapi.ai/pl/claude-code-vs-cursor.md)
- [Konfiguracja Cursor API](https://runapi.ai/pl/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/pl/openrouter-alternative.md)
- [Enterprise](https://runapi.ai/pl/contact.md)
- [Kontakt](https://runapi.ai/pl/contact.md)
- [Regulamin](https://runapi.ai/pl/terms.md)
- [Prywatność](https://runapi.ai/pl/privacy.md)
- [Indeks witryny dla agentów](https://runapi.ai/llms.txt)

Kontakt: contact@runapi.ai

## Dane strukturalne

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "pl",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/pl",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/pl/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "pl",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/pl",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/plicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "pl",
    "@type": "TechArticle",
    "headline": "Obiekt klucza API",
    "description": "Standardowy klucz API umożliwiający uwierzytelnianie żądań RunAPI. Jego wartość w postaci zwykłego tekstu nie jest częścią tego obiektu wielokrotnego użytku.",
    "url": "https://runapi.ai/pl/docs/api/management/keys/object",
    "mainEntityOfPage": "https://runapi.ai/pl/docs/api/management/keys/object"
  }
]
```
