Handles generation requests.

post/v1/session/generate

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

idstring

The Session ID (UUID4) this request belongs to.

Response

Successful Response

idstring required
status_codeinteger required

The status code of the message. 2xx is Okay, 4xx is a client error, 5xx is a server error.

status_messagestring required

Explain status code reason.

Changes

    • breaking

      removed from the // request property anyOf list

    • breaking

      removed the enum value retriving of the request property //

    • warning

      removed the request property //

    • warning

      removed the optional property // from the response with the status

    • warning

      added the new end enum value to the // response property for the response status

    • warning

      added the new retrieving enum value to the // response property for the response status

    • warning

      added the new sec-gemini/canvas enum value to the /// response property for the response status

    • warning

      added the new sec-gemini/code enum value to the /// response property for the response status

    • warning

      added the new sec-gemini/graph enum value to the /// response property for the response status

    • warning

      added the new sec-gemini/html enum value to the /// response property for the response status

    • warning

      added the new sec-gemini/image enum value to the /// response property for the response status

    • warning

      added the new sec-gemini/json enum value to the /// response property for the response status

    • warning

      added the new sec-gemini/markdown enum value to the /// response property for the response status

    • warning

      added the new sec-gemini/table enum value to the /// response property for the response status

    • warning

      added the new sec-gemini/timeline enum value to the /// response property for the response status

    • warning

      added the new undefined enum value to the // response property for the response status

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added to the // request property anyOf list

    • info

      the request property default value {"prompt_tokens":0,"generated_tokens":0,"total_tokens":0} was removed

    • info

      added the new end enum value to the request property //

    • info

      added the new retrieving enum value to the request property //

    • info

      added the new sec-gemini/canvas enum value to the request property ///

    • info

      added the new sec-gemini/code enum value to the request property ///

    • info

      added the new sec-gemini/graph enum value to the request property ///

    • info

      added the new sec-gemini/html enum value to the request property ///

    • info

      added the new sec-gemini/image enum value to the request property ///

    • info

      added the new sec-gemini/json enum value to the request property ///

    • info

      added the new sec-gemini/markdown enum value to the request property ///

    • info

      added the new sec-gemini/table enum value to the request property ///

    • info

      added the new sec-gemini/timeline enum value to the request property ///

    • info

      added the new undefined enum value to the request property //

    • info

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

    • info

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

    • info

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

    • info

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

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

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

    • info

      removed from the // response property anyOf list for the response status

    • info

      the response's property default value {"prompt_tokens":0,"generated_tokens":0,"total_tokens":0} was removed for the status

    • info

      removed the retriving enum value from the // response property for the response status

    • warning

      added the new confirmation_request enum value to the // response property for the response status

    • warning

      added the new confirmation_response enum value to the // response property for the response status

    • warning

      added the new source enum value to the // response property for the response status

    • info

      added the new confirmation_request enum value to the request property //

    • info

      added the new confirmation_response enum value to the request property //

    • info

      added the new source enum value to the request property //