curl --request POST \
--url https://agent-studio.thena.ai/api/v1/feedback/flow \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"flow_execution_id": "<string>",
"context_id": "<string>",
"feedback_type": "positive",
"issue_type": "<string>",
"comment": "<string>",
"source": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"flow_execution_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"context_id": "<string>",
"feedback_type": "positive",
"issue_type": "<string>",
"comment": "<string>",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "<string>",
"updated_at": "<string>",
"source": "<string>",
"portkey_trace_id": "<string>",
"portkey_synced": false
}
Create a new feedback entry for a flow execution.
curl --request POST \
--url https://agent-studio.thena.ai/api/v1/feedback/flow \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"flow_execution_id": "<string>",
"context_id": "<string>",
"feedback_type": "positive",
"issue_type": "<string>",
"comment": "<string>",
"source": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"flow_execution_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"context_id": "<string>",
"feedback_type": "positive",
"issue_type": "<string>",
"comment": "<string>",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "<string>",
"updated_at": "<string>",
"source": "<string>",
"portkey_trace_id": "<string>",
"portkey_synced": false
}
Request model for creating flow feedback.
Successful Response
Model for flow feedback.