Cookiy AI Studies / Synthetic Interview API

The Studies / Synthetic Interview API from Cookiy AI — 2 operation(s) for studies / synthetic interview.

GitHub OpenAPI

Operations 2

POST /v1/studies/{id}/fake-interview/preview Preview synthetic interview cost (read-only, no charge) #
POST /v1/studies/{id}/fake-interview Queue synthetic (AI-to-AI) interviews #

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/cookiy-ai:cookiy-ai-studies-synthetic-interview-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

cookiy-ai-studies-synthetic-interview-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cookiy Ai Studies / Synthetic Interview API
  version: '1.0'
  contact: {}
  description: 'Operations tagged Studies / Synthetic Interview across 2 of this provider''s published API definitions: cookiy-ai-openapi-original.json, cookiy-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api
  description: Current environment
- url: https://s-api.cookiy.ai/api
  description: Production
- url: https://preview-api.cookiy.ai/api
  description: Preview
- url: https://dev-api.cookiy.ai/api
  description: Development
tags:
- name: Studies / Synthetic Interview
paths:
  /v1/studies/{id}/fake-interview/preview:
    post:
      operationId: fakeInterviewPreview
      parameters:
      - name: id
        required: true
        in: path
        schema:
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/V1FakeInterviewBodyDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - data
                properties:
                  ok:
                    type: boolean
                    enum:
                    - true
                  data:
                    $ref: '#/components/schemas/V1FakeInterviewPreviewResponseDto'
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - error
                properties:
                  ok:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: object
                    required:
                    - message
                    properties:
                      code:
                        type: string
                        description: Predefined public error code.
                      message:
                        type: string
                        description: Human-readable message safe to show to users.
                      details: {}
        '403':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - error
                properties:
                  ok:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: object
                    required:
                    - message
                    properties:
                      code:
                        type: string
                        description: Predefined public error code.
                      message:
                        type: string
                        description: Human-readable message safe to show to users.
                      details: {}
      security:
      - bearer: []
      summary: Preview synthetic interview cost (read-only, no charge)
      tags:
      - Studies / Synthetic Interview
    servers:
    - url: /api
      description: Current environment
    - url: https://s-api.cookiy.ai/api
      description: Production
    - url: https://preview-api.cookiy.ai/api
      description: Preview
    - url: https://dev-api.cookiy.ai/api
      description: Development
  /v1/studies/{id}/fake-interview:
    post:
      operationId: fakeInterviewGenerate
      parameters:
      - name: id
        required: true
        in: path
        schema:
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/V1FakeInterviewBodyDto'
      responses:
        '202':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - data
                properties:
                  ok:
                    type: boolean
                    enum:
                    - true
                  data:
                    $ref: '#/components/schemas/V1FakeInterviewGenerateResponseDto'
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - error
                properties:
                  ok:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: object
                    required:
                    - message
                    properties:
                      code:
                        type: string
                        description: Predefined public error code.
                      message:
                        type: string
                        description: Human-readable message safe to show to users.
                      details: {}
        '402':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - error
                properties:
                  ok:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: object
                    required:
                    - message
                    properties:
                      code:
                        type: string
                        description: Predefined public error code.
                      message:
                        type: string
                        description: Human-readable message safe to show to users.
                      details: {}
        '403':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - error
                properties:
                  ok:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: object
                    required:
                    - message
                    properties:
                      code:
                        type: string
                        description: Predefined public error code.
                      message:
                        type: string
                        description: Human-readable message safe to show to users.
                      details: {}
        '409':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - error
                properties:
                  ok:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: object
                    required:
                    - message
                    properties:
                      code:
                        type: string
                        description: Predefined public error code.
                      message:
                        type: string
                        description: Human-readable message safe to show to users.
                      details: {}
      security:
      - bearer: []
      summary: Queue synthetic (AI-to-AI) interviews
      tags:
      - Studies / Synthetic Interview
    servers:
    - url: /api
      description: Current environment
    - url: https://s-api.cookiy.ai/api
      description: Production
    - url: https://preview-api.cookiy.ai/api
      description: Preview
    - url: https://dev-api.cookiy.ai/api
      description: Development
components:
  schemas:
    V1FakeInterviewPreviewResponseDto:
      type: object
      properties:
        study_id:
          type: string
        required_personas:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        price_per_persona_cents:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        total_cost_cents:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        balance_cents:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        shortfall_cents:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
      required:
      - study_id
      - required_personas
      - price_per_persona_cents
      - total_cost_cents
      - balance_cents
      - shortfall_cents
    V1FakeInterviewGenerateResponseDto:
      type: object
      properties:
        study_id:
          type: string
          x-nestjs_zod-uses-3-point-1-syntax: true
        status:
          type: string
          enum:
          - queued
          - running
          - ready
          - failed
          x-nestjs_zod-uses-3-point-1-syntax: true
        batch_target:
          anyOf:
          - type: integer
            minimum: -9007199254740991
            maximum: 9007199254740991
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        batch_completed:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          x-nestjs_zod-uses-3-point-1-syntax: true
        recruit_progress_webpage_url:
          type: string
          format: uri
          x-nestjs_zod-uses-3-point-1-syntax: true
      required:
      - study_id
      - status
      - batch_target
      - batch_completed
      - recruit_progress_webpage_url
    V1FakeInterviewBodyDto:
      type: object
      properties:
        idempotency_key:
          type: string
          minLength: 1
          maxLength: 200
          x-nestjs_zod-uses-3-point-1-syntax: true
        persona:
          anyOf:
          - type: string
            minLength: 1
            maxLength: 4000
          - type: object
            properties:
              text:
                type: string
                minLength: 1
                maxLength: 4000
              spoken_language_name:
                type: string
                minLength: 1
                maxLength: 100
              prompt_language_code:
                anyOf:
                - type: string
                  minLength: 1
                  maxLength: 32
                - type: 'null'
            required:
            - text
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        personas:
          minItems: 1
          maxItems: 50
          type: array
          items:
            anyOf:
            - type: string
              minLength: 1
              maxLength: 4000
            - type: object
              properties:
                text:
                  type: string
                  minLength: 1
                  maxLength: 4000
                spoken_language_name:
                  type: string
                  minLength: 1
                  maxLength: 100
                prompt_language_code:
                  anyOf:
                  - type: string
                    minLength: 1
                    maxLength: 32
                  - type: 'null'
              required:
              - text
          x-nestjs_zod-uses-3-point-1-syntax: true
        persona_count:
          type: integer
          minimum: 1
          maximum: 50
          x-nestjs_zod-uses-3-point-1-syntax: true
        auto_generate_personas:
          type: boolean
          x-nestjs_zod-uses-3-point-1-syntax: true
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    cookie:
      type: apiKey
      in: cookie
      name: Authentication
x-refined-from:
- cookiy-ai-openapi-original.json
- cookiy-ai-openapi.yml