{
  "opencollection": "1.0.0",
  "info": {
    "name": "PhariaStudio Benchmark Executions API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Benchmark Executions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Many Benchmark Executions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{host}/v1/studio/projects/:project_id/evaluation/benchmarks/:benchmark_id/executions",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "benchmark_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search term to find results containing this text in any searchable field (case insensitive)."
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query",
                "description": "The column to sort by. Can be a predefined column or 'statistics.KEY' for JSONB sorting."
              },
              {
                "name": "sort_direction",
                "value": "",
                "type": "query",
                "description": "The direction to sort by."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number to retrieve. Starts at 1."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "The number of items per page."
              }
            ]
          },
          "docs": "Get multiple `BenchmarkExecution`s. Results are sorted by descending creation date."
        },
        {
          "info": {
            "name": "Create Benchmark Execution",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{host}/v1/studio/projects/:project_id/evaluation/benchmarks/:benchmark_id/executions",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "benchmark_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new `BenchmarkExecution`."
        },
        {
          "info": {
            "name": "Get Benchmark Execution",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{host}/v1/studio/projects/:project_id/evaluation/benchmarks/:benchmark_id/executions/:execution_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "benchmark_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "execution_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a `BenchmarkExecution` by ID. Gives an error if the project or benchmark do not exist and `None` if they do but `BenchmarkExecution` was not found."
        },
        {
          "info": {
            "name": "Delete Benchmark Execution",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{host}/v1/studio/projects/:project_id/evaluation/benchmarks/:benchmark_id/executions/:execution_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "benchmark_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "execution_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a `BenchmarkExecution`."
        }
      ]
    }
  ],
  "bundled": true
}