Ruzora Sol App roles (internal) API

The Sol App roles (internal) API from Ruzora — 19 operation(s) for sol app roles (internal).

GitHub OpenAPI

Operations 24

GET /api/sol-app/users/{user_id}/roles List Roles #
POST /api/sol-app/users/{user_id}/roles Create Role #
GET /api/sol-app/users/{user_id}/roles/prefill Role Prefill #
GET /api/sol-app/users/{user_id}/artifacts Recent Artifacts #
GET /api/sol-app/roles/{role_id} Get Role #
PATCH /api/sol-app/roles/{role_id} Patch Role #
DELETE /api/sol-app/roles/{role_id} Delete Role #
GET /api/sol-app/roles/{role_id}/brief Get Role Brief #
PUT /api/sol-app/roles/{role_id}/brief Put Role Brief #
POST /api/sol-app/roles/{role_id}/items Attach Item #
POST /api/sol-app/users/{user_id}/roles/attach Attach By Title #
POST /api/sol-app/users/{user_id}/roles/{role_id}/suggested-engineers Suggest Engineers #
DELETE /api/sol-app/roles/{role_id}/items/{item_id} Detach Item #
POST /api/sol-app/users/{user_id}/roles/upsert Upsert Role #
GET /api/sol-app/users/{user_id}/roles/similar Similar Roles #
POST /api/sol-app/roles/{role_id}/undo Undo Role #
POST /api/sol-app/roles/{role_id}/restore Restore Role #
GET /api/sol-app/conversations/{conversation_id}/role Conversation Role #
POST /api/sol-app/conversations/{conversation_id}/role Link Start Role #
POST /api/sol-app/roles/{role_id}/items/auto Auto Attach #
GET /api/sol-app/users/{user_id}/identity Account Identity #
POST /api/sol-app/roles/{role_id}/items/shortlist Attach Chat Shortlist #
GET /api/sol-app/shortlist/token-status Shortlist Token Status #
POST /api/sol-app/shortlist/claim Claim Shortlist #

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/ruzora-com:ruzora-com-sol-app-roles-internal-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

ruzora-com-sol-app-roles-internal-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ruzora Candidate CRM Sol App roles (internal) API
  description: Candidate pipeline, sourcing, and LinkedIn automation
  version: 1.0.0
tags:
- name: Sol App roles (internal)
paths:
  /api/sol-app/users/{user_id}/roles:
    get:
      tags:
      - Sol App roles (internal)
      summary: List Roles
      operationId: list_roles_api_sol_app_users__user_id__roles_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Sol App roles (internal)
      summary: Create Role
      operationId: create_role_api_sol_app_users__user_id__roles_post
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoleIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/users/{user_id}/roles/prefill:
    get:
      tags:
      - Sol App roles (internal)
      summary: Role Prefill
      description: 'A draft for a NEW role from the company''s memory (buyer-safe facts

        only; never budget). Empty when memory is off or the domain is not proven.'
      operationId: role_prefill_api_sol_app_users__user_id__roles_prefill_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/users/{user_id}/artifacts:
    get:
      tags:
      - Sol App roles (internal)
      summary: Recent Artifacts
      description: The user's latest documents (id, kind, title) for the attach picker.
      operationId: recent_artifacts_api_sol_app_users__user_id__artifacts_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 60
          minimum: 1
          default: 30
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/roles/{role_id}:
    get:
      tags:
      - Sol App roles (internal)
      summary: Get Role
      operationId: get_role_api_sol_app_roles__role_id__get
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      - name: user_id
        in: query
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Sol App roles (internal)
      summary: Patch Role
      operationId: patch_role_api_sol_app_roles__role_id__patch
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RolePatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Sol App roles (internal)
      summary: Delete Role
      operationId: delete_role_api_sol_app_roles__role_id__delete
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      - name: user_id
        in: query
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/roles/{role_id}/brief:
    get:
      tags:
      - Sol App roles (internal)
      summary: Get Role Brief
      description: 'RUZ-424: the chat''s saved brief on this role (chat-api, resume).'
      operationId: get_role_brief_api_sol_app_roles__role_id__brief_get
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      - name: user_id
        in: query
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Sol App roles (internal)
      summary: Put Role Brief
      description: 'RUZ-424: chat-api writes the brief after a turn that changed it.'
      operationId: put_role_brief_api_sol_app_roles__role_id__brief_put
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BriefIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/roles/{role_id}/items:
    post:
      tags:
      - Sol App roles (internal)
      summary: Attach Item
      operationId: attach_item_api_sol_app_roles__role_id__items_post
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AttachIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/users/{user_id}/roles/attach:
    post:
      tags:
      - Sol App roles (internal)
      summary: Attach By Title
      description: 'chat-api''s ``attach_to_role``: the role by id, else by title (created

        when missing). The acting user in the path and the body must match.'
      operationId: attach_by_title_api_sol_app_users__user_id__roles_attach_post
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AttachByTitleIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/users/{user_id}/roles/{role_id}/suggested-engineers:
    post:
      tags:
      - Sol App roles (internal)
      summary: Suggest Engineers
      description: 'chat-api, after a turn of a chat that belongs to a role: the engineers

        the cards showed go on that role''s board (blind, pending). Not a save:

        the user''s saved engineers are untouched. Flag off → 404.'
      operationId: suggest_engineers_api_sol_app_users__user_id__roles__role_id__suggested_engineers_post
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuggestedEngineersIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/roles/{role_id}/items/{item_id}:
    delete:
      tags:
      - Sol App roles (internal)
      summary: Detach Item
      operationId: detach_item_api_sol_app_roles__role_id__items__item_id__delete
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      - name: item_id
        in: path
        required: true
        schema:
          type: string
          title: Item Id
      - name: user_id
        in: query
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/users/{user_id}/roles/upsert:
    post:
      tags:
      - Sol App roles (internal)
      summary: Upsert Role
      operationId: upsert_role_api_sol_app_users__user_id__roles_upsert_post
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoleUpsertIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/users/{user_id}/roles/similar:
    get:
      tags:
      - Sol App roles (internal)
      summary: Similar Roles
      description: 'ROUND3 role identity: the buyer''s live roles, each flagged ``similar``

        to ``title``, so Sol asks "you already have X, is it this one?" before a

        save in a chat with no role. The buyer''s pick is saved by its id; the

        upsert never merges by title.'
      operationId: similar_roles_api_sol_app_users__user_id__roles_similar_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: title
        in: query
        required: false
        schema:
          type: string
          maxLength: 200
          default: ''
          title: Title
      - name: seniority
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 20
          - type: 'null'
          title: Seniority
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/roles/{role_id}/undo:
    post:
      tags:
      - Sol App roles (internal)
      summary: Undo Role
      description: 'Undo on the chat card: removes a role Sol just made. 409 (message

        shown on the card) once the role has collected more since.'
      operationId: undo_role_api_sol_app_roles__role_id__undo_post
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      - name: user_id
        in: query
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/roles/{role_id}/restore:
    post:
      tags:
      - Sol App roles (internal)
      summary: Restore Role
      description: Restore after Undo on the chat card (within 24 h, Undo-removed only).
      operationId: restore_role_api_sol_app_roles__role_id__restore_post
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      - name: user_id
        in: query
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/conversations/{conversation_id}/role:
    get:
      tags:
      - Sol App roles (internal)
      summary: Conversation Role
      description: 'The live role this chat is about (auto-attach after a resume), or null.

        With hiring flow v2 on, also ``deal`` (``_deal``): where the buyer''s MSA /

        kickoff stand, for Sol''s per-turn context note.'
      operationId: conversation_role_api_sol_app_conversations__conversation_id__role_get
      parameters:
      - name: conversation_id
        in: path
        required: true
        schema:
          type: string
          title: Conversation Id
      - name: user_id
        in: query
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Sol App roles (internal)
      summary: Link Start Role
      description: 'chat-api, first turn of a chat opened from a role (integration B1):

        links the chat to the role if the user owns it and it is live; otherwise

        ``{"role": null}`` (the hint is ignored).'
      operationId: link_start_role_api_sol_app_conversations__conversation_id__role_post
      parameters:
      - name: conversation_id
        in: path
        required: true
        schema:
          type: string
          title: Conversation Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartRoleIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/roles/{role_id}/items/auto:
    post:
      tags:
      - Sol App roles (internal)
      summary: Auto Attach
      description: 'chat-api: a document Sol just made in a role-linked chat lands on the

        role (the same attach + audit path as /items, via=''chat'').'
      operationId: auto_attach_api_sol_app_roles__role_id__items_auto_post
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AutoAttachIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/users/{user_id}/identity:
    get:
      tags:
      - Sol App roles (internal)
      summary: Account Identity
      description: 'chat-api: the signed-in buyer''s name and company for a shortlist request

        on the Sol App (review #548 r2 rel N1), so Sol never asks for them and never

        invents them. Fields are null when the account has nothing better than the

        email; chat-api then falls back to the email.'
      operationId: account_identity_api_sol_app_users__user_id__identity_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/roles/{role_id}/items/shortlist:
    post:
      tags:
      - Sol App roles (internal)
      summary: Attach Chat Shortlist
      description: 'chat-api: a shortlist requested in a role''s chat lands on that role

        (integration B3), so the tracker moves to "Shortlist sent".'
      operationId: attach_chat_shortlist_api_sol_app_roles__role_id__items_shortlist_post
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          title: Role Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatShortlistIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/shortlist/token-status:
    get:
      tags:
      - Sol App roles (internal)
      summary: Shortlist Token Status
      description: 'apps/sol ``/s/{token}``: is this shortlist link live, expired,

        revoked or unknown? Only the status (no lead data, no email), so the

        expired page can offer a fresh shortlist without calling the claim.

        ``SHORTLIST_IN_SOL_ENABLED`` off → 404.'
      operationId: shortlist_token_status_api_sol_app_shortlist_token_status_get
      parameters:
      - name: token
        in: query
        required: false
        schema:
          type: string
          maxLength: 128
          default: ''
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sol-app/shortlist/claim:
    post:
      tags:
      - Sol App roles (internal)
      summary: Claim Shortlist
      description: 'apps/sol, after sign-in on ``/s/{token}``: the lead''s shortlist

        becomes a role for this account (PLAN_2026-11-11 option B). Only the

        lead''s own email or the lead''s company domain may claim (403

        ``domain_mismatch``); 404 ``not_found`` / 410 ``expired`` for the token.

        Idempotent. ``SHORTLIST_IN_SOL_ENABLED`` / roles flags off → 404.'
      operationId: claim_shortlist_api_sol_app_shortlist_claim_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShortlistClaimIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AutoAttachIn:
      properties:
        user_id:
          type: string
          title: User Id
        artifact:
          additionalProperties: true
          type: object
          title: Artifact
        conversation_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Conversation Id
      type: object
      required:
      - user_id
      - artifact
      title: AutoAttachIn
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ChatShortlistIn:
      properties:
        user_id:
          type: string
          title: User Id
        lead_id:
          type: string
          title: Lead Id
        engineers:
          type: integer
          maximum: 20.0
          minimum: 1.0
          title: Engineers
          default: 1
        status:
          type: string
          maxLength: 20
          title: Status
          default: sourcing
      type: object
      required:
      - user_id
      - lead_id
      title: ChatShortlistIn
    RoleUpsertIn:
      properties:
        title:
          type: string
          maxLength: 200
          title: Title
          default: ''
        seniority:
          anyOf:
          - type: string
          - type: 'null'
          title: Seniority
        stack:
          items:
            type: string
          type: array
          maxItems: 20
          title: Stack
        notes:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Notes
        budget_monthly_usd:
          anyOf:
          - type: number
          - type: 'null'
          title: Budget Monthly Usd
        start_by:
          anyOf:
          - type: string
            maxLength: 10
          - type: 'null'
          title: Start By
        role_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Role Id
        conversation_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Conversation Id
        created_via:
          type: string
          enum:
          - chat
          - job_post
          title: Created Via
          default: chat
        allow_create:
          type: boolean
          title: Allow Create
          default: true
      type: object
      title: RoleUpsertIn
      description: 'chat-api ``save_role`` (sol surface). The acting user is the path''s

        ``user_id`` (chat-api takes it from the verified user token).'
    ShortlistClaimIn:
      properties:
        user_id:
          type: string
          title: User Id
        token:
          type: string
          maxLength: 128
          minLength: 1
          title: Token
        candidate_id:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Candidate Id
      type: object
      required:
      - user_id
      - token
      title: ShortlistClaimIn
    RolePatch:
      properties:
        user_id:
          type: string
          title: User Id
        title:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Title
        status:
          anyOf:
          - type: string
            enum:
            - open
            - paused
            - filled
            - closed
          - type: 'null'
          title: Status
        seniority:
          anyOf:
          - type: string
          - type: 'null'
          title: Seniority
        stack:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 20
          - type: 'null'
          title: Stack
        notes:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Notes
      type: object
      required:
      - user_id
      title: RolePatch
    RoleIn:
      properties:
        title:
          type: string
          maxLength: 200
          minLength: 2
          title: Title
        seniority:
          anyOf:
          - type: string
          - type: 'null'
          title: Seniority
        stack:
          items:
            type: string
          type: array
          maxItems: 20
          title: Stack
        notes:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Notes
        prefill_source:
          anyOf:
          - type: string
            const: company_memory
          - type: 'null'
          title: Prefill Source
        account_id:
          anyOf:
          - type: string
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          - type: 'null'
          title: Account Id
      type: object
      required:
      - title
      title: RoleIn
    AttachByTitleIn:
      properties:
        user_id:
          type: string
          title: User Id
        kind:
          type: string
          enum:
          - artifact
          - engineer
          title: Kind
        ref:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Ref
        artifact:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Artifact
        conversation_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Conversation Id
        artifact_kind:
          anyOf:
          - type: string
            enum:
            - interview_kit
            - scorecard
            - job_post
          - type: 'null'
          title: Artifact Kind
        via:
          type: string
          enum:
          - app
          - chat
          title: Via
          default: app
        role_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Role Id
        role_title:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Role Title
        create_if_missing:
          type: boolean
          title: Create If Missing
          default: true
      type: object
      required:
      - user_id
      - kind
      title: AttachByTitleIn
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AttachIn:
      properties:
        user_id:
          type: string
          title: User Id
        kind:
          type: string
          enum:
          - artifact
          - engineer
          title: Kind
        ref:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Ref
        artifact:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Artifact
        conversation_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Conversation Id
        artifact_kind:
          anyOf:
          - type: string
            enum:
            - interview_kit
            - scorecard
            - job_post
          - type: 'null'
          title: Artifact Kind
        via:
          type: string
          enum:
          - app
          - chat
          title: Via
          default: app
      type: object
      required:
      - user_id
      - kind
      title: AttachIn
    SuggestedEngineerIn:
      properties:
        ref:
          type: string
          maxLength: 64
          title: Ref
        snapshot:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Snapshot
      type: object
      required:
      - ref
      title: SuggestedEngineerIn
    StartRoleIn:
      properties:
        user_id:
          type: string
          title: User Id
        role_id:
          type: string
          title: Role Id
      type: object
      required:
      - user_id
      - role_id
      title: StartRoleIn
    SuggestedEngineersIn:
      properties:
        engineers:
          items:
            $ref: '#/components/schemas/SuggestedEngineerIn'
          type: array
          maxItems: 40
          title: Engineers
      type: object
      required:
      - engineers
      title: SuggestedEngineersIn
    BriefIn:
      properties:
        user_id:
          type: string
          title: User Id
        brief:
          additionalProperties: true
          type: object
          title: Brief
      type: object
      required:
      - user_id
      - brief
      title: BriefIn
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer