Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
ratings
Rate an agent (1-5)
curl --request POST \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/agents/{agentId}/ratings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "rating": 5
}'
{
  "rating": 5,
  "ratings_count": 1
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Path Parameters

agentId
string
required
Maximum string length: 64

Body

application/json
rating
integer
required
Required range: 1 <= x <= 5

Response

Updated rating aggregates.

rating
number

New average rating (rounded to 1 decimal).

ratings_count
integer

Total number of ratings.