Issues

Update an issue's state

Changed on

Move an issue through the review workflow. You can only change the state of issues your own API key created.

patch/issues/{id}/state

Request

  • Base URL
    https://restapi.deepdub.ai/api/v1
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Issue ID

Headers

x-api-keystring required

API Key

Request body

state'open' | 'uploaded_for_correction' | 'in_progress' | 'resolved' | 'rejected' required

State to move the issue to.

rejectionReasonstring

Why the issue is being rejected. Required when state is rejected, ignored otherwise.

Example request

{
  "state": "resolved",
  "rejectionReason": "not reproducible"
}

Response

Updated issue

idstring
state'open' | 'uploaded_for_correction' | 'in_progress' | 'resolved' | 'rejected'

Current state of the issue.

rejectionReasonstring

Why the issue was rejected. Present only when state is rejected.

createdAtstring date-time
updatedAtstring date-time
generationIdstring
voicePromptIdstring
type'hallucinations' | 'glossary'

Category of problem being reported.

localestring

Locale of the reported generation, when known.

modelstring

Model reported for the generation. Present only when it was supplied on create or update.

problemSecondsnumber
phoneticHeardstring

Phonetic transcription of how the word actually sounded

phoneticExpectedstring

Phonetic transcription of how the word should sound

Example response

{
  "id": "iss_12345abcde",
  "state": "open",
  "rejectionReason": "duplicate report",
  "locale": "en-US",
  "model": "dd-etts-3.0"
}

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added