p = Parea(api_key="PAREA_API_KEY") # replace with your API key
exp_uuids = p.list_experiment_uuids(ListExperimentUUIDsFilters())
const p = new Parea("PAREA_API_KEY"); // replace with your API key
const uuids = await p.listExperimentUUIDS();
curl --location 'https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/experiments' \
--header 'Content-Type: application/json' \
--header 'x-api-key: PAREA_API_KEY' \
--data '{
"experiment_name_filter": "Hello World",
"metadata_filter": {
"purpose": "testing"
},
"project_name": "development",
"run_name_filter": "v1"
}'
[
{
"created_at": "2024-04-15 22:19:13",
"is_public": false,
"metadata": {
"dataset": "dev 123"
},
"name": "greeting",
"num_samples": 6,
"pinned_stats": [
{
"operation": "mean",
"value": 0.176471,
"var1": "levenshtein"
},
{
"operation": "mean",
"value": 0.00002,
"var1": "Cost"
},
{
"operation": "mean",
"value": 11,
"var1": "Total Tokens"
},
{
"operation": "mean",
"value": 9,
"var1": "Output Tokens"
},
{
"operation": "mean",
"value": 2,
"var1": "Input Tokens"
},
{
"operation": "mean",
"value": 0.65273,
"var1": "Latency"
}
],
"project_uuid": "...",
"run_name": "bijou-kail",
"status": "completed",
"uuid": "..."
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Experiments
List Experiments
Lists experiments given a set of filters incl. their high-level statistics.
POST
/
api
/
parea
/
v1
/
experiments
p = Parea(api_key="PAREA_API_KEY") # replace with your API key
exp_uuids = p.list_experiment_uuids(ListExperimentUUIDsFilters())
const p = new Parea("PAREA_API_KEY"); // replace with your API key
const uuids = await p.listExperimentUUIDS();
curl --location 'https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/experiments' \
--header 'Content-Type: application/json' \
--header 'x-api-key: PAREA_API_KEY' \
--data '{
"experiment_name_filter": "Hello World",
"metadata_filter": {
"purpose": "testing"
},
"project_name": "development",
"run_name_filter": "v1"
}'
[
{
"created_at": "2024-04-15 22:19:13",
"is_public": false,
"metadata": {
"dataset": "dev 123"
},
"name": "greeting",
"num_samples": 6,
"pinned_stats": [
{
"operation": "mean",
"value": 0.176471,
"var1": "levenshtein"
},
{
"operation": "mean",
"value": 0.00002,
"var1": "Cost"
},
{
"operation": "mean",
"value": 11,
"var1": "Total Tokens"
},
{
"operation": "mean",
"value": 9,
"var1": "Output Tokens"
},
{
"operation": "mean",
"value": 2,
"var1": "Input Tokens"
},
{
"operation": "mean",
"value": 0.65273,
"var1": "Latency"
}
],
"project_uuid": "...",
"run_name": "bijou-kail",
"status": "completed",
"uuid": "..."
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}p = Parea(api_key="PAREA_API_KEY") # replace with your API key
exp_uuids = p.list_experiment_uuids(ListExperimentUUIDsFilters())
const p = new Parea("PAREA_API_KEY"); // replace with your API key
const uuids = await p.listExperimentUUIDS();
curl --location 'https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/experiments' \
--header 'Content-Type: application/json' \
--header 'x-api-key: PAREA_API_KEY' \
--data '{
"experiment_name_filter": "Hello World",
"metadata_filter": {
"purpose": "testing"
},
"project_name": "development",
"run_name_filter": "v1"
}'
Body
application/json
Response
Successful Response
Was this page helpful?

