> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getoneprofile.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Queue one LinkedIn step by hand

> Queues a single step against a profile you name, so the channel can be tried end to end without building a sequence and waiting for it to reach a LinkedIn step.

It is a REAL action: same queue, same approval in manual mode, same daily ceilings, same credit. A test path that skipped those would prove nothing about whether the channel works.

Only `profile_view` and `connection_request` may be queued this way — the two the extension implements that act on one named profile.



## OpenAPI

````yaml /openapi.json post /sender-profiles/{profile_id}/linkedin/test-actions/
openapi: 3.1.0
info:
  contact:
    email: support@getoneprofile.ai
    name: Oneprofile Support
  description: >-
    REST API reference for Oneprofile, the GTM data layer for your CRM. Manage
    tables, enrichments, and integrations. Authenticate with an API key to get
    started.
  termsOfService: https://www.getoneprofile.ai/terms
  title: API Reference | Oneprofile
  version: '0.0'
servers:
  - url: https://api.getoneprofile.ai
security: []
tags:
  - description: Sender profiles, connected mailboxes, tags, and the Google connect flow.
    name: senders
  - description: The workspace do-not-contact list, enforced before every send.
    name: suppression
  - description: 'Sequence authoring: the graph, the table-backed audience, previews.'
    name: sequences
  - description: >-
      The LinkedIn channel: connecting an account to a sender, its safety limits
      and history, and the protocol the browser extension speaks.
    name: linkedin
  - description: 'The unified outreach inbox: threads, replies, labels, events.'
    name: inbox
  - description: 'The AI reply layer: workspace settings, drafts, and approval.'
    name: inbox-ai
  - description: Notification rules, per-user preferences, and the Slack connection.
    name: notifications
  - description: Endpoints for seeing all available integration types.
    name: integration-types
  - description: Endpoints for creating and managing integrations.
    name: integrations
  - description: Endpoints for the generic OAuth install/claim app-listings engine.
    name: app-listings
  - description: Endpoints for creating and managing API keys.
    name: apikey
  - description: Endpoints for managing billing and subscription information.
    name: billing
  - description: Endpoints for creating and managing tables.
    name: tables
  - description: Endpoints for table columns, formula previews, and on-demand column runs.
    name: table-columns
  - description: Endpoints for table rows and manual cell edits.
    name: table-rows
  - description: Endpoints for observing and cancelling table recompute runs.
    name: table-runs
  - description: >-
      Endpoints for org-shared per-column display preferences: hidden, pinned,
      width, and colour tint.
    name: table-ui-prefs
  - description: >-
      Endpoints for the org-shared names given to the column tint palette: what
      this organisation calls each colour. Org-level, not per-table.
    name: table-column-color-labels
  - description: >-
      Endpoints for the enrichment action catalog, model list, presets, draft
      generation, and saved agents.
    name: table-enrichments
  - description: >-
      Endpoints for teaching a saved agent from example rows: training sessions,
      per-row feedback, and the proposed prompt to approve.
    name: agent-training
  - description: >-
      The durable audit trail of a table's enrichment actions: configured,
      edited, run, cancelled, and settled cost.
    name: table-enrichment-audit-logs
  - description: Endpoints for saving and applying column templates.
    name: table-templates
  - description: Server-sent change feed for a table's grid.
    name: table-events
  - description: 'Endpoints for org-shared saved table views: sort, filters, hidden columns.'
    name: table-views
  - description: >-
      The per-table AI Assistant: named conversations, the column suggestions a
      build turn produces, and the questions an analyze turn answers.
    name: table-assistant
  - description: >-
      Endpoints for PER-USER table preferences: favourites and recently opened.
      Unlike the rest of the table surface these are personal, so two members of
      one organisation legitimately see different answers.
    name: table-user-prefs
  - description: >-
      Endpoints for building a table from an uploaded CSV: upload and preview
      the inferred columns, commit the reviewed mapping, then poll the row load.
    name: table-imports
  - description: Endpoint for downloading a table's rows as CSV.
    name: table-export
  - description: >-
      Endpoints for the integration a table imports from: attach and preview it,
      promote imported fields into columns, and run the import on demand.
    name: table-sources
  - description: >-
      Endpoints for a table's recurring import cadence: set it, pause it, and
      read the next fire times.
    name: table-schedules
  - description: >-
      Endpoints for pushing a table's rows out to a connected integration: list
      writable destinations, derive their write capabilities, and map export
      columns.
    name: table-writeback
  - description: >-
      Endpoints backing a lookup column's setup: the connections whose records a
      column could read, and the identity fields one record type can be looked
      up by.
    name: table-integration-lookup
  - description: >-
      Endpoints for sourcing leads from the lead database: count and preview
      matches, land them in a table, and keep saved searches. Alongside people
      and company searches, leads can be sourced from buying signals — what a
      company or person just did — with a catalogue endpoint behind the picker
      that builds them.
    name: find-leads
  - description: >-
      Endpoints for discovering a domain's subdomains from public certificate
      logs and landing the results in a table.
    name: find-subdomains
  - description: Endpoints for the credit balance meter and usage reporting.
    name: credits
  - description: >-
      Endpoints for the workspace referral program: the shareable link, the
      friends who joined through it, and claiming a code after signup.
    name: referral
  - description: >-
      Endpoints for the affiliate program's own dashboard: enrolling and
      claiming a code, the summary, stats and activity feed, the commission
      ledger, and identity verification and payouts.
    name: affiliate
  - description: >-
      Endpoints for the design partner program's customer surface: whether this
      workspace is a design partner, the badges its feedback has earned, and
      sending and reading that feedback.
    name: design-partner
  - description: >-
      Endpoints for the org-level AI business context — company description,
      ideal customer profile, buyer personas and interest signals — plus
      domain-based generation.
    name: ai-context
paths:
  /sender-profiles/{profile_id}/linkedin/test-actions/:
    post:
      tags:
        - linkedin
      summary: Queue one LinkedIn step by hand
      description: >-
        Queues a single step against a profile you name, so the channel can be
        tried end to end without building a sequence and waiting for it to reach
        a LinkedIn step.


        It is a REAL action: same queue, same approval in manual mode, same
        daily ceilings, same credit. A test path that skipped those would prove
        nothing about whether the channel works.


        Only `profile_view` and `connection_request` may be queued this way —
        the two the extension implements that act on one named profile.
      operationId: queue_linkedin_test_action
      parameters:
        - in: path
          name: profile_id
          required: true
          schema:
            format: uuid
            title: Profile Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkedInTestActionSchema'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkedInActionReadSchema'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundResponse'
          description: No LinkedIn account for this sender.
        '409':
          description: >-
            A hand-queued step of this kind is already waiting. It shares the
            real queue and the real daily ceilings, so only one is outstanding
            at a time.
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnprocessableEntityResponse'
          description: The URL names no LinkedIn person, or the kind cannot be queued.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerErrorResponse'
          description: Internal server error.
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerErrorResponse'
          description: Bad gateway error.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerErrorResponse'
          description: Service unavailable.
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  schemas:
    LinkedInTestActionSchema:
      description: >-
        Queue one step by hand, to watch the channel work.


        The kind is a two-member literal rather than the full action enum: these
        are

        the ones the extension implements and that act on a single named
        profile.

        An InMail spends the sender's own premium credits and the housekeeping
        reads

        act on nobody, so neither is a useful thing to try on demand.
      properties:
        kind:
          description: 'What to do: view the profile, or send a connection request.'
          enum:
            - profile_view
            - connection_request
          title: Kind
          type: string
        note:
          default: ''
          description: >-
            The invitation note, for a connection request. Ignored for a profile
            view.
          maxLength: 300
          title: Note
          type: string
        profile_url:
          description: >-
            Whose profile, in any shape LinkedIn uses — a vanity URL, a bare
            slug, a Sales Navigator link.
          maxLength: 512
          minLength: 1
          title: Profile Url
          type: string
      required:
        - kind
        - profile_url
      title: LinkedInTestActionSchema
      type: object
    LinkedInActionReadSchema:
      properties:
        account_id:
          format: uuid
          title: Account Id
          type: string
        approved_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Approved At
        approved_by:
          anyOf:
            - $ref: '#/components/schemas/LinkedInApprover'
            - type: 'null'
        claimed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Claimed At
        duration_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Ms
        error_code:
          anyOf:
            - $ref: '#/components/schemas/LinkedInAgentErrorCode'
            - type: 'null'
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        expires_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Expires At
        finished_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Finished At
        id:
          format: uuid
          title: Id
          type: string
        kind:
          $ref: '#/components/schemas/LinkedInActionKind'
        outcome:
          anyOf:
            - $ref: '#/components/schemas/LinkedInActionOutcome-Output'
            - type: 'null'
        params:
          $ref: '#/components/schemas/LinkedInActionParams'
        priority:
          title: Priority
          type: integer
        queued_at:
          format: date-time
          title: Queued At
          type: string
        source_enrolment_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Source Enrolment Id
        source_step_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Source Step Id
        status:
          $ref: '#/components/schemas/LinkedInActionStatus'
      required:
        - id
        - account_id
        - kind
        - params
        - status
        - outcome
        - error_code
        - error_message
        - priority
        - queued_at
        - claimed_at
        - finished_at
        - duration_ms
        - expires_at
        - source_enrolment_id
        - source_step_id
      title: LinkedInActionReadSchema
      type: object
    UnauthorizedResponse:
      properties:
        detail:
          description: The detail of why the request is unauthorized.
          title: Detail
          type: string
      required:
        - detail
      title: UnauthorizedResponse
      type: object
    ForbiddenResponse:
      properties:
        detail:
          description: The detail of why the request is forbidden.
          title: Detail
          type: string
      required:
        - detail
      title: ForbiddenResponse
      type: object
    NotFoundResponse:
      properties:
        detail:
          description: The detail of why the resource was not found.
          title: Detail
          type: string
      required:
        - detail
      title: NotFoundResponse
      type: object
    UnprocessableEntityResponse:
      properties:
        detail:
          description: >-
            The detail of the error. This is the error message to show to the
            user. You should also use the issues field to show more detailed
            error messages per field. Use this field for a single liner error
            message.
          title: Detail
          type: string
        issues:
          description: >-
            The issues that caused the error. There can be multiple issues. Each
            issue is a user-facing error message.
          items:
            $ref: '#/components/schemas/UnprocessableEntityIssue'
          title: Issues
          type: array
      required:
        - detail
        - issues
      title: UnprocessableEntityResponse
      type: object
    ServerErrorResponse:
      properties:
        detail:
          description: The detail of why the server returned an error.
          title: Detail
          type: string
      required:
        - detail
      title: ServerErrorResponse
      type: object
    LinkedInApprover:
      description: >-
        Which surface approved a manual step; the two are peers, never a
        hierarchy.
      enum:
        - web
        - extension
      title: LinkedInApprover
      type: string
    LinkedInAgentErrorCode:
      description: >-
        Why one action did not succeed, as a closed vocabulary.


        Two populations in one enum, on purpose. The first twelve are reported
        by

        the browser agent and were previously a free string that only the
        extension

        had written down — nothing stopped a typo storing and rendering exactly
        like

        a real code. The last three the backend writes itself when an action
        settles

        without the browser ever running it.


        The list is the whole contract: a code outside it is rejected at the API

        boundary rather than persisted, so the extension and the dashboard can
        only

        ever speak about failures both sides can name.
      enum:
        - selector_missing
        - blocked_checkpoint
        - not_authenticated
        - account_mismatch
        - navigation_failed
        - timed_out
        - linkedin_error
        - agent_restarted
        - tab_lost
        - not_applicable
        - not_connected
        - invalid_params
        - user_rejected
        - cancelled
        - missed_window
      title: LinkedInAgentErrorCode
      type: string
    LinkedInActionKind:
      description: >-
        What the browser agent is being asked to do.


        The three ``CHECK_*``/``READ_*`` kinds are housekeeping — they read our
        own

        outbound invitations and our own conversations to detect what the
        contact did

        — so they are free and deliberately excluded from the priced kinds
        below.


        ``CHECK_INBOX`` scans the conversation list for threads with new inbound

        activity; ``READ_CONVERSATION`` opens one of them and reads it in full.
        The

        split keeps LinkedIn activity proportional to real replies: the cheap
        scan

        runs on every sweep, the expensive read only where the scan saw a
        change.


        ``LIKE_LATEST_POST`` targets the contact's most recent post at the
        moment

        the browser runs it. A contact with no posts is not a failure: the
        driver

        reports the action ``SKIPPED``, and the sequence advances either way.


        A ``PROFILE_VIEW`` outcome MAY additionally carry ``open_profile: bool``
        —

        whether the member's Premium "Open Profile" toggle is on, read off the

        page when the driver can see it. The open-profile condition resolves
        from

        that observation and never from a guess, so a driver that cannot tell

        simply omits the key.
      enum:
        - profile_view
        - connection_request
        - send_message
        - inmail
        - withdraw_connection_request
        - follow_contact
        - like_latest_post
        - check_sent_invitations
        - check_inbox
        - read_conversation
      title: LinkedInActionKind
      type: string
    LinkedInActionOutcome-Output:
      description: What one action reported back. Consumers read the member via ``.root``.
      discriminator:
        mapping:
          check_inbox:
            $ref: '#/components/schemas/CheckInboxOutcome'
          check_sent_invitations:
            $ref: '#/components/schemas/CheckSentInvitationsOutcome'
          connection_request:
            $ref: '#/components/schemas/ConnectionRequestOutcome'
          follow_contact:
            $ref: '#/components/schemas/FollowContactOutcome'
          inmail:
            $ref: '#/components/schemas/InMailOutcome'
          like_latest_post:
            $ref: '#/components/schemas/LikeLatestPostOutcome'
          profile_view:
            $ref: '#/components/schemas/ProfileViewOutcome'
          read_conversation:
            $ref: '#/components/schemas/ReadConversationOutcome'
          send_message:
            $ref: '#/components/schemas/SendMessageOutcome'
          withdraw_connection_request:
            $ref: '#/components/schemas/WithdrawConnectionRequestOutcome'
        propertyName: kind
      oneOf:
        - $ref: '#/components/schemas/ProfileViewOutcome'
        - $ref: '#/components/schemas/ConnectionRequestOutcome'
        - $ref: '#/components/schemas/SendMessageOutcome'
        - $ref: '#/components/schemas/InMailOutcome'
        - $ref: '#/components/schemas/WithdrawConnectionRequestOutcome'
        - $ref: '#/components/schemas/FollowContactOutcome'
        - $ref: '#/components/schemas/LikeLatestPostOutcome'
        - $ref: '#/components/schemas/CheckSentInvitationsOutcome'
        - $ref: '#/components/schemas/CheckInboxOutcome'
        - $ref: '#/components/schemas/ReadConversationOutcome'
      title: LinkedInActionOutcome
    LinkedInActionParams:
      description: What one action is asked to do. Consumers read the member via ``.root``.
      discriminator:
        mapping:
          check_inbox:
            $ref: '#/components/schemas/CheckInboxParams'
          check_sent_invitations:
            $ref: '#/components/schemas/CheckSentInvitationsParams'
          connection_request:
            $ref: '#/components/schemas/ConnectionRequestParams'
          follow_contact:
            $ref: '#/components/schemas/FollowContactParams'
          inmail:
            $ref: '#/components/schemas/InMailParams'
          like_latest_post:
            $ref: '#/components/schemas/LikeLatestPostParams'
          profile_view:
            $ref: '#/components/schemas/ProfileViewParams'
          read_conversation:
            $ref: '#/components/schemas/ReadConversationParams'
          send_message:
            $ref: '#/components/schemas/SendMessageParams'
          withdraw_connection_request:
            $ref: '#/components/schemas/WithdrawConnectionRequestParams'
        propertyName: kind
      oneOf:
        - $ref: '#/components/schemas/ProfileViewParams'
        - $ref: '#/components/schemas/ConnectionRequestParams'
        - $ref: '#/components/schemas/SendMessageParams'
        - $ref: '#/components/schemas/InMailParams'
        - $ref: '#/components/schemas/WithdrawConnectionRequestParams'
        - $ref: '#/components/schemas/FollowContactParams'
        - $ref: '#/components/schemas/LikeLatestPostParams'
        - $ref: '#/components/schemas/CheckSentInvitationsParams'
        - $ref: '#/components/schemas/CheckInboxParams'
        - $ref: '#/components/schemas/ReadConversationParams'
      title: LinkedInActionParams
    LinkedInActionStatus:
      description: >-
        Where one queued action stands.


        Governor-deferral is deliberately NOT a status: an action whose kind has
        hit

        its daily cap stays ``QUEUED`` and is simply not handed out, with the
        reason

        travelling on the hand-out response instead. A ``DEFERRED`` row would
        make

        the queue lie about what is still waiting to happen.


        ``SKIPPED`` is "not applicable" (no LinkedIn URL, already connected);

        ``REJECTED`` is "a human refused it"; ``FAILED`` is "we tried and could
        not".
      enum:
        - queued
        - claimed
        - succeeded
        - failed
        - rejected
        - skipped
      title: LinkedInActionStatus
      type: string
    UnprocessableEntityIssue:
      properties:
        input:
          anyOf:
            - type: string
            - type: integer
            - type: number
            - type: boolean
            - items: {}
              type: array
            - additionalProperties: true
              type: object
          description: The user's input that caused the error.
          title: Input
        loc:
          description: >-
            The location of the error. Always contains 1 or 2 elements. The
            first element is the type of location (e.g. 'body', 'query', 'path',
            'header'). The second element is the name of the field that caused
            the error. If the error is not related to a specific field, the
            second element is not present.
          items:
            type: string
          title: Loc
          type: array
        msg:
          description: The message of the error. The error message to show to the user.
          title: Msg
          type: string
        type:
          description: >-
            The type of the error. Useful for frontend code to handle different
            types of errors.
          title: Type
          type: string
      required:
        - loc
        - msg
        - type
        - input
      title: UnprocessableEntityIssue
      type: object
    CheckInboxOutcome:
      additionalProperties: false
      description: >-
        One reading of the conversation list; a partial parse is recorded, never
        acted on.
      properties:
        complete:
          default: false
          title: Complete
          type: boolean
        conversations:
          items:
            $ref: '#/components/schemas/LinkedInConversationRow'
          maxItems: 500
          title: Conversations
          type: array
        dispatched:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dispatched
        dwell_ms:
          default: 0
          title: Dwell Ms
          type: integer
        kind:
          const: check_inbox
          default: check_inbox
          title: Kind
          type: string
        missed_window:
          default: false
          title: Missed Window
          type: boolean
        observed_member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Observed Member Urn
        reason:
          anyOf:
            - $ref: '#/components/schemas/LinkedInSkipReason'
            - type: 'null'
        rows_rendered:
          default: 0
          title: Rows Rendered
          type: integer
      title: CheckInboxOutcome
      type: object
    CheckSentInvitationsOutcome:
      additionalProperties: false
      description: >-
        One reading of the sent-invitations list, as member URNs still
        outstanding.


        ``swept`` carries the same meaning ``complete`` does below: a partial
        parse

        is recorded but never acted on, so a half-rendered page cannot read an

        invitation's absence as the contact having accepted it.
      properties:
        dispatched:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dispatched
        dwell_ms:
          default: 0
          title: Dwell Ms
          type: integer
        kind:
          const: check_sent_invitations
          default: check_sent_invitations
          title: Kind
          type: string
        missed_window:
          default: false
          title: Missed Window
          type: boolean
        observed_member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Observed Member Urn
        reason:
          anyOf:
            - $ref: '#/components/schemas/LinkedInSkipReason'
            - type: 'null'
        rows_rendered:
          default: 0
          title: Rows Rendered
          type: integer
        still_pending_urns:
          items:
            maxLength: 128
            type: string
          maxItems: 2000
          title: Still Pending Urns
          type: array
        swept:
          default: false
          title: Swept
          type: boolean
      title: CheckSentInvitationsOutcome
      type: object
    ConnectionRequestOutcome:
      additionalProperties: false
      description: >-
        What sending an invitation produced.


        ``member_urn`` is the load-bearing field: without it the invitation
        ledger

        row never opens and acceptance detection has nothing to match. It stays

        nullable because "we could not identify this profile" is a better answer

        than a guess at a stranger's identity.
      properties:
        dispatched:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dispatched
        invited_via:
          anyOf:
            - enum:
                - action_bar
                - overflow_menu
              type: string
            - type: 'null'
          title: Invited Via
        kind:
          const: connection_request
          default: connection_request
          title: Kind
          type: string
        member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Member Urn
        missed_window:
          default: false
          title: Missed Window
          type: boolean
        note_attempted:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Note Attempted
        note_length:
          default: 0
          title: Note Length
          type: integer
        note_original_length:
          default: 0
          title: Note Original Length
          type: integer
        note_sent:
          default: false
          title: Note Sent
          type: boolean
        note_truncated:
          default: false
          title: Note Truncated
          type: boolean
        observed_member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Observed Member Urn
        reason:
          anyOf:
            - $ref: '#/components/schemas/LinkedInSkipReason'
            - type: 'null'
      title: ConnectionRequestOutcome
      type: object
    FollowContactOutcome:
      additionalProperties: false
      description: What following a member produced.
      properties:
        dispatched:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dispatched
        dwell_ms:
          default: 0
          title: Dwell Ms
          type: integer
        kind:
          const: follow_contact
          default: follow_contact
          title: Kind
          type: string
        missed_window:
          default: false
          title: Missed Window
          type: boolean
        observed_member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Observed Member Urn
        reason:
          anyOf:
            - $ref: '#/components/schemas/LinkedInSkipReason'
            - type: 'null'
      title: FollowContactOutcome
      type: object
    InMailOutcome:
      additionalProperties: false
      description: What sending an InMail produced.
      properties:
        body_length:
          default: 0
          title: Body Length
          type: integer
        body_original_length:
          default: 0
          title: Body Original Length
          type: integer
        body_truncated:
          default: false
          title: Body Truncated
          type: boolean
        conversation_urn:
          anyOf:
            - maxLength: 255
              type: string
            - type: 'null'
          title: Conversation Urn
        dispatched:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dispatched
        kind:
          const: inmail
          default: inmail
          title: Kind
          type: string
        member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Member Urn
        missed_window:
          default: false
          title: Missed Window
          type: boolean
        observed_member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Observed Member Urn
        reason:
          anyOf:
            - $ref: '#/components/schemas/LinkedInSkipReason'
            - type: 'null'
        subject_length:
          default: 0
          title: Subject Length
          type: integer
      title: InMailOutcome
      type: object
    LikeLatestPostOutcome:
      additionalProperties: false
      description: >-
        What liking the latest post produced. A member with no posts is SKIPPED,
        not failed.
      properties:
        dispatched:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dispatched
        dwell_ms:
          default: 0
          title: Dwell Ms
          type: integer
        kind:
          const: like_latest_post
          default: like_latest_post
          title: Kind
          type: string
        missed_window:
          default: false
          title: Missed Window
          type: boolean
        observed_member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Observed Member Urn
        reason:
          anyOf:
            - $ref: '#/components/schemas/LinkedInSkipReason'
            - type: 'null'
      title: LikeLatestPostOutcome
      type: object
    ProfileViewOutcome:
      additionalProperties: false
      description: >-
        What a profile view saw.


        ``open_profile`` is deliberately three-state. The Premium "Open Profile"

        toggle is only sometimes legible on the page, and the sequence condition

        resolves from a real observation or not at all — ``None`` means "could
        not

        tell", which is not the same answer as ``False``.
      properties:
        dispatched:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dispatched
        dwell_ms:
          default: 0
          title: Dwell Ms
          type: integer
        first_degree_member_urns:
          items:
            maxLength: 128
            type: string
          maxItems: 2000
          title: First Degree Member Urns
          type: array
        kind:
          const: profile_view
          default: profile_view
          title: Kind
          type: string
        missed_window:
          default: false
          title: Missed Window
          type: boolean
        observed_member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Observed Member Urn
        open_profile:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Open Profile
        reason:
          anyOf:
            - $ref: '#/components/schemas/LinkedInSkipReason'
            - type: 'null'
        scrolled_fraction:
          default: 0
          title: Scrolled Fraction
          type: number
        scrolled_px:
          default: 0
          title: Scrolled Px
          type: integer
        vanity:
          default: ''
          title: Vanity
          type: string
      title: ProfileViewOutcome
      type: object
    ReadConversationOutcome:
      additionalProperties: false
      description: A full reading of one conversation, oldest message first.
      properties:
        complete:
          default: false
          title: Complete
          type: boolean
        conversation_id:
          format: uuid
          title: Conversation Id
          type: string
        dispatched:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dispatched
        dwell_ms:
          default: 0
          title: Dwell Ms
          type: integer
        items_rendered:
          default: 0
          title: Items Rendered
          type: integer
        kind:
          const: read_conversation
          default: read_conversation
          title: Kind
          type: string
        messages:
          items:
            $ref: '#/components/schemas/LinkedInMessageRead'
          maxItems: 500
          title: Messages
          type: array
        missed_window:
          default: false
          title: Missed Window
          type: boolean
        observed_member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Observed Member Urn
        reason:
          anyOf:
            - $ref: '#/components/schemas/LinkedInSkipReason'
            - type: 'null'
      required:
        - conversation_id
      title: ReadConversationOutcome
      type: object
    SendMessageOutcome:
      additionalProperties: false
      description: What sending a message produced; the conversation urn links the thread.
      properties:
        body_length:
          default: 0
          title: Body Length
          type: integer
        body_original_length:
          default: 0
          title: Body Original Length
          type: integer
        body_truncated:
          default: false
          title: Body Truncated
          type: boolean
        conversation_urn:
          anyOf:
            - maxLength: 255
              type: string
            - type: 'null'
          title: Conversation Urn
        dispatched:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dispatched
        kind:
          const: send_message
          default: send_message
          title: Kind
          type: string
        member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Member Urn
        missed_window:
          default: false
          title: Missed Window
          type: boolean
        observed_member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Observed Member Urn
        reason:
          anyOf:
            - $ref: '#/components/schemas/LinkedInSkipReason'
            - type: 'null'
      title: SendMessageOutcome
      type: object
    WithdrawConnectionRequestOutcome:
      additionalProperties: false
      description: What withdrawing an invitation produced; settles the ledger row.
      properties:
        dispatched:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dispatched
        kind:
          const: withdraw_connection_request
          default: withdraw_connection_request
          title: Kind
          type: string
        member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Member Urn
        missed_window:
          default: false
          title: Missed Window
          type: boolean
        observed_member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Observed Member Urn
        reason:
          anyOf:
            - $ref: '#/components/schemas/LinkedInSkipReason'
            - type: 'null'
      title: WithdrawConnectionRequestOutcome
      type: object
    CheckInboxParams:
      additionalProperties: false
      description: >-
        Housekeeping: scan the conversation list for new inbound activity. Takes
        nothing.
      properties:
        kind:
          const: check_inbox
          default: check_inbox
          title: Kind
          type: string
      title: CheckInboxParams
      type: object
    CheckSentInvitationsParams:
      additionalProperties: false
      description: 'Housekeeping: read our own sent-invitations list. Takes nothing.'
      properties:
        kind:
          const: check_sent_invitations
          default: check_sent_invitations
          title: Kind
          type: string
      title: CheckSentInvitationsParams
      type: object
    ConnectionRequestParams:
      additionalProperties: false
      description: Send an invitation, with or without a note.
      properties:
        kind:
          const: connection_request
          default: connection_request
          title: Kind
          type: string
        note:
          default: ''
          maxLength: 300
          title: Note
          type: string
        note_original_length:
          default: 0
          title: Note Original Length
          type: integer
        note_truncated:
          default: false
          title: Note Truncated
          type: boolean
        profile_url:
          maxLength: 512
          title: Profile Url
          type: string
      required:
        - profile_url
      title: ConnectionRequestParams
      type: object
    FollowContactParams:
      additionalProperties: false
      description: Follow a member without connecting to them.
      properties:
        kind:
          const: follow_contact
          default: follow_contact
          title: Kind
          type: string
        profile_url:
          maxLength: 512
          title: Profile Url
          type: string
      required:
        - profile_url
      title: FollowContactParams
      type: object
    InMailParams:
      additionalProperties: false
      description: >-
        Send an InMail — a message with a subject, priced against the sender's
        own credits.
      properties:
        body:
          maxLength: 1900
          title: Body
          type: string
        body_original_length:
          default: 0
          title: Body Original Length
          type: integer
        body_truncated:
          default: false
          title: Body Truncated
          type: boolean
        conversation_urn:
          anyOf:
            - maxLength: 255
              type: string
            - type: 'null'
          title: Conversation Urn
        kind:
          const: inmail
          default: inmail
          title: Kind
          type: string
        member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Member Urn
        profile_url:
          anyOf:
            - maxLength: 512
              type: string
            - type: 'null'
          title: Profile Url
        subject:
          default: ''
          maxLength: 200
          title: Subject
          type: string
        subject_original_length:
          default: 0
          title: Subject Original Length
          type: integer
        subject_truncated:
          default: false
          title: Subject Truncated
          type: boolean
      required:
        - body
      title: InMailParams
      type: object
    LikeLatestPostParams:
      additionalProperties: false
      description: Like whatever the member posted most recently, if anything.
      properties:
        kind:
          const: like_latest_post
          default: like_latest_post
          title: Kind
          type: string
        profile_url:
          maxLength: 512
          title: Profile Url
          type: string
      required:
        - profile_url
      title: LikeLatestPostParams
      type: object
    ProfileViewParams:
      additionalProperties: false
      description: Open a member's profile and read it like a person would.
      properties:
        kind:
          const: profile_view
          default: profile_view
          title: Kind
          type: string
        profile_url:
          maxLength: 512
          title: Profile Url
          type: string
      required:
        - profile_url
      title: ProfileViewParams
      type: object
    ReadConversationParams:
      additionalProperties: false
      description: 'Housekeeping: open one thread the scan flagged and read it in full.'
      properties:
        conversation_id:
          format: uuid
          title: Conversation Id
          type: string
        conversation_urn:
          anyOf:
            - maxLength: 255
              type: string
            - type: 'null'
          title: Conversation Urn
        kind:
          const: read_conversation
          default: read_conversation
          title: Kind
          type: string
        member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Member Urn
      required:
        - conversation_id
      title: ReadConversationParams
      type: object
    SendMessageParams:
      additionalProperties: false
      description: Send a direct message, either from a profile or into an existing thread.
      properties:
        body:
          maxLength: 8000
          title: Body
          type: string
        body_original_length:
          default: 0
          title: Body Original Length
          type: integer
        body_truncated:
          default: false
          title: Body Truncated
          type: boolean
        conversation_urn:
          anyOf:
            - maxLength: 255
              type: string
            - type: 'null'
          title: Conversation Urn
        kind:
          const: send_message
          default: send_message
          title: Kind
          type: string
        member_urn:
          anyOf:
            - maxLength: 128
              type: string
            - type: 'null'
          title: Member Urn
        profile_url:
          anyOf:
            - maxLength: 512
              type: string
            - type: 'null'
          title: Profile Url
      required:
        - body
      title: SendMessageParams
      type: object
    WithdrawConnectionRequestParams:
      additionalProperties: false
      description: Withdraw an invitation this sender already sent.
      properties:
        kind:
          const: withdraw_connection_request
          default: withdraw_connection_request
          title: Kind
          type: string
        member_urn:
          maxLength: 128
          title: Member Urn
          type: string
        profile_url:
          maxLength: 512
          title: Profile Url
          type: string
      required:
        - profile_url
        - member_urn
      title: WithdrawConnectionRequestParams
      type: object
    LinkedInConversationRow:
      additionalProperties: false
      description: One row of the message-list scan, as the agent read it off the page.
      properties:
        conversation_urn:
          anyOf:
            - maxLength: 255
              type: string
            - type: 'null'
          title: Conversation Urn
        last_activity_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Activity At
        last_inbound_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Inbound At
        member_urn:
          maxLength: 128
          title: Member Urn
          type: string
        snippet:
          default: ''
          maxLength: 200
          title: Snippet
          type: string
      required:
        - member_urn
      title: LinkedInConversationRow
      type: object
    LinkedInSkipReason:
      description: >-
        The specific reason a step was not applicable, when the driver knows
        one.


        Narrower than the error code beside it: ``not_applicable`` says the step

        could not apply, and this says why in a way a customer can act on — an

        invitation already pending is their own earlier work, while "connect not

        offered" is LinkedIn's decision about that profile.
      enum:
        - invitation_already_pending
        - connect_not_offered
        - email_required
        - message_not_offered
      title: LinkedInSkipReason
      type: string
    LinkedInMessageRead:
      additionalProperties: false
      description: One message read out of an opened conversation.
      properties:
        body_text:
          default: ''
          maxLength: 8000
          title: Body Text
          type: string
        is_inbound:
          title: Is Inbound
          type: boolean
        message_urn:
          maxLength: 255
          title: Message Urn
          type: string
        sender_member_urn:
          maxLength: 128
          title: Sender Member Urn
          type: string
        sender_name:
          default: ''
          maxLength: 255
          title: Sender Name
          type: string
        sent_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Sent At
      required:
        - message_urn
        - sender_member_urn
        - is_inbound
      title: LinkedInMessageRead
      type: object
  securitySchemes:
    APIKeyHeader:
      in: header
      name: X-API-Key
      type: apiKey
    HTTPBearer:
      scheme: bearer
      type: http

````