{
"model": "gpt-5",
"input": "Summarize the main trade-offs between monolithic and microservice architectures."
}curl --location --request POST 'https://api.ccapi.ai//v1/responses' \
--header 'Authorization: Bearer sk-xxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-5",
"input": "Summarize the main trade-offs between monolithic and microservice architectures."
}'{
"id": "resp_example",
"object": "response",
"model": "gpt-5",
"status": "completed",
"output": [
{
"type": "message",
"role": "assistant",
"content": [
{
"type": "output_text",
"text": "Monolithic architecture is simpler to deploy but weaker in scaling and independent evolution; microservices are more flexible but have higher governance costs."
}
]
}
],
"usage": {
"input_tokens": 28,
"output_tokens": 31,
"total_tokens": 59
}
}