---
agentTools:
  projectIndex: https://sx-api.readme.io/llms.txt
---

# Show

Show a queston

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Question",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://sx-backend.simpledecisions.io/api/question"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "access-token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/show": {
      "get": {
        "summary": "Show",
        "description": "Show a queston",
        "operationId": "show-question",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "Question id",
                    "format": "int32"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\t\"id\": 112,\n\t\"survey_id\": 90,\n\t\"label\": \"question label\",\n\t\"status\": \"PENDING\",\n\t\"created_at\": \"2023-05-11T09:14:03.686Z\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 112,
                      "default": 0
                    },
                    "survey_id": {
                      "type": "integer",
                      "example": 90,
                      "default": 0
                    },
                    "label": {
                      "type": "string",
                      "example": "question label"
                    },
                    "status": {
                      "type": "string",
                      "example": "PENDING"
                    },
                    "created_at": {
                      "type": "string",
                      "example": "2023-05-11T09:14:03.686Z"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\"error\":\"\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": ""
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "645a581de8d74a2d3b0528c6:645a5c92cfd8122c13d114fb"
}
```