curl --location -g --request POST 'https://localhost/api/v1/agents//run?workspace_uuid={{workspace_uuid}}' \
--header 'Accept: application/json' \
--header 'X-Multiplai-Authorization;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"provider": "openai",
"model": "gpt-4.1-mini",
"messages": [
{
"content": "Hi",
"role": "user"
}
]
}'{
"id": "string",
"content": "string",
"metadata": {
"tool_calls": [
{
"id": "string",
"function": {
"name": "string",
"arguments": "string"
}
}
]
}
}