Record user feedback

post/v1/session/feedback

Request

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

Request body

session_idstring required

The session ID this feedback should be attached to.

group_idstring

The message group ID this feedback should be attached to.

type'user_feedback' | 'bug_report' required

Type of feedback that can be sent to the system.

scoreinteger required

The score of the feedback.

commentstring required

The comment of the feedback.

Response

Successful Response

okboolean required

True if the operation was successful.

status_code200 | 201 | 202 | 204 | 206 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 422 | 425 | 426 | 428 | 429 | 429 | 431 | 451 | 500 | 500 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 required
status_messagestring

Describe why the operation failed.

dataobject nullable

Optional field for additional information.

mime_type'text/plain' | 'text/markdown' | 'text/serialized-json' | 'application/octet-stream' | 'image/jpeg' | 'image/png' | 'image/tiff' | 'image/gif' | 'image/svg+xml' | 'image/webp' | 'image/avif' | 'audio/wav' | 'audio/mpeg' | 'audio/ogg' | 'video/webm' | 'video/mp4' | 'text/c' | 'text/c++' | 'text/java' | 'text/rust' | 'text/go' | 'text/python' | 'text/php' | 'text/perl' | 'text/ruby' | 'text/swift' | 'text/kotlin' | 'text/scala' | 'text/javascript' | 'text/typescript' | 'text/html' | 'text/css' | 'text/csv' | 'text/xml' | 'text/yaml' | 'text/toml' | 'text/sql' | 'application/json' | 'application/jsonl' | 'application/pdf' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/vnd.openxmlformats-officedocument.presentationml.presentation' | 'application/msword' | 'application/vnd.ms-excel' | 'application/vnd.ms-powerpoint' | 'application/rtf' | 'application/vnd.oasis.opendocument.text' | 'sec-gemini/graph' | 'sec-gemini/timeline' | 'sec-gemini/table' | 'sec-gemini/image' | 'sec-gemini/code' | 'sec-gemini/markdown' | 'sec-gemini/json' | 'sec-gemini/html' | 'sec-gemini/canvas'

Completion type

latencynumber nullable

The time taken to complete the request in seconds.

Changes

    • 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

    • info

      removed the sec-gemini/canvas enum value from the / response property for the response status

    • info

      removed the sec-gemini/code enum value from the / response property for the response status

    • info

      removed the sec-gemini/graph enum value from the / response property for the response status

    • info

      removed the sec-gemini/html enum value from the / response property for the response status

    • info

      removed the sec-gemini/image enum value from the / response property for the response status

    • info

      removed the sec-gemini/json enum value from the / response property for the response status

    • info

      removed the sec-gemini/markdown enum value from the / response property for the response status

    • info

      removed the sec-gemini/table enum value from the / response property for the response status

    • info

      removed the sec-gemini/timeline enum value from the / response property for the response status