Yardstick Reporting API

Bounded reporting search over canonical V1 recruiting reporting families. Mode comes from the API token; requests must supply explicit windows.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /v1/reporting/search Search reporting #

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/yardstick-team:yardstick-team-reporting-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

yardstick-team-reporting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yardstick Team Reporting API
  version: '2026-05-02'
  description: 'Operations tagged Reporting across 2 of this provider''s published API definitions: api.yardstick.team_v1_openapi.json, yardstick-team-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.yardstick.team
  description: Production
security:
- bearerAuth: []
tags:
- name: Reporting
  description: Bounded reporting search over canonical V1 recruiting reporting families. Mode comes from the API token; requests must supply explicit windows.
paths:
  /v1/reporting/search:
    get:
      operationId: listReportingSearch
      summary: Search reporting
      description: 'Search reporting


        **Required scopes:** `reporting:read`


        Read-only bounded recruiting reporting. query_family must be one of the canonical V1 reporting families; window_start and window_end are required; mode comes from the API token and cannot be overridden by livemode. Exact job_id and job_posting_id scopes fail closed for legacy reporting families until exact scoped reporting aggregations are available; prospect_ops_summary and offer_performance support exact Job or Job Posting context. offer_performance requires inclusive window_start/window_end calendar dates in the workspace time zone; it returns first-send offer counts, acceptance numerator and denominator, separate signing medians and weekly outcomes. role_label remains an exact legacy fallback for non-prospect families. Responses expose counts, data-gap labels, canonical display ids, and dashboard links, and never expose raw scorecard notes, interviewer notes, decision brief text, emails, source internals, ROI, diversity, predictive, retention, or post-hire metrics.


        **Example (curl):**


        ```bash

        curl ''https://api.yardstick.team/v1/reporting/search?query_family=role_health_attention&window_start=2026-05-01&window_end=2026-05-26&role_label=AI%20Content%20Manager'' \

        -H ''Authorization: Bearer ys_sk_live_…''

        ```


        **Example (TypeScript):**


        ```ts

        await fetch(

        "https://api.yardstick.team/v1/reporting/search?query_family=role_health_attention&window_start=2026-05-01&window_end=2026-05-26&role_label=AI%20Content%20Manager",

        { headers: { Authorization: `Bearer ${process.env.YS_API_KEY}` } },

        ).then((r) => r.json());

        ```'
      tags:
      - Reporting
      deprecated: false
      security:
      - bearerAuth:
        - reporting:read
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportingSearchResult'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication failure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Permission denied (scope or feature flag)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. idempotency key reuse with different body)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      parameters:
      - name: query_family
        in: query
        required: true
        description: Canonical V1 reporting family. Short aliases and natural language are not accepted on the HTTP route.
        schema:
          type: string
          enum:
          - role_health_attention
          - funnel_snapshot_by_role
          - stale_opportunity_queue
          - missing_feedback_queue
          - candidate_pool_strength
          - source_signals
      - name: window_start
        in: query
        required: true
        description: Required ISO date or datetime window start.
        schema:
          type: string
      - name: window_end
        in: query
        required: true
        description: Required ISO date or datetime window end.
        schema:
          type: string
      - name: job_id
        in: query
        required: false
        description: Exact canonical `job_...` role scope. Mutually exclusive with job_posting_id and role_label.
        schema:
          type: string
      - name: job_posting_id
        in: query
        required: false
        description: Exact canonical `jp_...` posting scope. Mutually exclusive with job_id and role_label.
        schema:
          type: string
      - name: role_label
        in: query
        required: false
        description: Exact role-label fallback for legacy reporting rows without job or posting ids.
        schema:
          type: string
      - name: include_links
        in: query
        required: false
        description: Set to false to omit dashboard/reporting links. Defaults to true.
        schema:
          type: boolean
      - name: limit
        in: query
        required: false
        description: Queue result cap for bounded reporting families.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: starting_after
        in: query
        required: false
        description: Cursor for bounded queue families.
        schema:
          type: string
      - name: statuses
        in: query
        required: false
        description: Comma-separated exact application status filters for queue-style families.
        schema:
          type: string
      - name: stages
        in: query
        required: false
        description: Comma-separated exact stage filters for queue-style families.
        schema:
          type: string
      - name: source_label
        in: query
        required: false
        description: Exact source label filter for source-signal reporting.
        schema:
          type: string
      - name: score_band
        in: query
        required: false
        description: Exact score band filter for candidate-pool reporting.
        schema:
          type: string
      - name: stale_days
        in: query
        required: false
        description: Minimum stale-days threshold for stale opportunity queues.
        schema:
          type: integer
          minimum: 0
      - name: minimum_sample_size
        in: query
        required: false
        description: Minimum sample size threshold for reporting families that expose warning bands.
        schema:
          type: integer
          minimum: 0
      - name: X-Request-Id
        in: header
        required: false
        description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
        schema:
          type: string
    servers:
    - url: https://api.yardstick.team
      description: Production
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
              - invalid_request_error
              - authentication_error
              - permission_error
              - rate_limit_error
              - api_error
            code:
              type: string
            message:
              type: string
            param:
              type: string
            request_id:
              type: string
            details:
              type: object
              additionalProperties: {}
              description: Machine-readable specifics for offer document refusals only, such as the missing fill-ins of required_answers_missing or the clashing fill-in of fill_in_type_clash.
          required:
          - type
          - code
          - message
          - request_id
          additionalProperties: false
      required:
      - error
      additionalProperties: false
      description: Canonical API error envelope. Every 404 not-found response uses a resource-specific code and includes param with the exact body field or path parameter that referenced the unavailable resource. Use code and param for programmatic handling, and request_id for support; message text is not a stable contract.
    ReportingSearchResult:
      type: object
      properties:
        object:
          type: string
          enum:
          - reporting_search_result
        query_family:
          type: string
          enum:
          - role_health_attention
          - funnel_snapshot_by_role
          - stale_opportunity_queue
          - missing_feedback_queue
          - candidate_pool_strength
          - source_signals
          - prospect_ops_summary
          - offer_performance
        filters:
          type: object
          additionalProperties: {}
          description: Normalized filters. Role scope is exact and uses job_id, job_posting_id, or role_label.
        data_gaps:
          type: array
          items:
            type: string
          description: V1 reporting data-gap labels such as zero, unknown, not_tracked_yet, sample_size_warning, no_selected_role, no_data_in_date_window, or pre_instrumentation_history.
        results:
          type: array
          items: {}
          description: offer_performance returns one OfferPerformance aggregate; all counts and weekly buckets share its first-send cohort.
        links:
          type: object
          properties:
            reporting_url:
              type: string
          required:
          - reporting_url
          additionalProperties: false
        metadata:
          type: object
          properties:
            livemode:
              type: boolean
            aggregation_status:
              type: string
            result_count:
              type: integer
              minimum: 0
            truncated:
              type: boolean
            limit:
              type: integer
              minimum: 1
            next_cursor:
              type: string
              nullable: true
            query_time_ms:
              type: integer
              minimum: 0
            source:
              type: string
              enum:
              - v1_reporting_rpc
            truncation_reason:
              type: string
              enum:
              - limit
              - v1_row_cap
          required:
          - livemode
          - aggregation_status
          - result_count
          - truncated
          - limit
          - next_cursor
          - query_time_ms
          - source
          additionalProperties: false
        warnings:
          type: array
          items:
            type: string
      required:
      - object
      - query_family
      - filters
      - data_gaps
      - results
      - links
      - metadata
      - warnings
      additionalProperties: false
      description: Public reporting search response envelope for canonical V1 recruiting reporting families. Results are redacted summaries and counts, not raw notes or private scorecard text.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Yardstick API tokens. Format: `ys_(sk|pk)_(live|test)_<32+ chars>`. **Secret keys** (`ys_sk_…`) are server-only — using one from a browser origin returns `secret_key_browser_denied`. **Publishable keys** (`ys_pk_…`) are browser-safe and restricted to intake-only person creation.'
x-refined-from:
- api.yardstick.team_v1_openapi.json
- yardstick-team-openapi.json
x-provenance:
  method: harvested
  publisher: Yardstick
  source: https://api.yardstick.team/v1/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)