curl --location --request POST '/v1/responses' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"metadata": {
"property1": "string",
"property2": "string"
},
"service_tier": "auto",
"temperature": 0,
"top_p": 0,
"user": "string",
"instructions": null,
"max_output_tokens": 0,
"model": "string",
"previous_response_id": null,
"reasoning": null,
"text": {
"format": {
"type": "json_object",
"description": "string",
"name": "string",
"schema": {
"property1": "string",
"property2": "string"
},
"strict": true,
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
},
"tool_choice": "auto",
"tools": [
{
"filters": {
"key": "string",
"type": "and",
"value": true,
"filters": []
},
"max_num_results": 0,
"ranking_options": {
"ranker": "auto",
"score_threshold": 0,
"property1": "string",
"property2": "string"
},
"type": "computer_use_preview",
"vector_store_ids": [
"string"
],
"description": null,
"name": "string",
"parameters": {
"property1": "string",
"property2": "string"
},
"strict": true,
"search_context_size": "high",
"user_location": null,
"display_height": 0,
"display_width": 0,
"environment": "browser",
"property1": "string",
"property2": "string"
}
],
"truncation": "auto",
"include": [
"computer_call_output.output.image_url"
],
"input": [
{
"content": [
{
"text": "string",
"type": "input_file",
"detail": "auto",
"file_id": null,
"image_url": null,
"file_data": "string",
"filename": "string",
"annotations": [
{
"file_id": "string",
"index": 0,
"type": "file_citation",
"end_index": 0,
"start_index": 0,
"title": "string",
"url": "string",
"property1": "string",
"property2": "string"
}
],
"refusal": "string",
"property1": "string",
"property2": "string"
}
],
"role": "assistant",
"type": "computer_call",
"status": "completed",
"id": null,
"queries": [
"string"
],
"results": [
{
"attributes": {
"property1": true,
"property2": true
},
"file_id": "string",
"filename": "string",
"score": 0,
"text": "string",
"property1": "string",
"property2": "string"
}
],
"action": {
"button": "back",
"type": "click",
"x": 0,
"y": 0,
"path": [
{
"x": 0,
"y": 0,
"property1": "string",
"property2": "string"
}
],
"keys": [
"string"
],
"scroll_x": 0,
"scroll_y": 0,
"text": "string",
"property1": "string",
"property2": "string"
},
"call_id": "string",
"pending_safety_checks": [
{
"code": "string",
"id": "string",
"message": "string",
"property1": "string",
"property2": "string"
}
],
"acknowledged_safety_checks": [
{
"code": null,
"id": "string",
"message": null,
"property1": "string",
"property2": "string"
}
],
"output": {
"file_id": "string",
"image_url": "string",
"type": "computer_screenshot",
"property1": "string",
"property2": "string"
},
"arguments": "string",
"name": "string",
"summary": [
{
"text": "string",
"type": "summary_text",
"property1": "string",
"property2": "string"
}
],
"property1": "string",
"property2": "string"
}
],
"parallel_tool_calls": true,
"store": true,
"stream": true,
"property1": "string",
"property2": "string"
}'{
"metadata": {
"property1": "string",
"property2": "string"
},
"service_tier": "auto",
"temperature": 0,
"top_p": 0,
"user": "string",
"instructions": null,
"max_output_tokens": 0,
"model": "string",
"previous_response_id": null,
"reasoning": null,
"text": {
"format": {
"type": "json_object",
"description": "string",
"name": "string",
"schema": {
"property1": "string",
"property2": "string"
},
"strict": true,
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
},
"tool_choice": "auto",
"tools": [
{
"type": "computer_use_preview",
"filters": {
"key": "string",
"type": "and",
"value": true,
"filters": [
"string"
]
},
"max_num_results": 0,
"ranking_options": {
"ranker": "auto",
"score_threshold": 0,
"property1": "string",
"property2": "string"
},
"vector_store_ids": [
"string"
],
"description": null,
"name": "string",
"parameters": {
"property1": "string",
"property2": "string"
},
"strict": true,
"search_context_size": "high",
"user_location": null,
"display_height": 0,
"display_width": 0,
"environment": "browser",
"property1": "string",
"property2": "string"
}
],
"truncation": "auto",
"created_at": 0,
"error": null,
"id": "string",
"incomplete_details": null,
"object": "response",
"output": [
{
"content": [
{
"annotations": [
{
"file_id": "string",
"index": 0,
"type": "file_citation",
"end_index": 0,
"start_index": 0,
"title": "string",
"url": "string",
"property1": "string",
"property2": "string"
}
],
"text": "string",
"type": "output_text",
"refusal": "string",
"property1": "string",
"property2": "string"
}
],
"id": "string",
"role": "assistant",
"status": "completed",
"type": "computer_call",
"queries": [
"string"
],
"results": [
{
"attributes": {
"property1": true,
"property2": true
},
"file_id": "string",
"filename": "string",
"score": 0,
"text": "string",
"property1": "string",
"property2": "string"
}
],
"arguments": "string",
"call_id": "string",
"name": "string",
"action": {
"button": "back",
"type": "click",
"x": 0,
"y": 0,
"path": [
{
"x": 0,
"y": 0,
"property1": "string",
"property2": "string"
}
],
"keys": [
"string"
],
"scroll_x": 0,
"scroll_y": 0,
"text": "string",
"property1": "string",
"property2": "string"
},
"pending_safety_checks": [
{
"code": "string",
"id": "string",
"message": "string",
"property1": "string",
"property2": "string"
}
],
"summary": [
{
"text": "string",
"type": "summary_text",
"property1": "string",
"property2": "string"
}
],
"property1": "string",
"property2": "string"
}
],
"output_text": null,
"parallel_tool_calls": true,
"status": "completed",
"usage": {
"input_tokens": 0,
"input_tokens_details": {
"cached_tokens": 0,
"property1": "string",
"property2": "string"
},
"output_tokens": 0,
"output_tokens_details": {
"reasoning_tokens": 0,
"property1": "string",
"property2": "string"
},
"total_tokens": 0,
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}