Chunk #647

Aus: AI-Services (Index: 12)

110 Tokens
Synced Status
« Vorheriger (#11) Nächster (#13) »

Taxonomie

Kategorie API
Pfad API > AI Services > ClaudeService
Heading-Pfad AI-Services > AI Services > ClaudeService > API-Aufruf

Entities

Name Typ
Anthropic Claude SERVICE
API Endpoint SERVICE
Claude-Opus-4-5 TECHNOLOGY
OpenAI API TECHNOLOGY
JSON CONFIG

Keywords

API call Claude Anthropic OpenAI tokens

Inhalt

POST https://api.anthropic.com/v1/messages
Content-Type: application/json
x-api-key: sk-ant-...
anthropic-version: 2023-06-01

{
    "model": "claude-opus-4-5-20251101",
    "max_tokens": 4000,
    "system": "Du bist ein hilfreicher Assistent...",
    "messages": [
        {
            "role": "user",
            "content": "..."
        }
    ]
}

Response:
{
    "content": [
        {
            "type": "text",
            "text": "..."
        }
    ],
    "usage": {
        "input_tokens": 100,
        "output_tokens": 200
    }
}

Clean Content

```
`POST https://api.anthropic.com/v1/messages
Content-Type: application/json
x-api-key: sk-ant-...
anthropic-version: 2023-06-01

{
 "model": "claude-opus-4-5-20251101",
 "max_tokens": 4000,
 "system": "Du bist ein hilfreicher Assistent...",
 "messages": [
 {
 "role": "user",
 "content": "..."
 }
 ]
}

Response:
{
 "content": [
 {
 "type": "text",
 "text": "..."
 }
 ],
 "usage": {
 "input_tokens": 100,
 "output_tokens": 200
 }
}`
```

Metadaten

Analysiert am20.12.2025 12:48:51
Analyse-Modellgemma3:4b-it-qat
Embedding-Modellmxbai-embed-large
Qdrant-IDf3379554-b077-4852-aa23-f6774c408ec8
Erstellt20.12.2025 12:34:42
Aktualisiert20.12.2025 12:53:41