POST
/
v2
/
projects
/
{project_id}
/
feedback
/
templates
curl --request POST \
  --url https://api.acme.rungalileo.io/v2/projects/{project_id}/feedback/templates \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '{
  "name": "creativity",
  "criteria": "How creative was the response?",
  "constraints": {
    "feedback_type": "score",
    "min": 1,
    "max": 10
  }
}'
{
  "name": "<string>",
  "include_explanation": true,
  "criteria": "<string>",
  "constraints": {
    "feedback_type": "<string>"
  },
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "position": 123
}

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

project_id
string
required

Body

application/json

Response

200
application/json
Successful Response

The response is of type object.