Log a run of the AI agent
POST
/
conversations
/
ai
/
{conversationId}
/
agent-runs
Log a run of the AI agent
curl --request POST \
--url http://localhost:3002/api/v1/conversations/ai/{conversationId}/agent-runs \
--header 'x-ai-tool-secret: <x-ai-tool-secret>'const options = {method: 'POST', headers: {'x-ai-tool-secret': '<x-ai-tool-secret>'}};
fetch('http://localhost:3002/api/v1/conversations/ai/{conversationId}/agent-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/conversations/ai/{conversationId}/agent-runs"
headers = {"x-ai-tool-secret": "<x-ai-tool-secret>"}
response = requests.post(url, headers=headers)
print(response.text)Last modified on July 18, 2026
⌘I
Log a run of the AI agent
curl --request POST \
--url http://localhost:3002/api/v1/conversations/ai/{conversationId}/agent-runs \
--header 'x-ai-tool-secret: <x-ai-tool-secret>'const options = {method: 'POST', headers: {'x-ai-tool-secret': '<x-ai-tool-secret>'}};
fetch('http://localhost:3002/api/v1/conversations/ai/{conversationId}/agent-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/conversations/ai/{conversationId}/agent-runs"
headers = {"x-ai-tool-secret": "<x-ai-tool-secret>"}
response = requests.post(url, headers=headers)
print(response.text)