Create new chat
API Documentation: Create Chat Completion
Endpoint
POST /v1/chat/completionsDescription
Request
curl --location 'https://api.1for.ai/v1/chat/completions' \
--header 'Content-Type: application/json' \
--header 'api-key: {API_KEY}' \
--data '{
"model": "auto",
"messages": [
{"role": "user", "content": "How are you doing today?"}
]
}'Response
Notes
Last updated