Haystack Analytics API

Haystack Analytics API as documented publicly: 9 operations. Contract generated from the documentation by API Evangelist (2026-10-22); not the provider's own document.

Operations 9

GET /getting-started/quick-start.md Quick Start #
GET /getting-started/quick-start/account-setup.md Account Setup #
GET /getting-started/quick-start/roles.md Roles #
GET /getting-started/quick-start/roles/for-executives.md For Executives #
GET /getting-started/quick-start/roles/for-managers.md For Managers #
GET /getting-started/quick-start/roles/for-product.md For Product #
GET /getting-started/what-is-haystack.md What is Haystack? #
POST /public/api/metrics Haystack provides API access for global metrics. #
POST /public/api/team/{teamid}/metrics Haystack provides API access for metrics for specific teams. #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/usehaystack:usehaystack-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

usehaystack-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Haystack Analytics API
  version: '2026-10-22'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-22: 9 operation(s) read from 9 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Haystack Analytics has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 9
    pages-with-code: 0
    pages-read: 9
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-22'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://help.usehaystack.io/features/api.md
  - https://help.usehaystack.io/getting-started/quick-start
  - https://help.usehaystack.io/getting-started/quick-start.md
  - https://help.usehaystack.io/getting-started/what-is-haystack.md
  - https://help.usehaystack.io/getting-started/quick-start/roles.md
  - https://help.usehaystack.io/getting-started/quick-start/account-setup.md
  - https://help.usehaystack.io/getting-started/quick-start/roles/for-product.md
  - https://help.usehaystack.io/getting-started/quick-start/roles/for-managers.md
  - https://help.usehaystack.io/getting-started/quick-start/roles/for-executives.md
servers:
- url: https://api.usehaystack.io
paths:
  /getting-started/quick-start.md:
    get:
      operationId: get_getting_started_quick_start_md
      tags:
      - Getting Started
      summary: Quick Start
      description: Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters to retrieve a direct answer and
        relevant excerpts from the documentation.
      x-source: https://help.usehaystack.io/getting-started/quick-start
      parameters:
      - name: ask
        in: query
        required: false
        schema:
          type: string
        description: 'The immediate question: it should be specific, self-contained, and written in natural language.'
      - name: goal
        in: query
        required: false
        schema:
          type: string
        description: What the user is ultimately trying to achieve; describes the outcome rather than restating the question.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /getting-started/quick-start/account-setup.md:
    get:
      operationId: get_getting_started_quick_start_account_setup_md
      tags:
      - Getting Started
      summary: Account Setup
      description: Perform an HTTP GET request on the URL with the `ask` and `goal` query parameters to retrieve a direct answer and relevant
        excerpts from the documentation.
      x-source: https://help.usehaystack.io/getting-started/quick-start/account-setup.md
      parameters:
      - name: ask
        in: query
        required: false
        schema:
          type: string
        description: The immediate question, specific and self‑contained, written in natural language.
      - name: goal
        in: query
        required: false
        schema:
          type: string
        description: The user’s ultimate goal, describing the outcome they want to achieve.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /getting-started/quick-start/roles.md:
    get:
      operationId: get_getting_started_quick_start_roles_md
      tags:
      - Getting Started
      summary: Roles
      x-source: https://help.usehaystack.io/getting-started/quick-start/roles.md
      parameters:
      - name: ask
        in: query
        required: false
        schema:
          type: string
        description: The immediate question, specific and self‑contained.
      - name: goal
        in: query
        required: false
        schema:
          type: string
        description: The user’s ultimate goal, describing the desired outcome.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /getting-started/quick-start/roles/for-executives.md:
    get:
      operationId: get_getting_started_quick_start_roles_for_executives_md
      tags:
      - Getting Started
      summary: For Executives
      description: Perform an HTTP GET request on the URL with the `ask` and `goal` query parameters to retrieve a direct answer and relevant
        excerpts from the documentation.
      x-source: https://help.usehaystack.io/getting-started/quick-start/roles/for-executives.md
      parameters:
      - name: ask
        in: query
        required: false
        schema:
          type: string
        description: The immediate question; specific, self‑contained, natural language query to the documentation engine.
      - name: goal
        in: query
        required: false
        schema:
          type: string
        description: The broader user goal describing the desired outcome, used to tailor the answer.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /getting-started/quick-start/roles/for-managers.md:
    get:
      operationId: get_getting_started_quick_start_roles_for_managers_md
      tags:
      - Getting Started
      summary: For Managers
      description: Perform an HTTP GET request on the URL with the `ask` and `goal` query parameters to retrieve a direct answer and relevant
        excerpts from the documentation.
      x-source: https://help.usehaystack.io/getting-started/quick-start/roles/for-managers.md
      parameters:
      - name: ask
        in: query
        required: false
        schema:
          type: string
        description: The immediate question; specific, self‑contained, natural language.
      - name: goal
        in: query
        required: false
        schema:
          type: string
        description: The user’s ultimate goal, describing the desired outcome.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /getting-started/quick-start/roles/for-product.md:
    get:
      operationId: get_getting_started_quick_start_roles_for_product_md
      tags:
      - Getting Started
      summary: For Product
      description: Perform an HTTP GET request on the URL with the `ask` and `goal` query parameters to retrieve a direct answer and relevant
        excerpts from the documentation.
      x-source: https://help.usehaystack.io/getting-started/quick-start/roles/for-product.md
      parameters:
      - name: ask
        in: query
        required: false
        schema:
          type: string
        description: The immediate question, specific and self‑contained.
      - name: goal
        in: query
        required: false
        schema:
          type: string
        description: The user’s ultimate goal, describing the desired outcome.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /getting-started/what-is-haystack.md:
    get:
      operationId: get_getting_started_what_is_haystack_md
      tags:
      - Getting Started
      summary: What is Haystack?
      description: Perform an HTTP GET request on the URL with the `ask` and `goal` query parameters to retrieve a direct answer and relevant
        excerpts from the documentation.
      x-source: https://help.usehaystack.io/getting-started/what-is-haystack.md
      parameters:
      - name: ask
        in: query
        required: false
        schema:
          type: string
        description: The immediate question, specific and self‑contained, written in natural language.
      - name: goal
        in: query
        required: false
        schema:
          type: string
        description: The user’s ultimate goal, describing the outcome they want to achieve.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /public/api/metrics:
    post:
      operationId: post_public_api_metrics
      tags:
      - Public
      summary: Haystack provides API access for global metrics.
      description: Send a POST request with the required body fields to retrieve global metrics.
      x-source: https://help.usehaystack.io/features/api.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostPublicApiMetricsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostPublicApiMetricsResponse'
      x-evidence:
        kind: documentation
  /public/api/team/{teamid}/metrics:
    post:
      operationId: post_public_api_team_teamid_metrics
      tags:
      - Public
      summary: Haystack provides API access for metrics for specific teams.
      description: Send a POST request with the required body fields to retrieve metrics for a specific team.
      x-source: https://help.usehaystack.io/features/api.md
      parameters:
      - name: teamid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostPublicApiTeamTeamidMetricsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostPublicApiTeamTeamidMetricsResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostPublicApiMetricsRequest:
      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
    PostPublicApiMetricsResponse:
      type: object
      properties:
        data:
          type: array
          description: The metrics objects (regular or group‑by structure as described).
        averages:
          type: object
          description: Averages of the results, format varies with regular, group‑by, or cycle granularity.
    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
    PostPublicApiTeamTeamidMetricsResponse:
      type: object
      properties:
        data:
          type: array
          description: The metrics objects (regular or group‑by structure as described).
        averages:
          type: object
          description: Averages of the results, format varies with regular, group‑by, or cycle granularity.
tags:
- name: Getting Started
- name: Public