AiOptimization
Live Claude LLM Responses endpoint allows you to retrieve structured responses from a specific Claude model, based on the input parameters.
post/v3/ai_optimization/claude/llm_responses/live
Request
- Base URL: https://api.dataforseo.com
- URL: https://api.dataforseo.com/v3/ai_optimization/claude/llm_responses/live
- Auth: HTTP basic
Request body
Example request
[
{
"system_message": "communicate as if we are in a business meeting",
"message_chain": [
{
"role": "user",
"message": "Hello, what’s up?"
},
{
"role": "ai",
"message": "Hello! I’m doing well, thank you. How can I assist you today? Are there any specific topics or projects you’d like to discuss in our meeting?"
}
],
"max_output_tokens": 200,
"model_name": "claude-opus-5",
"temperature": 0.3,
"web_search": true,
"web_search_country_iso_code": "FR",
"user_prompt": "provide information on how relevant the amusement park business is in France now"
}
]Response
Successful operation
Changes
- breaking
added to the
///////////////////response propertyoneOflist for the response status - info
added the new optional request property
///// - info
added the optional property
//////////////////to the response with the status - info
removed from the
///////////////////response propertyoneOflist for the response status
- breaking
- info
api operation id
AiOptimizationClaudeLlmResponsesLiveremoved and replaced withClaudeLlmResponsesLive - info
added the optional property
//////////////////to the response with the status
- info