Haystack Analytics · Schema

PostPublicApiTeamTeamidMetricsRequest

CompanyDeliveryOpsProduct ManagementEngineeringAnalytics

Properties

Name Type Description
startDate string The start date of the metrics data range (format: YYYY-MM-DD).
endDate string The end date of the metrics data range (format: YYYY-MM-DD).
granularity string The granularity of the metrics data (week/month/cycle).
type string The type of metrics data (issue/pull_request/cycle/deployment).
groupBy string The parameter to group the metrics data by (team/author/assignee/epic, and more).
filters array The filter array, advised to use the filter array given by the Copy API Request feature.
View JSON Schema on GitHub

JSON Schema

usehaystack-post-public-api-team-teamid-metrics-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/usehaystack/main/json-schema/usehaystack-post-public-api-team-teamid-metrics-request-schema.json",
  "title": "PostPublicApiTeamTeamidMetricsRequest",
  "x-generated": "2026-10-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/usehaystack-openapi-generated.yml#/components/schemas/PostPublicApiTeamTeamidMetricsRequest",
  "type": "object",
  "properties": {
    "startDate": {
      "type": "string",
      "description": "The start date of the metrics data range (format: YYYY-MM-DD)."
    },
    "endDate": {
      "type": "string",
      "description": "The end date of the metrics data range (format: YYYY-MM-DD)."
    },
    "granularity": {
      "type": "string",
      "description": "The granularity of the metrics data (week/month/cycle)."
    },
    "type": {
      "type": "string",
      "description": "The type of metrics data (issue/pull_request/cycle/deployment)."
    },
    "groupBy": {
      "type": "string",
      "description": "The parameter to group the metrics data by (team/author/assignee/epic, and more)."
    },
    "filters": {
      "type": "array",
      "description": "The filter array, advised to use the filter array given by the Copy API Request feature."
    }
  },
  "required": [
    "startDate",
    "endDate",
    "granularity",
    "type",
    "groupBy"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/usehaystack-post-public-api-team-teamid-metrics-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.