Poe API

Bot image for raytheon

raytheon

Chat

Uses Claude-Haiku-3, a model that is powered by Anthropic. Learn more

Build with raytheon using the Poe API

Start by creating an API key, for use with any bot on Poe:

Generate API key

Code samples

Messages API
import anthropic

client = anthropic.Anthropic(
    api_key = "YOUR_POE_API_KEY",  # or os.getenv("POE_API_KEY")
    base_url = "https://api.poe.com",
)

message = client.messages.create(
    model = "raytheon",
    max_tokens = 1024,
    messages = [{
      "role": "user",
      "content": "Hello world"
    }]
)

print(message.content[0].text)

See the full documentation for comprehensive guidance on getting started.


More from Kyle K

Bot image for WorldCoinGPT
WorldCoinGPT
Bot image for WorldCoinBot
WorldCoinBot
Bot image for WorldCoinAI
WorldCoinAI
Bot image for Rnwy-Video
Rnwy-Video
Bot image for OmniGen2-Image
OmniGen2-Image
Bot image for JordanCoworker
JordanCoworker
Bot image for swiftiechat
swiftiechat
Bot image for taylorswifty
taylorswifty
Bot image for disneyparkguide
disneyparkguide
Bot image for disneyworldbot
disneyworldbot