For the complete documentation index, see llms.txt. This page is also available as Markdown.

Script Version Metrics

List Script Version Metrics

get

Retrieves a paginated list of metrics for one or more script versions. Can be filtered by interval_start, interval_end, interval_unit, and script_version_ids.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Responses
200

Successful response

application/json
get/api/v1/script-version-metrics
GET /api/v1/script-version-metrics HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "data": [
    {
      "id": 1,
      "created_at": "2025-01-15T10:30:00.000000Z",
      "updated_at": "2025-01-15T10:30:00.000000Z"
    }
  ],
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "path": "https://api.example.com/api/v1/script-version-metrics",
    "per_page": 25,
    "to": 1,
    "total": 1
  },
  "links": {
    "first": "https://api.example.com/api/v1/script-version-metrics?page=1",
    "last": "https://api.example.com/api/v1/script-version-metrics?page=1",
    "prev": null,
    "next": null
  }
}

Last updated

Was this helpful?