{
  "item": [
    {
      "id": "bc4281fd-2828-46a3-baf7-97083278f32c",
      "name": "Prompt Templates",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "9cb39da2-1901-40a2-9036-f986409f1e33",
          "name": "List prompt templates",
          "request": {
            "name": "List prompt templates",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "prompt-templates"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        },
        {
          "id": "beb2bc75-62ee-4928-ac84-d17da0ed4d47",
          "name": "Create a prompt template",
          "request": {
            "name": "Create a prompt template",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "prompt-templates"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "04c71072-94f1-4148-ac8a-8d7a86951be9",
          "name": "Retrieve all prompt templates in an environment",
          "request": {
            "name": "Retrieve all prompt templates in an environment",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "prompt-templates",
                "all",
                "{{environmentName}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        },
        {
          "id": "20f7fa40-d40d-4af9-adfa-3ea8d81d184a",
          "name": "Retrieve a prompt template by name",
          "request": {
            "name": "Retrieve a prompt template by name",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "prompt-templates",
                "name",
                "{{templateName}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "4305ca04-7617-4a2e-9a70-1b202a9ce16b",
          "name": "Create a version by template name",
          "request": {
            "name": "Create a version by template name",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "prompt-templates",
                "name",
                "{{templateName}}",
                "versions"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "dbf53a95-bb1f-4e59-b475-891a57c2ce56",
          "name": "Create a version by template ID",
          "request": {
            "name": "Create a version by template ID",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "prompt-templates",
                "id",
                "{{templateId}}",
                "versions"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "126f9571-aa3a-4e52-8913-731b0008fc26",
          "name": "Retrieve a specific version by ID",
          "request": {
            "name": "Retrieve a specific version by ID",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "prompt-templates",
                "id",
                "{{templateId}}",
                "versions",
                "{{versionId}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "2e2243b4-dcd1-4c24-b683-e00e08f17e1a",
          "name": "Assign a version to environments",
          "request": {
            "name": "Assign a version to environments",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "prompt-templates",
                "id",
                "{{templateId}}",
                "versions",
                "{{versionId}}",
                "environments"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "id": "fa046147-f5d0-4c4c-a206-4d01e8036a7f",
      "name": "Recordings & Sessions",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "1c83813d-4916-467b-9b4f-e1ccbce474a7",
          "name": "List sessions",
          "request": {
            "name": "List sessions",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "sessions"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        },
        {
          "id": "cc923e11-8d2c-4782-9a26-787cc924a2d0",
          "name": "Delete a session",
          "request": {
            "name": "Delete a session",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "sessions",
                "{{sessionId}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "auth": null
          },
          "response": []
        },
        {
          "id": "6c793b70-c819-4571-8f79-eca003bc87e4",
          "name": "Record a completion",
          "request": {
            "name": "Record a completion",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "sessions",
                "{{sessionId}}",
                "completions"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "02b15e66-04c2-4059-905a-29e69c9bcc23",
          "name": "Record a trace",
          "request": {
            "name": "Record a trace",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "sessions",
                "{{sessionId}}",
                "traces",
                "id",
                "{{traceId}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "6563cff2-ecd5-4aa9-92ea-aa085db2b237",
          "name": "Aggregate completion statistics",
          "request": {
            "name": "Aggregate completion statistics",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "completions",
                "statistics"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "8e6749c2-c41a-4af3-bff1-a8cbe330d2e4",
          "name": "Completion statistics by prompt template",
          "request": {
            "name": "Completion statistics by prompt template",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "completions",
                "statistics",
                "{{promptTemplateId}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "1e5ca4b0-4be0-4831-a516-a5fdfc5a3c09",
          "name": "Search sessions",
          "request": {
            "name": "Search sessions",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "search",
                "sessions"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "cc9be27c-8d55-4680-aea6-4e9b0c8bbb4e",
          "name": "Search traces",
          "request": {
            "name": "Search traces",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "search",
                "traces"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "9a3d0e4c-4d25-427c-983a-7797df14b9ef",
          "name": "Search completions",
          "request": {
            "name": "Search completions",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "search",
                "completions"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "4b1c94a7-37a9-469e-951b-94415e6b5021",
          "name": "List all projects",
          "request": {
            "name": "List all projects",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "all"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        },
        {
          "id": "2f1be1e9-3d99-4b24-9414-31068655e8e4",
          "name": "List agents",
          "request": {
            "name": "List agents",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "agents"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        }
      ]
    },
    {
      "id": "16cc0922-d131-42b7-9190-08df787c3463",
      "name": "Test Cases & Datasets",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "d7491c7b-8a9c-44b5-90fb-3f32e662e1bb",
          "name": "Retrieve dataset metadata by name",
          "request": {
            "name": "Retrieve dataset metadata by name",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "datasets",
                "name",
                "{{datasetName}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        },
        {
          "id": "08aeea9f-8cfd-4b54-b499-84b5db0753f0",
          "name": "Retrieve dataset metadata by ID",
          "request": {
            "name": "Retrieve dataset metadata by ID",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "datasets",
                "id",
                "{{datasetId}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        },
        {
          "id": "4741599d-58d1-4a48-9da6-4b6d3e10431c",
          "name": "Retrieve test cases by dataset name",
          "request": {
            "name": "Retrieve test cases by dataset name",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "datasets",
                "name",
                "{{datasetName}}",
                "test-cases"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        },
        {
          "id": "b1a60b18-fdea-4f35-ba05-be0cdd53f300",
          "name": "Retrieve test cases by dataset ID",
          "request": {
            "name": "Retrieve test cases by dataset ID",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "datasets",
                "id",
                "{{datasetId}}",
                "test-cases"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        },
        {
          "id": "aa507525-7114-4833-a526-76d9f1583bae",
          "name": "Upload test cases",
          "request": {
            "name": "Upload test cases",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "datasets",
                "id",
                "{{datasetId}}",
                "test-cases"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "id": "8a982e44-b3a7-4431-bac5-3add6a1d9089",
      "name": "Test Runs & Evaluations",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "0bccf7be-cb73-43eb-8d6d-c663abda5984",
          "name": "List test runs",
          "request": {
            "name": "List test runs",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "test-runs"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        },
        {
          "id": "d8ec4e8f-af2b-4ff5-b78c-4b838734ad9b",
          "name": "Create a test run",
          "request": {
            "name": "Create a test run",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "test-runs"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "8f79fcb6-3797-479a-ab4d-a36988dd9e38",
          "name": "Retrieve test run results",
          "request": {
            "name": "Retrieve test run results",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "test-runs",
                "id",
                "{{testRunId}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": []
        },
        {
          "id": "9f4cc20b-4c1b-410c-8801-249a3cd0c327",
          "name": "Record completion feedback",
          "request": {
            "name": "Record completion feedback",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "completion-feedback",
                "id",
                "{{completionId}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "id": "72cfe54f-eb00-467d-a080-30f6b836624c",
          "name": "Record trace feedback",
          "request": {
            "name": "Record trace feedback",
            "description": {},
            "url": {
              "path": [
                "api",
                "v2",
                "projects",
                "{{projectId}}",
                "trace-feedback",
                "id",
                "{{traceId}}"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    }
  ],
  "event": [],
  "variable": [
    {
      "type": "string",
      "value": "https://app.freeplay.ai",
      "key": "baseUrl"
    },
    {
      "type": "string",
      "value": "",
      "key": "projectId"
    },
    {
      "type": "string",
      "value": "",
      "key": "bearerToken"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}"
      }
    ]
  },
  "info": {
    "_postman_id": "f9c61474-cf8e-4941-9cae-427ba85f7504",
    "name": "Freeplay HTTP API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "The Freeplay HTTP API for LLM experimentation, evaluation, and observability. Base URL is your instance URL plus /api/v2 (cloud: https://app.freeplay.ai/api/v2). Authenticate with your Freeplay API key as a Bearer token.\n\nContact Support:\n URL: https://docs.freeplay.ai/",
      "type": "text/plain"
    }
  }
}