Description
API ReferenceExperiments

Create Experiment

POST
/v1/experiments
/v1/experiments

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Request Body

application/jsonRequired

project_id
Required
Project Id

Format: "uuid"

name
Required
Name

Minimum length: 1Maximum length: 100

tagsTags

Tags are key-value pairs used to label resources

curl -X POST "https://api.patronus.ai/v1/experiments" \
  -H "X-API-KEY: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
    "name": "string",
    "tags": {}
  }'

Successful Response

{
  "experiment": {
    "id": "string",
    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
    "name": "string",
    "tags": {},
    "created_at": "2019-08-24T14:15:22Z"
  }
}