API Referenceeval-setsCreate Evaluation Set

POST POST /evaluation-sets

Headers: x-api-key, Content-Type: application/json
Body:

{ "name": "invoice-regression", "description": "Invoices Q4" }

cURL

curl -X POST https://api.algorythmos.fr/evaluation-sets \
 -H "x-api-key: $ALG_KEY" \
 -H "Content-Type: application/json" \
 -d '{"name":"invoice-regression","description":"Invoices Q4"}'

JavaScript

await fetch('https://api.algorythmos.fr/evaluation-sets', {
  method: 'POST',
  headers: { 'x-api-key': process.env.ALG_KEY, 'Content-Type': 'application/json' },
  body: JSON.stringify({ name: 'invoice-regression', description: 'Invoices Q4' })
})

Python

import requests, os
resp = requests.post(
  'https://api.algorythmos.fr/evaluation-sets',
  headers={'x-api-key': os.environ['ALG_KEY']},
  json={'name': 'invoice-regression', 'description': 'Invoices Q4'}
)
print(resp.json())