curl -X POST 'https://octopusx.ai/v1/responses' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"gpt-6-luna","input":"your prompt","max_output_tokens":4096,"stream":false,"reasoning":{"effort":"low"}}'
# Result: output[].content[].text (json)Replace <YOUR_API_KEY> with the API key generated on your token management page.
Authentication
Authorization: Bearer ${API_KEY}
Endpoint Path
POST
Supported Parameters
ParameterTypeRequiredDefaultDescription
textareaRequired—Prompt
Response extraction
output[].content[].textjson