Yardstick Interview Plans API

Read-only interview plan resources with redacted round structure.

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 5

GET /v1/interview_plans List interview plans #
GET /v1/interview_plans/{interview_plan_id} Retrieve an interview plan #
POST /v1/interview_plans/{interview_plan_id}/actions/archive POST /v1/interview_plans/{interview_plan_id}/actions/archive #
POST /v1/interview_plans/{interview_plan_id}/actions/unarchive POST /v1/interview_plans/{interview_plan_id}/actions/unarchive #
POST /v1/interview_plans/{interview_plan_id}/actions/set_hiring_manager_decides POST /v1/interview_plans/{interview_plan_id}/actions/set_hiring_manager_decides #

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-interview-plans-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-interview-plans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yardstick Team Interview Plans API
  version: '2026-05-02'
  description: 'Operations tagged Interview Plans 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: Interview Plans
  description: Read-only interview plan resources with redacted round structure.
paths:
  /v1/interview_plans:
    get:
      operationId: listInterview_plans
      summary: List interview plans
      description: 'List interview plans


        **Required scopes:** `interview_plans:read`


        Read-only. Returns published interview plans in the token organization, newest first, partitioned by the token live/test mode and filtered to what the caller may see under the department read boundary. Draft plans are not included here: list them with `GET /v1/interview_plan_drafts`. Pass `job_id` to return only the plans linked to one Job.


        **Example (curl):**


        ```bash

        curl ''https://api.yardstick.team/v1/interview_plans?limit=20'' \

        -H ''Authorization: Bearer ys_sk_live_…''

        ```


        **Example (TypeScript):**


        ```ts

        await fetch("https://api.yardstick.team/v1/interview_plans?limit=20", {

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

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

        ```'
      tags:
      - Interview Plans
      deprecated: false
      security:
      - bearerAuth:
        - interview_plans:read
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ListEnvelope'
                - type: object
                  properties:
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/InterviewPlanRead'
        '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: limit
        in: query
        required: false
        description: Page size (1-100, default 20).
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: starting_after
        in: query
        required: false
        description: 'Cursor: id of the last record from the previous page.'
        schema:
          type: string
      - name: job_id
        in: query
        required: false
        description: Return only plans linked to this Job, as a `job_...` display id. A well-formed id that matches nothing returns an empty list; a malformed one returns 400.
        schema:
          type: string
      - 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
  /v1/interview_plans/{interview_plan_id}:
    get:
      operationId: retrieveInterview_plansInterview_plan_id
      summary: Retrieve an interview plan
      description: 'Retrieve an interview plan


        **Required scopes:** `interview_plans:read`


        Read-only. Returns the published or draft plan shape visible to the caller. Published plans are org-scoped role templates: live- and test-mode tokens in the same organization may read them. Draft reads remain livemode-partitioned. Round scorecard criteria are included only from inline round data; the API does not join through `interview_versions` for plan reads. For a draft''s complete builder state (all stage checkpoints, `stage_versions`, question ids), use `GET /v1/interview_plan_drafts/{draft_id}` instead.


        **Example (curl):**


        ```bash

        curl https://api.yardstick.team/v1/interview_plans/ipd_abc123 \

        -H ''Authorization: Bearer ys_sk_live_…''

        ```


        **Example (TypeScript):**


        ```ts

        await fetch("https://api.yardstick.team/v1/interview_plans/ipd_abc123", {

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

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

        ```'
      tags:
      - Interview Plans
      deprecated: false
      security:
      - bearerAuth:
        - interview_plans:read
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InterviewPlanRead'
        '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: interview_plan_id
        in: path
        required: true
        schema:
          type: string
      - 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
  /v1/interview_plans/{interview_plan_id}/actions/archive:
    post:
      operationId: createInterview_plansInterview_plan_idActionsArchive
      summary: POST /v1/interview_plans/{interview_plan_id}/actions/archive
      description: 'POST /v1/interview_plans/{interview_plan_id}/actions/archive


        **Required scopes:** `interview_plans:write`'
      tags:
      - Interview Plans
      deprecated: false
      security:
      - bearerAuth:
        - interview_plans:write
      responses:
        '200':
          description: Plan archived. The response is the plan read shape reflecting the archived state. An already-archived plan succeeds without a write. A plan still attached to a Job is refused with HTTP 409 `interview_plan_attached_to_job` — detach it from the Job first — including when it is already archived.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InterviewPlanRead'
        '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: interview_plan_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
        schema:
          type: string
      - 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
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties: {}
              additionalProperties: false
    servers:
    - url: https://api.yardstick.team
      description: Production
  /v1/interview_plans/{interview_plan_id}/actions/unarchive:
    post:
      operationId: createInterview_plansInterview_plan_idActionsUnarchive
      summary: POST /v1/interview_plans/{interview_plan_id}/actions/unarchive
      description: 'POST /v1/interview_plans/{interview_plan_id}/actions/unarchive


        **Required scopes:** `interview_plans:write`'
      tags:
      - Interview Plans
      deprecated: false
      security:
      - bearerAuth:
        - interview_plans:write
      responses:
        '200':
          description: Plan restored. The response is the plan read shape reflecting the live state. A plan that is already live succeeds without a write. If the plan still names a Job that has since acquired another live plan, the restore is refused with HTTP 409 naming the incumbent plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InterviewPlanRead'
        '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: interview_plan_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
        schema:
          type: string
      - 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
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties: {}
              additionalProperties: false
    servers:
    - url: https://api.yardstick.team
      description: Production
  /v1/interview_plans/{interview_plan_id}/actions/set_hiring_manager_decides:
    post:
      operationId: createInterview_plansInterview_plan_idActionsSet_hiring_manager_decides
      summary: POST /v1/interview_plans/{interview_plan_id}/actions/set_hiring_manager_decides
      description: 'POST /v1/interview_plans/{interview_plan_id}/actions/set_hiring_manager_decides


        **Required scopes:** `interview_plans:write`'
      tags:
      - Interview Plans
      deprecated: false
      security:
      - bearerAuth:
        - interview_plans:write
      responses:
        '200':
          description: Step updated. Returns the plan id, the step id, and whether the hiring manager now decides that step.
          content:
            application/json:
              schema:
                type: object
        '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: interview_plan_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
        schema:
          type: string
      - 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
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                step_id:
                  type: string
                  minLength: 1
                  maxLength: 200
                hiring_manager_decides:
                  type: boolean
              required:
              - step_id
              - hiring_manager_decides
              additionalProperties: false
    servers:
    - url: https://api.yardstick.team
      description: Production
components:
  schemas:
    ListEnvelope:
      type: object
      properties:
        object:
          type: string
          enum:
          - list
        data:
          type: array
          items: {}
        has_more:
          type: boolean
      required:
      - object
      - data
      - has_more
      additionalProperties: false
      description: Cursor-paginated list envelope.
    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.
    InterviewPlanRead:
      type: object
      properties:
        object:
          type: string
          enum:
          - interview_plan
        id:
          type: string
        lifecycle:
          type: string
          enum:
          - published
          - draft
        title:
          type: string
        role_name:
          type: string
          nullable: true
        is_archived:
          type: boolean
        draft_status:
          type: string
          enum:
          - draft
          - validated
          - published
          - abandoned
          nullable: true
        job_id:
          type: string
          nullable: true
        version:
          type: integer
          nullable: true
        rounds:
          type: array
          items:
            type: object
            properties:
              object:
                type: string
                enum:
                - interview_round
              round_id:
                type: string
              round_title:
                type: string
              description:
                type: string
                nullable: true
              duration:
                type: number
                nullable: true
              kind:
                type: string
                enum:
                - candidate_interview
                - reference_check
                - internal_debrief
                - offer_meeting
              scorecard_criteria:
                type: array
                items: {}
              questions:
                type: array
                items: {}
              interviewer_directions:
                type: string
                nullable: true
              candidate_directions:
                type: string
                nullable: true
            required:
            - object
            - round_id
            - round_title
            - description
            - duration
            - kind
            - scorecard_criteria
            - questions
            - interviewer_directions
            - candidate_directions
            additionalProperties: false
        behavioral_anchors:
          type: object
          additionalProperties: {}
        created_at:
          type: string
        updated_at:
          type: string
      required:
      - object
      - id
      - lifecycle
      - title
      - role_name
      - is_archived
      - draft_status
      - job_id
      - version
      - rounds
      - behavioral_anchors
      - created_at
      - updated_at
      additionalProperties: false
  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)