Agent
Send message to agent
Sends a message to an AI agent thread and streams the response using Server-Sent Events (SSE). The response follows the Vercel AI UI message stream format.
post/project/{projectId}/agents/messages
Request
- Base URLhttps://api.takeshape.io
- AuthHTTP bearer
Path parameters
projectIdstring uuid required
Example:550e8400-e29b-41d4-a716-446655440000
The unique identifier for a project
Request body
Example request
{
"messages": [
{
"parts": [
{
"text": "Hello, how can I help you today?"
}
],
"role": "user"
}
],
"id": "01234567-89ab-cdef-0123-456789abcdef",
"metadata": {
"custom": {
"inputName": "userInput"
}
}
}Response
SSE stream of agent responses
Changes
No recorded changes to this operation across all 1 revision of this API.