Skip to main content
POST
/
api
/
v1
/
feedback
/
flow
Create Flow Execution Feedback
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
}

Authorizations

x-api-key
string
header
required

Body

application/json

Request model for creating flow feedback.

flow_execution_id
string
required
context_id
string
required
source
string
required
feedback_type
enum<string> | null

Enum for feedback types.

Available options:
positive,
negative
issue_type
string | null
comment
string | null

Response

Successful Response

Model for flow feedback.

id
string<uuid>
required
flow_execution_id
string<uuid>
required
user_id
string<uuid>
required
organization_id
string<uuid>
required
created_at
string
required
updated_at
string
required
source
string
required
context_id
string | null
feedback_type
enum<string> | null

Enum for feedback types.

Available options:
positive,
negative
issue_type
string | null
comment
string | null
portkey_trace_id
string | null
portkey_synced
boolean
default:false
I