Sessions

Create Interaction

Changed on
post/sessions/interactions/

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/sessions/interactions/
  • Auth
    API key in header Authorization

Request body

session_idstring required
turn_idstring nullable
tokenstring required
kind'user_approval' | 'user_input' | 'client_tool' required
tagsobject nullable
metaobject nullable

Response

Successful Response

countinteger

Changes

    • info

      added the new optional request property //

    • info

      added the optional property //// to the response with the status

    • breaking

      removed subschema #1 from the // request property anyOf list

    • breaking

      the /// response's property type changed from no type to string, and format from no format to date-time for status

    • breaking

      the /// response's property type changed from no type to string, and format from no format to date-time for status

    • breaking

      the /// response's property type changed from no type to string, and format from no format to date-time for status

    • info

      added to the // request property anyOf list

    • info

      added to the //// response property anyOf list for the response status

    • info

      removed subschema #1 from the //// response property anyOf list for the response status