records

Create or update a suggestion

Changed on
put/records/{record_id}/suggestions

Request

  • Base URL
    https://extralit-public-demo.hf.space/api/v1
  • URL
    https://extralit-public-demo.hf.space/api/v1/records/{record_id}/suggestions
  • Auth
    • API key in header X-Extralit-Api-Key
    • or HTTP bearer

Path parameters

record_idstring uuid required

Request body

question_idstring uuid required
type'model' | 'human' | 'selection'
agentstring nullable

Agent used to generate the suggestion

Response

Suggestion updated

question_idstring uuid required
type'model' | 'human' | 'selection'
valueunknown required
agentstring nullable
idstring uuid required
inserted_atstring date-time required
updated_atstring date-time required

Changes

    • breaking

      removed subschema #6 subschema #7 from the request property anyOf list

    • info

      added subschema #6 subschema #7 to the request property anyOf list

    • info

      added subschema #7 to the request property anyOf list